Skip to main content
Glama
OpenStreetMap MCP

OpenStreetMap MCP

osm_get_gpx_data

Read-only

Download GPS trace points as a compact summary or raw GPX, including bounding box and time range; access public traces or your own private traces.

Instructions

Download a GPS trace's points. Default 'summary' returns a compact JSON summary (point count, bbox, time range; optionally some points). Use format 'gpx' for the raw GPX text (truncated if very large). Public traces need no login; private ones only work for their owner.

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": {
      "id": "<id>"
    },
    "name": "osm_get_gpx_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
formatNosummary
max_pointsNo
include_pointsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.2

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, but the description adds substantive traits: gpx output may be truncated when very large, and private traces fail unless the caller is the owner. It also describes what the summary contains (point count, bbox, time range, optional points). The truncation threshold and the max_points interaction are not detailed.

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?

Three tight sentences, front-loaded with the default behavior, then the alternative mode, then the access rule. Every sentence adds information an agent needs; nothing is redundant with the name or annotations.

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?

With no output schema, the description usefully characterizes both return shapes and the truncation caveat, plus the auth model. The one missing piece is how max_points bound the returned points in summary mode. Otherwise complete for a four-parameter read tool.

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 0%, so the description must carry parameter meaning. It explains 'format' (summary vs gpx) and hints at 'include_points' via "optionally some points," but 'max_points' is never mentioned despite having a default of 200 and a cap of 5000, leaving a real gap. 'id' is only implicitly identifiable as the trace identifier.

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 specific verb and resource: "Download a GPS trace's points," which is narrower than the sibling osm_get_gpx_details (metadata) and distinct from trackpoint/element retrieval. The two return modes are spelled out, so an agent knows exactly what it gets. It stops short of naming a sibling alternative explicitly.

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

Usage Guidelines4/5

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

Gives clear selection guidance between the two modes: default 'summary' for a compact overview, 'gpx' when the raw trace text is needed. It also states the access rule (public = no login, private = owner only), which is a real usage precondition. No exclusions or named alternative tools are offered.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.