Skip to main content
Glama

Static map

static_map

Make a map image for a screen (a map view, a location card): real map tiles around a point, with optional pins, stored as an image of fileId's workspace (pass the file it is for), else of workspace, else of the default workspace. Returns its /api/assets/… URL for (object-cover). Style light gives the muted look of most app maps (Apple Maps, etc.). Rendered at 2× for retina frames.

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": {
      "lat": "<lat>",
      "lon": "<lon>",
      "width": "<width>",
      "height": "<height>"
    },
    "name": "static_map"
  }
}

Input Schema

NameRequiredDescriptionDefault
latYes
lonYes
zoomNo15 ≈ a district, 17 ≈ streets.
styleNolight
widthYesCSS px, as in the frame.
fileIdNoThe file the assets are for: its workspace's (a file shows the fonts and images of its own workspace).
heightYes
markersNo
workspaceNoThe workspace whose assets to use: its id or name (whoami lists them). Default: fileId's workspace, else the default workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations cover safety (readOnlyHint=false, destructiveHint=false, openWorldHint=true), and the description adds real behavior: the output is stored as an image asset in a resolved workspace, precedent is fileId's workspace then workspace then default, a /api/assets/… URL is returned for <img src>, and rendering is 2× for retina. It does not state failure modes or whether repeated calls overwrite or create new assets.

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?

Front-loaded with the verb and output type, and every sentence adds something (workspace precedence, return URL, style appearance, retina scaling). The middle clause is run-on and parenthetical-heavy, which slightly costs readability, but there is no filler.

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?

For a 9-parameter tool with no output schema, the description covers what the tool produces (a stored image plus an /api/assets URL) and the key resolution rules for workspace/fileId. Remaining gaps are modest: marker limits, default zoom, and what happens if asset storage fails are not mentioned.

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?

With only 44% schema coverage across 9 params, the description contributes meaningfully: it explains the fileId/workspace resolution precedence, that markers are 'pins', that style=light gives the muted Apple-Maps-like look, and that rendering is 2× (context for the CSS-px width/height). Zoom semantics are left to the schema's inline note.

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?

Names a specific verb+resource ('Make a map image') and scopes it precisely: 'real map tiles around a point, with optional pins' for use in 'a map view, a location card'. An agent can distinguish it from siblings like get_screenshot or list_assets without opening the schema, though it never explicitly contrasts with them.

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 context is implied by the parenthetical call sites ('a map view, a location card'), which tells the agent this is for embedding a rendered map in screen content. There is no explicit when-not guidance or named alternative (e.g., when a live/exported screenshot is preferable), so the agent must infer boundaries.

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.