Skip to main content
Glama

Put a live map on a page

get_map_embed

The markup to paste into a page to show one situation's live map, the same map the desk frames, with the SITUATION link back to the site.

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": {
      "situation": "<situation>"
    },
    "name": "get_map_embed"
  }
}

Input Schema

NameRequiredDescriptionDefault
situationYesa situation key from list_situations that has a map

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description does useful work: it discloses that the return value is paste-ready markup, that it mirrors the desk's framed map, and that it carries a SITUATION link back to the site. It omits concrete behavior an embedding tool would benefit from — markup format (iframe/HTML snippet), whether it is live-updating, size/frame constraints, and whether the situation must be map-enabled.

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?

One sentence, no filler, with the output type ('the markup to paste into a page') front-loaded. The trailing clause about the SITUATION link is slightly dense but each part carries information; only the nested 'the same map the desk frames' phrasing costs readability.

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

Completeness3/5

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

For a one-parameter read-only tool with no output schema, the description covers the essentials: what goes in and that a markup snippet comes out. It leaves gaps around the snippet's format and any prerequisites (map-enabled situation, live-refresh behavior) that would round out the picture.

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 schema already says the value is a situation key from list_situations that has a map. The description reinforces the single-situation scoping but adds no format or lookup detail beyond the schema, 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?

The description states a concrete resource — embed markup for one situation's live map — rather than a vague action, and the phrase 'the same map the desk frames' tells the agent what the embed will render. It is clear enough to separate from data-returning siblings like get_map_events or get_data, though it never names those siblings explicitly.

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?

Usage is implied by 'the markup to paste into a page' — the agent can infer this is for embedding, not for reading data. There are no explicit when-to-use/when-not statements and no named alternative for fetching the underlying map data instead, so the guidance stays at the implied level.

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