Skip to main content
Glama

Geoapify MCP by usefulapi

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. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds useful context by listing what is returned (distance, time, legs), but says nothing about failure modes (unroutable waypoints, invalid mode) or rate limits, which would be valuable for a routing call.

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 short sentences, front-loaded with the core action and result before the REST endpoint note. Nothing is wasted, though the endpoint line is of marginal value to an agent that only needs to pick and call the tool.

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 simple point-to-point routing tool with a fully documented schema and read-only annotation, the description covers the essentials and even hints at the return shape despite no output schema existing. The main gap is the absence of routing-specific caveats (failure behavior, alternatives).

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 all six parameters are already documented in the schema with examples and formats. The description adds no parameter-level detail beyond the schema (it only alludes to 'waypoints' and 'travel mode'), so the baseline 3 applies.

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 ('Compute a route between waypoints'), names the travel-mode input, and summarizes the return (distance, time, legs). It is clearly distinguishable from the geocoding, places, and isoline siblings, though it never names the closest alternative (geoapify_isoline) to draw the boundary explicitly.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites (e.g., API key/auth), and no mention of when a different sibling such as geoapify_isoline would be preferable. Usage is only implied by the purpose statement.

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.