Elemm
HomeDocsFAQ
Star on GitHub
HomeDocsFAQ
Star on GitHub
Docs
Getting StartedWhat is Elemm?Core InstallationMCP Client SetupDocker Deployment
PlatformDashboard & ObservabilityConfiguration Reference
ProtocolThe Discovery ProtocolThe 9 Core ToolsSequence Engine & Data PipingResponse Hygiene
GatewayMulti-Protocol SupportSecurity (Guardian)Vault — AuthenticationProduction & VPS SecurityCLI Reference
DeveloperBuilding Landmark ServersExposing Landmark ServersSmartRepair & Error CodesPydantic & Smart UnboxingDeclarative YAML Configuration

The 9 Core Tools

Complete reference for all tools the gateway exposes to the agent.

Overview

The Elemm Gateway exposes exactly 9 generic tools to the MCP client. All domain-specific actions are routed internally through call_action and execute_sequence.


connect_to_site

Connects the gateway to a remote API. The gateway auto-detects the interface type (GraphQL, OpenAPI, or Native Elemm).

ParameterTypeRequiredDescription
urlstringYesURL of the API (e.g., OpenAPI JSON, GraphQL endpoint, Elemm site)

Auto-Detection Logic:

  • URL contains graphql -> Attempts GraphQL introspection
  • URL ends in .json, .yaml, .yml -> Parses as OpenAPI spec
  • Otherwise -> Probes for native Elemm manifest at /.well-known/elemm-manifest.md

get_manifest

Returns the system instructions, protocol rules, landmark topology, and gateway globals for the active site. This call authorizes the session (completes the handshake).

ParameterTypeRequiredDescription
(none)———

get_landmarks

Returns a high-level summary of available functional areas (landmarks) on the active site. Landmarks restricted by the Security Policy are automatically hidden.

ParameterTypeRequiredDescription
(none)———

inspect_landmark

Returns TypeScript-style technical signatures for all tools within the specified landmark(s). This is the ground truth for parameter schemas.

ParameterTypeRequiredDescription
landmark_idstring or string[]YesOne or more landmark IDs to inspect
_limitintegerNoPagination limit for the number of tools returned
_offsetintegerNoPagination offset to skip tools/landmarks
💡 TIP
Always call inspect_landmark before executing actions. Guessing parameter names or schemas from memory is the #1 cause of agent failures.

search_landmarks

Global Python REGEX search over all landmarks and individual actions. Returns executable actions directly, bypassing the full hierarchy navigation.

ParameterTypeRequiredDescription
querystringYesRegex pattern (e.g., `repos\issues or ^security:.*`)
_limitintegerNoMax number of results (default: 10)
_offsetintegerNoStarting index for pagination

call_action

Executes a single action on the remote site.

ParameterTypeRequiredDescription
actionstringYesThe Action ID (e.g., repos_repos_get)
parametersobjectNoParameters for the action

All actions additionally support the universal hygiene parameters: _select, _filter, _limit, _offset.


execute_sequence

Executes multiple actions in a single turn with data piping between steps.

ParameterTypeRequiredDescription
actionsarrayYesList of step objects
stepsarray—Alias for actions (accepted for LLM flexibility)
session_idstringNoSession ID for memory isolation. Default: "default"

Step Object:

FieldTypeRequiredDescription
actionstringYesThe Action ID
aliasstringNoCustom alias for this step's result. Default: stepN
parametersobjectNoParameters. Supports $alias.path piping syntax
on_error"stop" / "continue"NoError handling strategy. Default: "stop"
retryintegerNoNumber of retry attempts. Default: 0
retryOnstring[]NoError codes that trigger a retry

list_aliases

Returns all stored aliases (results from previous sequence steps) for a given session.

ParameterTypeRequiredDescription
session_idstringNoThe session to inspect. Default: "default"

clear_session

Clears all stored aliases and pipeline state for a session. Use for privacy and memory hygiene.

ParameterTypeRequiredDescription
session_idstringNoThe session to clear. Default: "default"
Elemm Logo

The Landmark Manifest. Exposing system interfaces natively to AI agents.

Framework

HomeAboutDocumentation

Community

GitHubDiscordPyPI Package

Legal

License: GPLv3© 2026 Marc Stöcker
elemm.dev — Infrastructure for the Agentic Web.