Skip to main content
Glama

apple_maps_transit_departures

Read-only

Apple Maps transit stop/station by place id: systems, lines (name, shield, color), and upcoming departures with headsign, direction, scheduled and live times, and real-time status.

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": {
      "place_id": "<place_id>"
    },
    "name": "apple_maps_transit_departures"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoDisplay language as a BCP 47 tag (e.g. en-US, ja-JP, de-DE). Defaults to en-US.
countryNoTwo-letter ISO 3166-1 country code that selects Apple's regional catalog. Defaults to US.
place_idYesApple place ID (required): either the external form starting with I (e.g. I594FECA0B369D14A, the place-id= value in a maps.apple.com/place URL) or the numeric id from a search result's id field / an auid= URL parameter.

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.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint and, notably, idempotentHint=false; the description's mention of live times and real-time status gives the reason results change between calls, which is genuine added context. It says nothing about rate limits, auth, or what happens when a place id has no transit service, so with annotations already covering the safety profile it stays at a solid but not rich 3.

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, front-loaded sentence that leads with the resource and place-id scoping, then enumerates the payload. No filler sentences; the parenthetical list of line attributes is compact 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?

With only three parameters, one required, full schema coverage, and an output schema that carries the return shape, the definition covers what an agent needs to call it. The residual gap is the time window implied by 'upcoming departures' (no time parameter exists), which is left for the agent to infer.

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 place_id, lang and country are all documented in the schema with examples (external I-form vs numeric id, BCP 47 tag, ISO country code). The description only echoes the place-id requirement and adds no semantics for lang or country, 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?

Names a specific resource (Apple Maps transit stop/station) and enumerates exactly what comes back: systems, lines with name/shield/color, and upcoming departures with headsign, direction, scheduled/live times and real-time status. That clearly separates it from apple_maps_place or apple_maps_directions, though the operative verb is only implied ('by place id').

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 explicit when-to-use or when-not-to-use sentence, and no sibling is named as an alternative (e.g. directions for trip planning vs. this for departure boards). The only usage signal is the phrase 'by place id', which hints at the required input but not the situation that selects this tool.

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.