Skip to main content
Glama

Register an automation

register_automation
Idempotent

Tell Maplith about an automation your human's business runs in its own systems, so the map knows what depends on each object. Give its name, system, and the map objects it reads and writes; list_automations shows what is registered. Registering the same name in the same system again updates it, so call again to report how it runs. It writes a map entry only and never runs the automation. Details: maplith://docs/mcp. Needs: an autonomous key.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "system": "<system>"
    },
    "name": "register_automation"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesWhat the business calls it, at most 200 characters.
teamNoThe team that owns it, if known. A team, not a person.
readsNoObjects of this map it reads, as the map spells them. At most 50.
statusNoactive, paused, never_run or unknown. Default for a new entry: unknown.
systemYesWhere it runs, e.g. the platform or scheduler, at most 100 characters.
writesNoObjects of this map it writes or changes, as the map spells them. At most 50.
modulesNoHow many steps it has, if known.
last_run_atNoISO 8601 timestamp of its last run, if known.
last_statusNoHow its last run ended, if known: succeeded or failed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / status / description
      Previous value: -"Whether it is running. Default for a new entry: unknown."New value: +"active, paused, never_run or unknown. Default for a new entry: unknown."
  2. Changed1 schema field changed
    • changedInput schema / properties / last_status / description
      Previous value: -"How its last run ended, if known."New value: +"How its last run ended, if known: succeeded or failed."
  3. Added

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), the description adds two things the agent could not infer: it 'writes a map entry only and never runs the automation', bounding the side effect, and it requires 'an autonomous key'. The upsert behavior is also restated in prose. It says nothing about failure modes or limits, so it stops short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four tight sentences: purpose first, then the fields to supply, then the alternative tool, then upsert behavior and side-effect/auth notes. Nothing is redundant, though the trailing 'Details:' and 'Needs:' fragments are terse to the point of being cryptic.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Nine parameters, two required, full schema coverage, and annotations that cover mutability and idempotency; no output schema exists to explain. The description covers purpose, the sibling alternative, upsert behavior, side-effect scope, and an auth precondition, leaving only minor gaps such as error behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so every parameter including enums is already documented. The description adds only light framing by naming the essentials (name, system, reads, writes) as the dependency signal; it adds no format or constraint detail beyond the schema. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb and resource: registering an automation the business runs in external systems, so the map can track object dependencies. It explicitly contrasts with list_automations, so an agent can tell the two apart without inspecting schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Tells the agent to call this to record an automation and points to list_automations for viewing what is already registered. Upsert semantics are stated plainly ('registering the same name in the same system again updates it, so call again to report how it runs'), which tells the agent when to repeat calls. No explicit exclusions, but the guidance is clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources