Skip to main content
Glama
OpenStreetMap MCP

OpenStreetMap MCP

osm_delete_gpx

Destructive

Permanently delete an OpenStreetMap GPS trace by ID when you need to remove an unwanted upload from your account and public trace data.

Instructions

Permanently delete one of your GPS traces. 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_delete_gpx"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

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 destructiveHint=true and readOnlyHint=false, so the description's job is to add context — and it does, emphasizing permanence/irreversibility and naming the required read_gpx/write_gpx scope plus where to configure it. It does not describe what happens to the trace's metadata or whether any confirmation/undo path exists, but for a delete tool this is a solid addition over the annotations.

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 no waste: the destructive action and its permanence come first, the auth prerequisite second. Nothing extraneous.

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 one-parameter destructive tool with no output schema, the description covers the action, its irreversibility, and the auth requirement. Only the meaning of the 'id' argument is left unstated, which is a small but real gap given zero schema coverage.

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% and the single 'id' parameter is never mentioned in the description. The meaning is strongly inferable from the tool name (the GPS trace id), so the gap is minor, but the description does not compensate for the missing schema documentation.

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 and resource ('Permanently delete one of your GPS traces') with ownership scope, which cleanly separates it from sibling deletions like osm_delete_element or osm_delete_preference that target other object types.

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 word 'permanently' signals the operation is irreversible, and the OAuth scope prerequisite is stated explicitly. However, there is no explicit when-to-use/when-not guidance or pointer to alternative tools such as osm_update_gpx or osm_delete_element, so usage must be inferred from the name.

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