Skip to main content
Glama
OpenStreetMap MCP

OpenStreetMap MCP

osm_create_changeset

Opens a new OpenStreetMap changeset for edits, requiring a meaningful comment and returning the changeset ID. Use it before making OSM edits so changes are grouped and attributed.

Instructions

Open a new changeset. All edits must belong to an open changeset; give it a meaningful comment. Returns the changeset id. Edits are public and attributed to the authenticated OSM user. Follow the OSM editing guidelines; use OSM_ENV=dev to practise on the sandbox server.

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": {
      "comment": "<comment>"
    },
    "name": "osm_create_changeset"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceNoWhere the data came from, e.g. 'survey', 'Bing imagery'
commentYesHuman-readable summary of the edit
extra_tagsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations, the description discloses meaningful side effects: edits are public, attributed to the authenticated OSM user, and subject to OSM editing guidelines, plus a sandbox escape hatch. It does not mention changeset lifecycle details (auto-close timing, whether multiple open changesets are allowed) or failure modes, so it is strong but not exhaustive.

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?

Five short sentences, front-loaded with the action and return value, then constraints and environment guidance. Each sentence carries information; the 'meaningful comment' phrase is slightly redundant with the schema but harmless.

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 mutating, open-world tool with no output schema, the description covers purpose, return value, auth/attribution, and public visibility — enough to call it correctly. It lacks lifecycle and error-behavior detail that would make it fully self-sufficient.

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?

The schema already documents comment (with length bounds) and source; the description adds only the qualitative cue 'give it a meaningful comment'. The extra_tags parameter gets no explanation in either place, which is a real gap given 67% coverage and a nested object.

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?

The description opens with a specific verb and resource ('Open a new changeset') and clarifies the return value ('Returns the changeset id'), plus its role in the workflow ('All edits must belong to an open changeset'). That workflow constraint distinguishes it from siblings like osm_close_changeset and osm_create_element without needing to name them.

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?

Usage context is explicit: it must be called before any edits since 'All edits must belong to an open changeset', and OSM_ENV=dev is named for sandbox practice. It stops short of stating exclusions or edge cases (e.g., reusing an existing open changeset), so it falls just below a 5.

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