Skip to main content
Glama

Stockholm Archipelago Trail

pier_departures

Read-only

List the scheduled Waxholmsbolaget ferry departures (or arrivals) at one pier or harbour of the Stockholm Archipelago Trail on a given date, within a time window: departure time, line, destination and stops on the way, arrival time at the final stop, whether advance booking is required, and which boat is the last of the day. Use this when the user asks what boats leave from or arrive at a specific pier or island ("which boats leave Grinda this afternoon?", "when is the last ferry back from Utö tonight?"). The pier can be given by name (island or pier, e.g. 'Grinda', 'Stavsnäs'), slug or id (sat:pier:…, GTFS stop id); when a name matches several piers the response lists them (kind 'ambiguous') — ask the user or pick the obvious one and call again. Renders no card. Do not use for planning a whole trip (use day_trip/plan_route) or for lodging and places (use search).

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": {
      "pier": "<pier>"
    },
    "name": "pier_departures"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLatest time, HHMM or HH:MM (24 h). OPTIONAL — omit for 23:59.
dateNoDate, YYYYMMDD (Europe/Stockholm), e.g. 20260905. OPTIONAL — omit for today.
fromNoEarliest time, HHMM or HH:MM (24 h), e.g. '1400' for 'this afternoon'. OPTIONAL — omit for now (today) or 00:00 (other dates).
langNoLanguage of the user's message: 'sv' when the user writes in Swedish, otherwise 'en'. Always pass it — labels, dates and the card are rendered in this language.
pierYesPier reference: name ('Grinda', 'Södra Grinda', 'Strömkajen'), slug, sat:pier:… id or GTFS stop id.
limitNoMax rows, 1–50. OPTIONAL — default 20.
directionNo'departures' (default) = boats leaving the pier; 'arrivals' = boats arriving at it.

Output Schema

NameRequiredDescriptionDefault
toNoWindow end, HH:MM
dateNoYYYYMMDD
fromNoWindow start, HH:MM
kindYes
pierNo
totalNoRows in the window before `limit` was applied.
directionNo
timetableNokind = out-of-range: the dates the timetable covers.
candidatesNokind = ambiguous: the piers that matched.
departuresNoSorted by time. For arrivals the rows carry from/departure instead of to/arrival.
timetableValidToNoLast date of the loaded timetable, YYYY-MM-DD.
suggestedFollowUpsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already establish readOnly/openWorld=false and non-destructive, and the description adds genuinely new behavior: no card is rendered, ambiguous pier names return kind 'ambiguous' with the candidate list, and the agent should ask or pick and re-call. It also discloses response content not knowable from annotations (booking requirement, last boat of the day).

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?

Purpose and time-window scope are front-loaded, then usage triggers, then ambiguity handling, then exclusions — a sensible order. The first sentence is long because it enumerates returned fields, which is defensible, but it could be trimmed given an output schema exists.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter read tool with full schema coverage, an output schema, and clear annotations, the description covers purpose, invocation context, ambiguity fallback, and sibling routing — nothing an agent needs to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description still adds value by explaining that a pier can be a human name, slug, sat:pier id or GTFS stop id and what to do when a name is ambiguous — a cross-parameter interaction the schema does not describe. It does not, however, add anything new about from/to/limit beyond what the schema already documents with defaults and formats.

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?

Specific verb and resource ('List the scheduled Waxholmsbolaget ferry departures (or arrivals) at one pier') with explicit scope (date, time window) and an enumeration of the returned facts. It is clearly distinguishable from day_trip/plan_route and search, which it names as the tools for other jobs.

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

Usage Guidelines5/5

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

Gives concrete when-to-use triggers in user-phrasing form ('which boats leave Grinda this afternoon?', 'when is the last ferry back from Utö tonight?') plus explicit exclusions pointing to the correct siblings: planning whole trips → day_trip/plan_route, lodging and places → search.

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