Skip to main content
Glama
OSM Edit MCP Server

OSM Edit MCP Server

by skywinder

preview_bus_way_split

Splits a parentless road at mapped interior nodes of a surveyed bus route and previews the resulting way pieces before applying the edit.

Instructions

Review splitting a parentless road at mapped interior nodes of a surveyed bus route.

Uses the existing points, orientation and road tags. The first piece retains the way ID. Review the pieces and apply the independent proposal with apply_osm_edit, then use the returned positive way IDs to preview the route.

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": {
      "way_id": "<way_id>",
      "split_node_ids": "<split_node_ids>",
      "source": "<source>"
    },
    "name": "preview_bus_way_split"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYes
way_idYes
split_node_idsYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=true, so the agent knows this is a non-destructive but state-writing operation. The description adds genuinely useful behavior — that existing points, orientation and road tags are reused and that the first piece retains the way ID — plus the fact that the result feeds apply_osm_edit. It does not clarify what the 'preview' actually writes server-side (a stored proposal?) or whether authentication is needed, which is the main ambiguity given readOnlyHint=false on a tool named 'preview'.

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?

Three short sentences, front-loaded with the action and scope, then the mechanics, then the follow-up chain. No filler. Slightly fragmented by the line breaks, but every sentence carries information.

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?

An output schema exists, so return values need little prose, and the description wisely flags that positive way IDs come back to be consumed by preview_bus_route. However, for a 3-required-parameter tool with zero schema description coverage, leaving 'source' undefined and omitting the proposal-vs-live-edit distinction leaves real gaps.

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 params, and it only partially does. 'Split_node_ids' is obliquely covered by 'mapped interior nodes' and 'way_id' by 'parentless road', but the required 'source' string parameter is never explained, and constraints such as the 1-40 node limit, uniqueness, or ordering are absent.

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+resource: reviewing the split of a parentless way at mapped interior nodes of a surveyed bus route. The 'parentless' and 'interior nodes' qualifiers make it distinguishable from sibling editors like preview_track_road_edit or apply_osm_edit. It stops short of an explicit contrast sentence against any specific sibling, keeping it at 4.

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?

It lays out a concrete downstream workflow: review the pieces, apply the proposal with apply_osm_edit, then use the returned positive way IDs to preview the route. The 'parentless road' phrasing also implies a precondition. What is missing is an explicit statement of when this tool is the wrong choice (e.g., a way that already belongs to a relation).

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