Skip to main content
Glama

Prepare an action

operatorlane_prepare_action

Prepare an exact action without executing it. Reuse the returned operationId as _meta.steerlatchOperationId for safe retries within one hour; sensitive actions still require a web approval token.

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": {
      "toolName": "<toolName>",
      "args": "<args>"
    },
    "name": "operatorlane_prepare_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsYes
deviceIdNo
toolNameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations only say it is not read-only, not destructive, not idempotent, and closed-world. The description adds valuable traits beyond that: nothing is executed, an operationId is returned, that id is valid for retries for one hour, and sensitive actions are gated by a web approval token. No contradiction with idempotentHint=false, since the operationId is precisely what makes retries safe.

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

Conciseness5/5

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

Two tight sentences, front-loaded with the core non-execution guarantee, then the retry and approval mechanics. No filler or repetition.

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

Completeness3/5

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

The return-side contract (operationId as _meta.steerlatchOperationId) is covered despite no output schema, which is the strongest part. But for a tool whose entire input is an untyped toolName plus nested args, the description leaves the input contract unexplained – an agent cannot confidently construct a valid call from the description alone.

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

Parameters2/5

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

Schema description coverage is 0% with three parameters, including a nested free-form args object, and the description does not explain any of them. It never says toolName identifies which action to prepare, what args must contain, or what deviceId targets – so an agent must guess at the most consequential field.

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

Purpose4/5

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

States a specific verb and effect: 'Prepare an exact action without executing it' – the non-execution clause sharply distinguishes it from a run/execute tool and from the device-management siblings. However, 'action' stays abstract; the description never says that actions correspond to the toolName/args pair, so scope is narrower in explanation than it could be.

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

Usage Guidelines3/5

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

Gives real usage context: reuse the returned operationId for safe retries within one hour, and sensitive actions require a web approval token. It never states when not to use this tool or names the companion tool that executes the prepared action, so the full prepare-then-execute workflow must be inferred.

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