Skip to main content
Glama

snapshot

Captures a PNG image of a saved roadstyle map at its opening view or a specified camera (lat/lon, zoom, pitch, bearing), so agents can verify rendered maps.

Instructions

PNG of a saved roadstyle map, optionally with a camera (centre lon/lat, zoom 0-22).

Street names: main roads from zoom 15-16, side streets from 17; one-way arrows: main roads from 15, side streets from 17.
Without a camera the map's own opening view is captured.

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": {
      "html_path": "<html_path>"
    },
    "name": "snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNo
lonNo
zoomNo
pitchNo
bearingNo
html_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does disclose real behavior: the output is a PNG, zoom is bounded to 0-22, street-name and one-way-arrow rendering kick in at different zoom thresholds for main vs. side roads, and there is a defined default view when no camera is supplied. It omits error conditions, whether html_path must resolve to an existing file, and what happens with partial camera input (e.g. lat without lon).

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?

Very short and front-loaded with the primary output and the optional camera concept. The comma-separated zoom-threshold sentence ("main roads from zoom 15-16, side streets from 17") is tersely phrased and requires a second read, but nothing is redundant.

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?

With no annotations and no output schema, the prose is the only source of behavioral detail, and it leaves half the parameter surface unexplained. For a 6-parameter rendering tool that requires html_path, the description should at least say what html_path points to and what pitch/bearing do.

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 0% across 6 parameters, and the description only explains lat/lon as a centre point and zoom as 0-22. Pitch, bearing, and the required html_path are never mentioned, leaving three parameters completely undocumented in both the schema and the prose.

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?

"PNG of a saved roadstyle map, optionally with a camera" gives a clear output artifact plus resource, and the parenthetical clarifies camera controls. It does not differentiate itself from the siblings render_file or render_place, so an agent cannot tell which one to call for a given source without additional inference.

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?

The line "Without a camera the map's own opening view is captured" is the only conditional guidance, telling the agent that omitting lat/lon/zoom is valid. There is no statement of when to prefer this over render_file or render_place, nor any prerequisite or exclusion.

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