Skip to main content
Glama
OpenStreetMap MCP

OpenStreetMap MCP

osm_get_gpx_details

Read-only

Retrieve metadata for a single OpenStreetMap GPS trace, including name, tags, visibility, owner, and timestamp; private traces require owner authentication.

Instructions

Metadata of one GPS trace (name, description, tags, visibility, owner, timestamp). 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_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.2

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnlyHint and openWorldHint, so the safety profile is covered. The description adds material context beyond them: the authentication/authorization requirement for private traces and the set of fields exposed. It stops short of describing failure behavior for a non-existent or unauthorized id.

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?

Two short sentences with zero padding; the returned-fields list comes first and the access constraint second. Every clause carries information an agent needs.

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 read-only single-parameter lookup with no output schema, the description covers the resource, the returned fields, and the access constraint. The remaining gap — id format and error behavior — is minor given the tool's simplicity and the annotations already present.

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. 'Metadata of one GPS trace' implies the single required field identifies that trace, but it never states the id's type, format, or maximum, and the schema leaves the property undocumented.

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 names the specific resource (one GPS trace) and enumerates the exact metadata fields it returns (name, description, tags, visibility, owner, timestamp), which differentiates it from data-returning siblings like osm_get_gpx_data. It is a noun phrase rather than a verb+resource statement, but the retrieval intent is unmistakable.

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?

It supplies a real usage precondition — 'Public traces need no login; private ones only work for their owner' — which tells the agent when the call can succeed. However, it never routes the agent between this tool and alternatives such as osm_get_gpx_data or osm_list_my_gpx_files, so selection guidance is only implied.

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