Skip to main content
Glama
OpenStreetMap MCP

OpenStreetMap MCP

osm_comment_changeset

Posts a comment on a closed OpenStreetMap changeset discussion, including other users' changesets, with write_changeset_comments scope.

Instructions

Post a comment on a changeset's discussion (any changeset, not only yours). OSM only accepts comments on CLOSED changesets, and this needs the write_changeset_comments scope.

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>",
      "text": "<text>"
    },
    "name": "osm_comment_changeset"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
textYes

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?

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true). The description adds behavior the annotations cannot: the operation fails on open changesets and requires a specific OAuth scope, both of which affect whether a call will succeed. It does not say whether the comment is immediately public or whether it can be edited/deleted afterward, which keeps it below a 5.

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 sentences, zero filler, with the primary action stated first and the constraints layered behind it. Every clause carries operational weight (scope, precondition, auth requirement).

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 two-parameter mutation with no output schema, the description covers effect, eligibility constraint, and auth requirement — enough to call it correctly or predict failure. The remaining gap is parameter-level detail (identifier type, comment length limit), which the empty schema does not supply either.

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 largely does not. It never states that "id" is a numeric changeset identifier nor mentions the 2000-character cap on "text"; the changeset meaning of id is only obliquely implied by the phrase "a changeset's discussion."

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 ("Post a comment on a changeset's discussion") and immediately scopes it with "any changeset, not only yours," so the agent knows ownership is irrelevant. That verb+resource+scope combination is distinguishable from sibling tools like osm_comment_note or osm_close_changeset without opening any schema.

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 a hard precondition — "OSM only accepts comments on CLOSED changesets" — which is exactly the kind of when-it-will-work guidance an agent needs before invoking. It also names the required auth scope, write_changeset_comments. It stops short of naming an alternative (e.g., using osm_get_changeset to confirm status first), so it is clear context rather than explicit routing.

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