Skip to main content
Glama
OpenStreetMap MCP

OpenStreetMap MCP

osm_element_history

Read-only

List all historical versions of an OpenStreetMap node, way, or relation, oldest first, so you can identify who changed what.

Instructions

List all versions of an element, oldest first. Useful to see who changed what.

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": {
      "type": "<type>",
      "id": "<id>"
    },
    "name": "osm_element_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/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 chronological ordering, which is genuine behavioral value, but says nothing about whether versions include tags/geometry, whether the list is paginated or truncated, or auth requirements for this remote OSM call.

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?

Two short sentences with the core action and ordering front-loaded; nothing is redundant or bloated. The trailing purpose clause is mildly soft but still earns its place as a usage cue.

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

Completeness3/5

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

For a two-parameter read-only lookup with no output schema, the definition is minimally adequate: it says what is listed and in what order. It omits what a version record contains and any limits, which an agent would need to interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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 parameter burden, and it largely does not. Saying 'of an element' only loosely links type+id as a composite identifier; it never mentions the node/way/relation enum or the positive-integer id constraint, leaving both parameters to bare schema names.

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 gives a specific verb and resource: 'List all versions of an element', plus the ordering guarantee 'oldest first'. It does not distinguish itself from close siblings such as osm_get_element or osm_get_element_full, so an agent must infer that this one is the history variant.

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?

'Useful to see who changed what' implies the use case (auditing/attribution) but gives no explicit when-to-use versus when-not, and no alternative is named. The agent gets a hint of intent but no routing rule against the other element-reading tools.

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