Skip to main content
Glama

Mappit

Directions

get_directions
Read-onlyIdempotent

Driving, walking or cycling directions between places: distance, travel time and turn-by-turn steps, with a link that opens the route on Mappit's map. Each end can be a town, a business or landmark ("Pike Place Market"), a street address, or "lat,lon". Routing © openrouteservice.org by HeiGIT; map data © OpenStreetMap contributors.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesWhere it ends, in any of the same forms.
viaNoStops on the way, in order (at most 8), in any of the same forms.
fromYesWhere the trip starts: a place name, a business or landmark, a street address, or "lat,lon".
modeNoOne of: driving (default), walking, cycling.
stepsNoHow many turn-by-turn steps to return: default 25, at most 80; 0 for none.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint, idempotentHint, openWorldHint, destructiveHint=false), so the bar is lower. The description still adds real value by disclosing the return payload (distance, time, steps, map link), the coordinate-format flexibility, and the openrouteservice/OpenStreetMap attribution, none of which annotations provide.

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 tightly written sentences front-load the core capability and then the input forms, with no filler. The trailing attribution is legally required boilerplate rather than waste, so size is appropriate, though it is not strictly agent-facing content.

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?

With no output schema, the description carries the burden of describing results and does so by naming the returned fields (distance, travel time, turn-by-turn steps, map link). What an agent needs to call it correctly is present; only finer details like step/pagination limits are left to the schema.

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 five parameters (from, to, via, mode, steps). The description reinforces the endpoint forms but adds no syntax or format detail beyond the schema, making the baseline 3 correct.

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 (get directions) and resource (routes between places), and names exactly what is produced: distance, travel time, turn-by-turn steps, and a map link. It is clearly distinguishable from siblings like get_location (single point) or find_places (discovery), so an agent can route to it without opening the schema.

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?

The description establishes clear usage context by defining the supported modes and the accepted endpoint forms (town, business/landmark, street address, lat,lon), which tells the agent when this tool fits. It does not, however, compare itself to siblings or state explicit exclusions, so it stops short of full when/when-not guidance.

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.

Resources