Skip to main content
Glama
OSM Edit MCP Server

OSM Edit MCP Server

by skywinder

apply_osm_edit

DestructiveIdempotent

Publishes an exact reviewed OpenStreetMap proposal after a digest-bound final approval, ensuring edits upload only when the user explicitly confirms.

Instructions

Apply a reviewed proposal with one final digest-bound confirmation.

When the user explicitly asks to publish or apply the exact reviewed proposal, call this tool immediately instead of asking another conversational confirmation. The tool itself asks the MCP host for the single final approval before any OSM upload.

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": {
      "proposal_id": "<proposal_id>",
      "proposal_digest": "<proposal_digest>"
    },
    "name": "apply_osm_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
proposal_idYes
changeset_idNo
proposal_digestYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and idempotentHint=true, so the risk profile is structured data. The description adds genuinely non-obvious behavior beyond that: the tool itself requests one final approval from the MCP host before any OSM upload, and the confirmation is bound to a digest, which explains why the operation is idempotent. It stops short of describing failure modes (digest mismatch, missing permissions) or what the returned payload reports.

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 split into purpose and usage guidance, with the key imperative ("call this tool immediately") front-loaded in the second paragraph. No filler, no restatement of the tool name.

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?

The output schema and annotations carry the return-shape and safety burden, so the description only needs to cover trigger semantics and the approval handshake, both of which are present. The remaining gap is modest: it never states what an apply failure looks like or that a proposal must already have been previewed/validated before this call.

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%, so the description must compensate. "Digest-bound confirmation" does convey that proposal_digest must match the exact reviewed proposal, which is real added meaning for the most important parameter. However, proposal_id is assumed obvious with no explanation and changeset_id is never mentioned at all, leaving a third of the parameters undocumented in both schema and prose.

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 states a specific verb and resource ("Apply a reviewed proposal") and adds a distinctive mechanic ("digest-bound confirmation"). It is clearly distinguishable from verification/preview siblings by the word "apply" and the mention of an "OSM upload", though no sibling tool is named explicitly for contrast.

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 an explicit trigger condition ("When the user explicitly asks to publish or apply the exact reviewed proposal") and explicitly rules out an alternative behavior ("instead of asking another conversational confirmation"). It does not name a sibling such as verify_osm_edit as the prerequisite step, so the surrounding workflow is only implied.

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