Skip to main content
Glama

apple_maps_directions

Read-only

Apple Maps driving, walking, or cycling directions between an origin and destination with optional stops: routes with distance, live/historic durations, toll/highway flags, traffic note, and turn-by-turn steps (detail=full adds the path).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "origin_latitude": "<origin_latitude>",
      "origin_longitude": "<origin_longitude>",
      "destination_latitude": "<destination_latitude>",
      "destination_longitude": "<destination_longitude>"
    },
    "name": "apple_maps_directions"
  }
}

Input Schema

NameRequiredDescriptionDefault
viaNoOptional intermediate stops as lat,lng pairs separated by | (e.g. 37.7955,-122.3937|37.8080,-122.4177), at most 8. With stops Apple returns one route with one leg per segment.
langNoLanguage for road names and instructions as a BCP 47 tag. Defaults to en-US.
modeNoTravel mode: driving (default), walking, or cycling.
detailNoHow much of each route to return: summary (routes and legs only), steps (default: plus turn-by-turn steps), or full (plus the route path as coordinates).
countryNoTwo-letter ISO 3166-1 country code. Defaults to US.
depart_atNoOptional departure time as RFC 3339; Apple then estimates with traffic for that time. Defaults to now.
avoid_tollsNoDriving only: prefer routes without tolls.
avoid_stairsNoWalking only: prefer routes without stairs.
avoid_highwaysNoDriving only: prefer routes without highways.
origin_latitudeYesOrigin latitude (required).
origin_longitudeYesOrigin longitude (required).
destination_latitudeYesDestination latitude (required).
destination_longitudeYesDestination longitude (required).

Output Schema

NameRequiredDescriptionDefault
dataYesThe tool result payload (shape varies per tool; see each tool's docs resource).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior2/5

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

The annotations already declare readOnlyHint=true, openWorldHint=true and idempotentHint=false, so safety is covered and the description only adds that results include live/historic durations, a traffic note, and turn-by-turn steps when detail=full. It does not disclose how live vs historic durations are chosen, how depart_at changes results, or anything about result size or failure modes for an open-world 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?

A single front-loaded sentence whose opening clause names the operation and the two endpoints before enumerating outputs. Dense but every clause carries information; the colon-separated output list is slightly list-like but not wasteful.

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 13 parameters but complete schema descriptions and an output schema present, the description needs only to frame the operation and output shape, which it does. The remaining gap is routing guidance versus sibling tools (eta, transit departures) rather than missing mechanics.

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 coverage is 100%, so the schema already documents all 13 parameters in detail, including the via stop limit and format. The description repeats a few of these (modes, stops, detail=full path, toll/highway flags) but adds no syntax or format detail 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.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: driving/walking/cycling directions between an origin and destination, with optional stops, plus what each route contains (distance, durations, flags, steps). It implicitly separates itself from time-only siblings like apple_maps_eta and from transit tooling by listing only the three non-transit modes, but it never names an alternative explicitly.

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 by the mode and detail wording (e.g. 'detail=full adds the path'), so an agent can infer the cheap-vs-rich tradeoff. There is no statement of when to prefer this over apple_maps_eta or apple_maps_transit_departures, and no prerequisites or exclusions are given.

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.