Skip to main content
Glama

get_export

Retrieves the image from an in-progress export after export_map times out, waiting for Dungeondraft to finish instead of retrying prematurely.

Instructions

Wait for an export that export_map started, and return its image.

Use it when export_map ran out of time: the render carries on in
Dungeondraft, and exporting again would only be refused until it finishes.
Raises if the export failed, with the reason.

max_px: as in export_map — shrinks only the copy returned to you.

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": {
      "operation_id": "<operation_id>"
    },
    "name": "get_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_pxNo
timeoutNo
operation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that this call blocks/waits, that failure raises an error with the reason, that Dungeondraft keeps rendering so the operation is not cancellable, and that re-export is refused mid-render. The notable omission is behavior of the timeout parameter — whether it raises or returns partial results when exceeded — and there is no mention of permissions or concurrency.

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 core fact — wait rather than re-export — is front-loaded in the first sentence, and each following sentence adds a distinct piece (trigger, failure mode, parameter note). The trailing standalone parameter line is slightly orphaned and the "as in export_map" shorthand forces the reader to hold context from another tool, but there is no filler.

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

Completeness2/5

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

For a blocking wait tool with no annotations, no output schema, and 0% schema coverage on three parameters, the description leaves too many agent-critical questions open: what timeout does on expiry, what operation_id must be, and what the returned image actually is. The failure path is covered well, but the timeout path — the main risk of a waiting call — is undocumented.

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 coverage is 0%, so the description must explain all three parameters and does not. It explains max_px only by cross-reference ("as in export_map") plus one useful fact (shrinks only the returned copy), leaves operation_id merely implied as "an export that export_map started", and says nothing at all about timeout (default 120), which is the most consequential parameter for a waiting call.

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?

"Wait for an export that export_map started, and return its image" gives a specific verb (wait), a specific resource (an export), and the return value, and it ties the tool to the sibling export_map so the start/wait split is obvious. It stops short of 5 only because it never states what the returned image is (file path, bytes, or object) or how it relates to get_operation.

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?

Explicit trigger: "Use it when export_map ran out of time," plus an explicit reason not to re-run the alternative ("exporting again would only be refused until it finishes"). That is real routing guidance. It lacks an explicit when-not-to-use case (e.g. after a successful export_map, or when the operation failed and should not be polled).

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