Skip to main content
Glama
OpenStreetMap MCP

OpenStreetMap MCP

osm_get_changeset_diff

Read-only

Retrieve the osmChange XML showing every feature a changeset created, modified, or deleted, so you can inspect or audit the exact edits.

Instructions

Get the osmChange (XML) describing everything a changeset created, modified, or deleted.

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

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds the meaningful behavioral fact that the payload is osmChange XML and enumerates all three edit types; it does not mention that large changesets can produce very large documents or any auth/permission requirements.

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?

A single front-loaded sentence with no filler; format (XML) and content scope are stated immediately.

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 does the essential work by naming the return format and its semantics (osmChange). For a one-parameter read tool that is nearly enough; only volume/error behavior is unaddressed.

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 coverage is 0% and the single parameter 'id' is never named or typed in the description; only the phrase 'a changeset' implies which entity the id refers to. Given the low coverage, more compensation (e.g., that it is the changeset numeric id and must be positive) would be expected.

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 ('Get') and a specific resource ('the osmChange (XML)'), plus what that resource covers (created, modified, deleted elements). It is clearly distinguishable from osm_get_changeset (metadata) by naming the diff payload, though it never names a sibling explicitly.

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?

Usage is only implied: an agent can infer this is for inspecting a changeset's actual edits, but there is no explicit when-to-use, no when-not, and no pointer to osm_get_changeset vs osm_upload_diff as alternatives.

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