Skip to main content
Glama

get_operation

Retrieves the status of a map export by operation ID, or returns the current and recent settled exports, including state, progress, output path, and errors.

Instructions

Status of an export: state is rendering, completed or failed.

Also reports `chunks_rendered`, `elapsed_ms`, the output `path`, the
`pixels` it renders to and, on failure, `error`. Without an id, returns the
`current` export (or null) and the `recent` settled ones. The bridge keeps
the last 16 and forgets them when a map is opened or Dungeondraft restarts.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_operation"
  }
}

Input Schema

NameRequiredDescriptionDefault
operation_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It does unusually well here by disclosing retention limits ('last 16') and the exact eviction triggers (opening a map, restarting Dungeondraft), which an agent could not infer from the schema. It does not explicitly state that the call is read-only or side-effect-free, and it leaves polling behavior undefined.

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?

The description front-loads the core purpose in the first sentence, then adds return fields and retention in descending order of importance, with no filler. The field enumeration is dense but every item listed is a real return value; phrasing like 'the `pixels` it renders to' is slightly awkward but not wasteful.

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, so the description must document return values itself, and it covers state values, progress fields, output path, and failure error. Combined with the retention caveat, an agent has enough information to call the tool and interpret results, though it lacks guidance on how often to re-poll while state is 'rendering'.

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

Parameters4/5

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

Schema description coverage is 0% for the single parameter, so the description has to compensate, and it does: it defines the meaning of an absent id (return current plus recent) rather than leaving the empty-string default opaque. It never states what format an id takes or where a caller obtains one, which keeps it short of a 5.

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?

The description names a specific verb and resource: it returns the status of an export, and it makes clear that 'operation' in the tool name means an export job. That clarifies the tool's role relative to the sibling get_export (which presumably starts an export) without needing to name it.

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?

It explains the branch between passing an id and omitting one ('Without an id, returns the `current` export (or null) and the `recent` settled ones'), which implies how to call the tool. However, it gives no explicit guidance on when to poll this instead of get_export, and it says nothing about polling cadence or when the caller should give up waiting.

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

Deploy Server

Other Tools