Skip to main content
Glama
OSM Edit MCP Server

OSM Edit MCP Server

by skywinder

suggest_bus_route_stops

Read-onlyIdempotent

Find existing bus stop nodes along a directed route trace using points, GPX, or matched ways, returning local names and OSM IDs for review.

Instructions

Find existing stop nodes along one directed trace, with local names and OSM IDs. Supply exactly one of ordered lat/lon points, a GPX selection_id, or the full matched_geojson FeatureCollection from suggest_bus_route_ways. Each matched LineString is searched in travel order and retains its part number. along_m sums covered distance, omitting breaks between parts and raw survey gaps over 500 m. Review service, opposite-side platforms, ambiguous positions and explicit exclusions. Only bounding boxes are sent to the map provider. Read-only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "suggest_bus_route_stops"
  }
}

Input Schema

NameRequiredDescriptionDefault
pointsNo
providerNoauto
radius_mNo
driving_sideNoright
selection_idNo
matched_geojsonNo
excluded_node_idsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive and open-world, so the safety profile is covered. The description still adds real value beyond them: only bounding boxes are sent to the external map provider (privacy/egress scope), each LineString is searched in travel order and retains its part number, and along_m sums distance while omitting inter-part breaks and survey gaps over 500 m. These are non-obvious output semantics an agent could not infer from the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence is well front-loaded and the input-mode constraint follows immediately, so the important content is up top. However, the trailing fragment 'Review service, opposite-side platforms, ambiguous positions and explicit exclusions' is telegraphic and grammatically ambiguous — it is unclear whether it describes the tool's behavior, the returned payload, or advice to the agent.

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 formatting need not be described, and the privacy/egress and along_m notes are valuable for a complex geospatial tool. Still, for a tool with 7 optional parameters and 0% schema coverage, leaving radius_m, driving_side and provider behavior unexplained means an agent can call it but cannot confidently tune it.

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% across 7 parameters, so the description must carry the burden. It does explain the three mutually exclusive input sources (points, selection_id, matched_geojson) and obliquely references exclusions and the map provider, but radius_m, driving_side, provider, and excluded_node_ids are never named or explained — their defaults, units and effects (e.g. how driving_side or radius_m change which stops match) remain undocumented.

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?

States a specific verb and resource ('Find existing stop nodes along one directed trace') and names the returned attributes (local names and OSM IDs), which is far more informative than the name alone. It also names suggest_bus_route_ways as the producer of one input, but never explicitly contrasts itself with the sibling find_bus_route_stops, so the differentiation is partial.

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?

'Supply exactly one of ordered lat/lon points, a GPX selection_id, or the full matched_geojson FeatureCollection from suggest_bus_route_ways' is an explicit, actionable invocation rule that prevents a common misuse. 'Review service, opposite-side platforms, ambiguous positions and explicit exclusions' hints at downstream judgment, but there is no stated when-not-to-use case or named alternative tool.

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