Skip to main content
Glama

Inspect a publishing operation

get_operation
Read-onlyIdempotent

Recover the durable result of an earlier action by requestId after a disconnect or timeout, so you can confirm the outcome before deciding whether to retry.

Instructions

Recover the durable result of an earlier action by requestId. Use after a disconnect or timeout before considering any retry.

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

Input Schema

NameRequiredDescriptionDefault
requestIdYesStable unique ID for this user-authorized action. Reuse it on retries; never change it to bypass an uncertain result.

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNo
successYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description still adds real value beyond that: it characterizes the return as a *durable* result of a prior action and frames the tool as the correct step between a disconnect and a retry. It does not say what happens when the requestId is unknown or the action is still in flight, which is a meaningful omission for a recovery tool.

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 sentences, both load-bearing, with the recovery purpose front-loaded and the usage condition immediately after. Nothing is repeated from the schema or annotations and there is no filler.

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?

An output schema exists, so return shape need not be explained, and the single parameter is fully documented in the schema. The description is nearly complete for an idempotency-lookup tool, but leaves the unknown-requestId and pending-operation outcomes unaddressed.

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% and the requestId parameter already carries a pattern plus reuse/never-change guidance. The description only restates that the lookup is "by requestId," adding no format or lifecycle detail the schema lacks, so the baseline 3 applies.

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?

"Recover the durable result of an earlier action by requestId" names a specific verb (recover), a specific resource (a previously executed action's durable result), and the lookup key. It is clearly not a list/get-by-name tool like the get_draft/get_template siblings, though it never names a sibling to sharpen the boundary.

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?

It gives an explicit trigger condition: use after a disconnect or timeout, and before considering any retry. That is actionable when-to-use guidance tied to a concrete failure scenario. It does not state when *not* to use it (e.g., for a fresh requestId, or once a terminal result is already known), so it stops short of full routing guidance.

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