Skip to main content
Glama
OpenStreetMap MCP

OpenStreetMap MCP

osm_update_gpx

Edit an owned GPS trace's description, tags, or visibility while preserving omitted fields; choose trackable or identifiable visibility to control how published points may reveal personal locations.

Instructions

Change a GPS trace's description, tags, or visibility (owner only). Omitted fields keep their current values. OSM cannot change a trace back to the legacy 'private' or 'public' values. Every visibility OSM accepts publishes the track points, and GPS traces can reveal where someone lives, works and travels: ask the user which one they want ('trackable' shares the points anonymously (ordered, with timestamps); 'identifiable' also lists the trace publicly under the user's name.) and never pick for them. Needs the read_gpx / write_gpx OAuth scope (add it to OSM_SCOPES and the OSM app registration).

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_update_gpx"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
tagsNo
visibilityNo
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.2

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true; the description adds real value beyond them: PATCH-like partial-update semantics, the irreversibility of legacy 'private'/'public', the fact that every accepted visibility publishes track points, and the required OAuth scope plus where to configure it (OSM_SCOPES and app registration). It does not describe the response or error behavior, but the privacy and auth disclosures are substantive.

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-loads purpose and mutation semantics, then the privacy and auth caveats. Information density is high, though the long nested-parenthesis sentence around visibility choices is awkward and the 'never pick for them' clause is buried inside it.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no output schema and 0% schema description coverage, the description supplies the critical context an agent needs: ownership restriction, partial-update semantics, visibility trade-offs with an explicit ask-the-user policy, irreversibility note, and the required OAuth scope. Only the `id` and tags-format details are left unstated.

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 the load. It explains the two visibility enum values in detail (trackable = ordered points with timestamps shared anonymously; identifiable = also listed publicly under the user's name) and clarifies omitted-field behavior, but leaves the required `id` parameter and the tags array format/limits (max 20 items, 50 chars each) unexplained.

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 (change) and resource (a GPS trace) plus the exact mutable fields (description, tags, visibility) and an ownership constraint. The resource type alone (GPS trace vs changeset vs element) distinguishes it from the update siblings.

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 explicit operating rules: owner only, omitted fields keep current values (partial update), and a mandatory instruction to ask the user which visibility to use and never choose for them. It stops short of naming an alternative sibling tool for read or delete, but the when-to-use conditions are clear.

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