Skip to main content
Glama
OpenStreetMap MCP

OpenStreetMap MCP

osm_get_trackpoints

Read-only

Fetch public GPS track points inside a bounding box as trace summaries, with optional coordinates and pagination.

Instructions

Public GPS track points inside a bounding box (max 0.25 degrees wide and high), 5,000 points per page, summarized per trace (name, description, point count, bbox, time range). Set include_points to also get coordinates (capped by max_points). Points of non-trackable traces are shuffled by the API. Page through with page=0,1,2… while has_more is true. Data © OpenStreetMap contributors.

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": {
      "min_lon": "<min_lon>",
      "min_lat": "<min_lat>",
      "max_lon": "<max_lon>",
      "max_lat": "<max_lat>"
    },
    "name": "osm_get_trackpoints"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
max_latYes
max_lonYes
min_latYes
min_lonYes
max_pointsNo
include_pointsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.2

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds hard operational limits (0.25-degree bbox, 5,000 points per page, max_points cap), a key data quirk (non-trackable traces have shuffled points), and the pagination contract. This is exactly the kind of context annotations cannot carry.

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 resource and bbox limit, then progressively adds return shape, optional coordinates, data quirk, and pagination — every sentence carries information. It is dense to the point of reading as one run-on block, which slightly hurts scanability.

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 appropriately summarizes the return shape (per-trace name, description, point count, bbox, time range) and the pagination contract via has_more. It never states what happens on an oversized bbox (error vs. clamp) or the coordinate order of returned points, leaving modest gaps for a 7-parameter geo 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 compensate: it clarifies include_points, max_points, and page semantics, plus the 0.25-degree constraint that applies to the four bbox coordinates. It does not explain the lon/lat ordering, ranges, or what happens if the bbox is too large, leaving four required parameters only implicitly documented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('Public GPS track points') and scopes it precisely to a bounding box with a size limit. The per-trace summarization and optional coordinate expansion make it clearly distinct from siblings like osm_get_gpx_data (single-file retrieval) or osm_get_bbox.

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 explains how to page (page=0,1,2… while has_more) and how to opt into coordinates via include_points, which is actionable invocation guidance. However, it never states when to choose this over osm_get_gpx_data or osm_get_bbox, nor any exclusions, so the routing guidance remains implied.

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