Skip to main content
Glama

Prepare a map image export

map_image_export_prepare
Idempotent

Create or reuse an asynchronous PNG image export of a project map or published map.

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": {
      "resourceType": "<resourceType>",
      "resourceId": "<resourceId>"
    },
    "name": "map_image_export_prepare"
  }
}

Input Schema

NameRequiredDescriptionDefault
optionsNo
resourceIdYes
resourceTypeYes
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.",
      +  "type": "string"
      +}
  2. Added

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false; the description reinforces idempotency via 'reuse' and adds the important behavioral fact that the export is asynchronous. It does not say what the call returns (a job handle?), how long exports take, or how to retrieve the result, which matters for a job-starting tool with no output schema.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though its brevity comes at the cost of detail the agent needs.

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 tool with a deep nested options schema at 25% description coverage, no output schema, and asynchronous job semantics, one sentence leaves out the return shape, polling path, and nearly all parameter meaning. An agent could call it, but only by reading the raw schema closely.

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 only 25% across 4 parameters, including a large nested 'options' object (view, scale, theme, width/height, legend, compass, hiddenLayerIds). The description explains none of these — not even whether options are required or what defaults apply — so it 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?

States a concrete verb+resource: 'Create or reuse an asynchronous PNG image export of a project map or published map.' It names both supported resource kinds, which is more than the name alone conveys. It does not explicitly differentiate itself from the clearly related sibling map_image_export_status, so it falls short of a 5.

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?

'Create or reuse' plus 'asynchronous' imply this kicks off (or returns an existing) job rather than fetching the image, which hints at the status sibling as the follow-up. However, no explicit when-to-use versus map_image_export_status or map_view is given, and no prerequisites are stated.

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