Skip to main content
Glama

Show the map

show_map
Read-only

Show a finished map in the chat as a card: the map itself, its title, an "Open and edit" button and a "Download PNG" button. Call it once, after the last add_items or update_map, with the mapId and the editToken. It changes nothing on the map. In a client without cards it returns the same links as text.

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": {
      "mapId": "<mapId>"
    },
    "name": "show_map"
  }
}

Input Schema

NameRequiredDescriptionDefault
mapIdYesThe map id from create_map.
tokenNoThe editToken from create_map, so the card can open the map for editing. Without it the card links to the read-only view.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description reinforces this with 'It changes nothing on the map.' It also adds behavior not in the annotations: the card layout, and the graceful degradation to plain text links in clients without card support. Missing only the exact shape of the returned links, which is minor for a display-only 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?

Four short sentences, front-loaded with the primary effect and followed by the call-timing rule and the fallback behavior. Every sentence carries information the agent needs, with no filler.

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

Completeness5/5

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

For a two-parameter display tool with no output schema, the description covers what is rendered, when to invoke, that it has no side effects, and what happens on clients without card support. Nothing material is missing for correct invocation.

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 description coverage is 100%, so both parameters are already documented, including that the token is the editToken from create_map and that omitting it yields a read-only view. The description's phrase 'with the mapId and the editToken' largely restates the schema, so it adds no syntax or format detail beyond the structured fields.

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 opens with a specific verb and resource ('Show a finished map in the chat as a card') and enumerates exactly what the card contains: the map, its title, an 'Open and edit' button and a 'Download PNG' button. The sequencing note referring to add_items and update_map distinguishes it from the sibling tools that mutate the map.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states explicitly when to call it ('once, after the last add_items or update_map'), which also serves as an implicit instruction not to call it mid-edit. The named sibling tools supply the alternative context an agent needs to place this call correctly in a workflow.

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