Skip to main content
Glama

geoapify

Routing

geoapify_routing
Read-only

Compute a route between waypoints for a travel mode, returning distance, time and legs. Geoapify REST: GET /v1/routing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNoResult language as an ISO 639-1 code, e.g. 'en', 'de', 'fr'.
modeYesTravel mode: drive, walk, bicycle, truck, hike, transit, etc. (required).
unitsNoDistance units — 'metric' or 'imperial'.
formatNoResponse format — 'json' (default) or 'geojson'.
detailsNoComma-separated route detail sets, e.g. 'instruction_details,route_details'.
waypointsYesPipe-separated 'lat,lon' waypoints, e.g. '52.5,13.4|52.6,13.5' (required).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations declare readOnlyHint=true, so the safety profile is already covered. The description adds useful context by naming the returned fields (distance, time, legs) and the REST endpoint, but says nothing about API-key requirements, rate limits, or how many waypoints are permitted.

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?

Two compact sentences, front-loaded with purpose and return values; the REST endpoint note is slightly extraneous but harmless and informative.

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 no-output-schema read tool, the description helpfully summarizes the return shape (distance, time, legs) and identifies the endpoint. It is largely complete, with minor gaps around authentication and response format options ('json' vs 'geojson') that the schema partially covers.

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 100%, so the schema already documents all six parameters including the pipe-separated waypoint format and mode values. The description only restates 'waypoints' and 'travel mode' without adding syntax or constraints beyond the schema, so the baseline 3 applies.

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 ('Compute a route'), the resource (waypoints), the key parameter (travel mode), and the return payload (distance, time, legs). This clearly separates it from geocoding and isoline siblings, which do not compute point-to-point routes.

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?

Usage is implied — you call it when you need a route between waypoints — but there is no explicit when-to-use/when-not-to-use guidance and no mention of alternatives such as geoapify_isoline for reachability instead of routing.

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.