Skip to main content
Glama

Operation status

get_operation
Read-onlyIdempotent

Retrieve the actual durable operation or approval outcome. Never claim completion while queued, awaiting approval or running.

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": {
      "operationId": "<operationId>"
    },
    "name": "get_operation"
  }
}

Input Schema

NameRequiredDescriptionDefault
dashboardIdNoWhich live dashboard (browser tab) runs it; from get_dashboard_state. Optional when one tab stands out: the tab the user last approved an action in, the only live tab, or the only tab on screen. Refused before any approval when the target is ambiguous or disconnected.
operationIdYes
idempotencyKeyNo
expectedRevisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds genuine beyond-annotation context by naming the lifecycle states (queued, awaiting approval, running) and warning against premature completion claims. It stops short of describing terminal states, failure/refusal outcomes, or how ambiguity is reported, which matters for an operation-status tool.

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?

Two sentences, purpose first and constraint second, with no filler or restated title. It is tightly written, though the extreme brevity leaves the second sentence doing work that a short clause about return states could have made more actionable.

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?

There is no output schema and no return-value documentation, so for a status-inspection tool the description should say what a returned outcome looks like (terminal statuses, approval results, error/refusal cases). Combined with three undocumented parameters — including expectedRevision, which implies concurrency semantics — the definition is thinner than the tool's four-parameter surface warrants.

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 25%: only dashboardId carries documentation (and a rich one, explaining the ambiguity refusal rule). operationId, idempotencyKey, and expectedRevision have no schema descriptions and the tool description adds nothing about them — not what an idempotency key does on a read, nor what expectedRevision guards. With 4 parameters and a majority undocumented, the description fails to compensate for the coverage gap.

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?

Uses a specific verb ("Retrieve") with a named resource ("the actual durable operation or approval outcome"), so an agent knows it fetches the state of an in-flight operation rather than data. It does not name or contrast with any sibling (e.g. get_changes, get_dashboard_state), so differentiation relies on inference, and "durable operation" is never defined in tool terms.

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?

The second sentence implies the intended usage pattern: call this to confirm state and do not report success while the operation is queued, awaiting approval, or running. That is a real timing hint, but there is no explicit when-to-use versus alternatives, no guidance on polling cadence or when to stop, and no statement of preconditions besides the list of states.

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.