Skip to main content
Glama

Osrm Match

osrm_match
Read-onlyIdempotent

Map-match a noisy GPS trace (semicolon-separated lon,lat pairs) to the road network via OSRM, optionally specifying per-point search radiuses in meters; returns matched route geometry and confidence.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "coordinates": "-122.42,37.77;-122.39,37.78;-122.41,37.80"
    },
    "name": "osrm_match"
  }
}

Input Schema

NameRequiredDescriptionDefault
profileNo
radiusesNoPer-point search radius in meters, semicolon-separated
coordinatesYes

Output Schema

NameRequiredDescriptionDefault
codeNoStatus code (Ok or error)
matchingsNoArray of matched route segments
tracepointsNoArray of matched trace points

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / matchings / items / properties / geometry / type
      Previous value: -"object"New value: +[
      +  "object",
      +  "string"
      +]
  2. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds that per-point radiuses are optional and that the result includes matched geometry and confidence, but says nothing about failure behavior when a point cannot be matched or about rate limits.

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?

One dense sentence with the core action front-loaded and the optional parameter qualifier trailing. No filler, though it crams three separate facts into a single clause chain and would read better split in two.

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 no further explanation, and the coordinate format is fully specified. However, for a 3-parameter tool the unexplained 'profile' parameter and the absence of any note on unmatched points leave real gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33%, and the description compensates meaningfully: it defines the format of 'coordinates' as semicolon-separated lon,lat pairs (with the schema example confirming order) and explains that radiuses are per-point values in meters. The main gap is 'profile', whose allowed values (e.g. car/bike/foot) are never stated and have no enum in the schema.

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 ('map-match') and resource ('noisy GPS trace ... to the road network via OSRM'), which is clearly distinct from a plain routing call like osrm_route. It never explicitly contrasts itself with the sibling routing tool, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'noisy GPS trace' implies the usage context (raw device points needing snapping), but there is no explicit when-to-use/when-not guidance and no named alternative for cases where simple routing is appropriate. Usage must be inferred from the adjective 'noisy'.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.