Skip to main content
Glama

Get Ferry Schedule

wsdot_get_ferry_schedule
Read-only

Returns departure times for a specific WSF ferry route on a given date. Requires numeric terminal IDs — use wsdot_get_ferry_terminals to resolve terminal names to IDs; terminalPairs on wsdot_get_ferry_routes lists the pairs with service on a date. Set remainingOnly to true to show only future departures for today (useful for "next ferry" queries); a query after midnight also includes the previous service day's sailings still to depart, listed first. Each sailing's serviceDate names the service day whose schedule lists it. For future dates, all sailings for that day are returned. Each sailing carries its vessel ID, WSF's loading-rule code, and the pair's annotations that apply to it — notes such as "No interisland vehicles" that decide whether a sailing takes a car. Sailing times are ISO 8601 UTC, each beside a Local sibling (departureTimeLocal, arrivalTimeLocal) holding the same instant in Pacific time with its UTC offset — quote the Local form as the clock time. tripDate is the Pacific service day, so an evening sailing's UTC time carries the next calendar date. Cancellations are not carried here — WSF drops a cancelled sailing from the schedule instead of flagging it, so a listed sailing is not confirmation that it will run. Check wsdot_get_ferry_alerts for disruptions; those are scoped to a route, not an individual sailing.

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": {
      "departingTerminalId": "<departingTerminalId>",
      "arrivingTerminalId": "<arrivingTerminalId>"
    },
    "name": "wsdot_get_ferry_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
tripDateNoDate in ISO 8601 format (YYYY-MM-DD). Defaults to today if omitted.
remainingOnlyNoWhen true, returns only future sailings for today. A WSF service day runs past midnight, so before 3 a.m. Pacific the result also includes the previous service day's sailings still to depart, first and marked with that day's serviceDate. Ignored for any other date. Default: false.
arrivingTerminalIdYesNumeric ID of the arriving terminal.
departingTerminalIdYesNumeric ID of the departing terminal. Use wsdot_get_ferry_terminals to look up terminal IDs.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
noticeNoPresent when no sailings are found, or when the previous service day's late sailings could not be checked because its schedule could not be read.
sailingsNoScheduled sailings for this route and date.
tripDateNoDate of the schedule (ISO 8601).
annotationsNoNotes WSF attaches to this pair's sailings (vehicle restrictions, routing, delays), converted from HTML to plain text with link destinations kept as "text (url)". Sailings point at the ones that apply to them through annotationIndexes; the previous service day's sailings add the notes they cite that the list lacks. Empty when the pair has none.
sailingNotesNoA note covering every sailing on this pair (e.g. a boarding-pass requirement), converted from HTML to plain text. Absent when WSF publishes none, which is the case for most pairs.
remainingOnlyNoWhether the result holds only remaining sailings: today's, led before 3 a.m. Pacific by the previous service day's still to depart. False for any date other than today, whatever was requested.
totalSailingsNoTotal number of sailings returned, the previous service day's included.
arrivingTerminalNameNoArriving terminal name.
departingTerminalNameNoDeparting terminal name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • changedInput schema / properties / remainingOnly / description
      Previous value: -"When true, returns only future sailings for today. Ignored for future dates. Default: false."New value: +"When true, returns only future sailings for today. A WSF service day runs past midnight, so before 3 a.m. Pacific the result also includes the previous service day's sailings still to depart, first and marked with that day's serviceDate. Ignored for any other date. Default: false."
    • changedOutput schema / properties / annotations / description
      Previous value: -"Notes WSF attaches to this pair's sailings (vehicle restrictions, routing, delays), converted from HTML to plain text with link destinations kept as \"text (url)\". Sailings point at the ones that apply to them through annotationIndexes. Empty when the pair has none."New value: +"Notes WSF attaches to this pair's sailings (vehicle restrictions, routing, delays), converted from HTML to plain text with link destinations kept as \"text (url)\". Sailings point at the ones that apply to them through annotationIndexes; the previous service day's sailings add the notes they cite that the list lacks. Empty when the pair has none."
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `api_unavailable`: WSF Ferry API is unreachable or returns a non-2xx response after retries. `invalid_access_code`: WSF rejected the request because WSDOT_ACCESS_CODE is missing, invalid, or not registered. `invalid_terminal_pair`: The terminal ID pair is invalid or does not form a valid ferry route. `invalid_date`: The tripDate is not a valid YYYY-MM-DD date, WSF rejects it as outside the dates it has published a schedule for, or WSF lists no routes on it. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `api_unavailable`: WSF Ferry API is unreachable or returns a non-2xx response after retries. `retry_deadline_exceeded`: The WSF Ferry API requests the call makes did not finish within its 50-second budget, retries included. `invalid_access_code`: WSF rejected the request because WSDOT_ACCESS_CODE is missing, invalid, or not registered. `invalid_terminal_pair`: The terminal ID pair is invalid or does not form a valid ferry route. `invalid_date`: The tripDate is not a valid YYYY-MM-DD date, WSF rejects it as outside the dates it has published a schedule for, or WSF lists no routes on it. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "api_unavailable",
      -  "invalid_access_code",
      -  "invalid_terminal_pair",
      -  "invalid_date"
      -]New value: +[
      +  "api_unavailable",
      +  "retry_deadline_exceeded",
      +  "invalid_access_code",
      +  "invalid_terminal_pair",
      +  "invalid_date"
      +]
    • changedOutput schema / properties / notice / description
      Previous value: -"Optional notice when no sailings are found — e.g. invalid terminal pair or no service for this date. Absent when sailings are present."New value: +"Present when no sailings are found, or when the previous service day's late sailings could not be checked because its schedule could not be read."
    • changedOutput schema / properties / remainingOnly / description
      Previous value: -"Whether the result holds only today's remaining sailings. False for any date other than today, whatever was requested."New value: +"Whether the result holds only remaining sailings: today's, led before 3 a.m. Pacific by the previous service day's still to depart. False for any date other than today, whatever was requested."
    • addedOutput schema / properties / sailings / items / properties / arrivalTimeLocal
      Added value: +{
      +  "description": "arrivalTime as Pacific time (America/Los_Angeles): ISO 8601 with its UTC offset, the same instant at the same precision — the form to quote as a clock time. Absent when arrivalTime is absent or not an ISO 8601 instant.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / sailings / items / properties / departureTime / description
      Previous value: -"Scheduled departure time (ISO 8601, UTC). WSF publishes schedules in Pacific time, so a sailing late in the service day carries the following UTC calendar date and will not match tripDate. Convert to America/Los_Angeles before showing a clock time."New value: +"Scheduled departure time (ISO 8601, UTC). A sailing late in the Pacific service day carries the following UTC calendar date, so it will not match tripDate; departureTimeLocal carries the Pacific clock time."
    • addedOutput schema / properties / sailings / items / properties / departureTimeLocal
      Added value: +{
      +  "description": "departureTime as Pacific time (America/Los_Angeles): ISO 8601 with its UTC offset, the same instant at the same precision — the form to quote as a clock time. Absent when departureTime is absent or not an ISO 8601 instant.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / sailings / items / properties / serviceDate
      Added value: +{
      +  "description": "The Pacific service day (YYYY-MM-DD) whose schedule lists this sailing. It is tripDate, except for the previous service day's sailings a remainingOnly query made after midnight leads with, which carry that day — so a 01:35 sailing can belong to the day before its own calendar date.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / sailings / items / required
      Added value: +[
      +  "serviceDate"
      +]
    • changedOutput schema / properties / totalSailings / description
      Previous value: -"Total number of sailings returned."New value: +"Total number of sailings returned, the previous service day's included."
  2. Changed9 schema fields changed
    • addedOutput schema / properties / annotations
      Added value: +{
      +  "description": "Notes WSF attaches to this pair's sailings (vehicle restrictions, routing, delays), converted from HTML to plain text with link destinations kept as \"text (url)\". Sailings point at the ones that apply to them through annotationIndexes. Empty when the pair has none.",
      +  "items": {
      +    "description": "One note, as plain text.",
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `api_unavailable`: WSF Ferry API is unreachable or returns a non-2xx response after retries. `invalid_access_code`: WSF rejected the request because WSDOT_ACCESS_CODE is missing, invalid, or not registered. `invalid_terminal_pair`: The terminal ID pair is invalid or does not form a valid ferry route. `invalid_date`: The provided tripDate is not a valid ISO 8601 date. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `api_unavailable`: WSF Ferry API is unreachable or returns a non-2xx response after retries. `invalid_access_code`: WSF rejected the request because WSDOT_ACCESS_CODE is missing, invalid, or not registered. `invalid_terminal_pair`: The terminal ID pair is invalid or does not form a valid ferry route. `invalid_date`: The tripDate is not a valid YYYY-MM-DD date, WSF rejects it as outside the dates it has published a schedule for, or WSF lists no routes on it. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / remainingOnly / description
      Previous value: -"Whether the result shows only remaining sailings."New value: +"Whether the result holds only today's remaining sailings. False for any date other than today, whatever was requested."
    • addedOutput schema / properties / sailingNotes
      Added value: +{
      +  "description": "A note covering every sailing on this pair (e.g. a boarding-pass requirement), converted from HTML to plain text. Absent when WSF publishes none, which is the case for most pairs.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / sailings / items / description
      Previous value: -"One scheduled sailing with departure time and vessel assignment."New value: +"One scheduled sailing with departure time, vessel assignment, and the notes that apply to it."
    • addedOutput schema / properties / sailings / items / properties / annotationIndexes
      Added value: +{
      +  "description": "Positions in annotations of the notes that apply to this sailing; each resolves to an entry. Empty when none apply.",
      +  "items": {
      +    "description": "A position in annotations.",
      +    "type": "number"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / sailings / items / properties / loadingRule
      Added value: +{
      +  "description": "WSF's loading-rule code for this sailing. WSF does not document the codes: 3 appears on nearly every sailing, and 1 has appeared only on sailings whose annotation restricts vehicles. Read the sailing’s annotations for the restriction itself.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / sailings / items / properties / vesselHandicapAccessible
      Added value: +{
      +  "description": "Whether WSF marks the assigned vessel as handicap accessible.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / sailings / items / properties / vesselId
      Added value: +{
      +  "description": "ID of the assigned vessel — the same vesselId wsdot_get_vessel_locations reports.",
      +  "type": "number"
      +}
  3. Changed6 schema fields changed
    • addedInput schema / properties / arrivingTerminalId / exclusiveMinimum
      Added value: +0
    • addedInput schema / properties / arrivingTerminalId / maximum
      Added value: +9007199254740991
    • changedInput schema / properties / arrivingTerminalId / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / departingTerminalId / exclusiveMinimum
      Added value: +0
    • addedInput schema / properties / departingTerminalId / maximum
      Added value: +9007199254740991
    • changedInput schema / properties / departingTerminalId / type
      Previous value: -"number"New value: +"integer"
  4. Changed6 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / additionalProperties
      Added value: +false
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "error"
      +      ]
      +    },
      +    "required": [
      +      "sailings",
      +      "tripDate",
      +      "remainingOnly",
      +      "totalSailings"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "error"
      +    ]
      +  }
      +]
    • addedOutput schema / properties / error
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Present when the call failed. Absent on success.",
      +  "properties": {
      +    "code": {
      +      "description": "JSON-RPC error code for this failure.",
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "data": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "reason": {
      +          "description": "Machine-readable failure mode. Declared by this tool: `api_unavailable`: WSF Ferry API is unreachable or returns a non-2xx response after retries. `invalid_access_code`: WSF rejected the request because WSDOT_ACCESS_CODE is missing, invalid, or not registered. `invalid_terminal_pair`: The terminal ID pair is invalid or does not form a valid ferry route. `invalid_date`: The provided tripDate is not a valid ISO 8601 date. Other values are possible when a failure originates below the handler.",
      +          "examples": [
      +            "api_unavailable",
      +            "invalid_access_code",
      +            "invalid_terminal_pair",
      +            "invalid_date"
      +          ],
      +          "type": "string"
      +        },
      +        "recovery": {
      +          "additionalProperties": {},
      +          "description": "Actionable next step for the caller.",
      +          "properties": {
      +            "hint": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "hint"
      +          ],
      +          "type": "object"
      +        },
      +        "retryable": {
      +          "description": "Whether retrying may succeed.",
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "message": {
      +      "description": "Human-readable description of what went wrong.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / required
      Removed value: -[
      -  "sailings",
      -  "tripDate",
      -  "remainingOnly",
      -  "totalSailings"
      -]
  5. Changed2 schema fields changed
    • changedOutput schema / properties / sailings / items / properties / arrivalTime / description
      Previous value: -"Scheduled arrival time."New value: +"Scheduled arrival time (ISO 8601, UTC), on the same terms as departureTime. Absent on the routes WSF publishes no arrival time for."
    • changedOutput schema / properties / sailings / items / properties / departureTime / description
      Previous value: -"Scheduled departure time."New value: +"Scheduled departure time (ISO 8601, UTC). WSF publishes schedules in Pacific time, so a sailing late in the service day carries the following UTC calendar date and will not match tripDate. Convert to America/Los_Angeles before showing a clock time."
  6. Changed1 schema field changed
    • removedOutput schema / properties / sailings / items / properties / isCancelled
      Removed value: -{
      -  "description": "Whether this sailing is cancelled.",
      -  "type": "boolean"
      -}
  7. Changed2 schema fields changed
    • addedOutput schema / properties / notice
      Added value: +{
      +  "description": "Optional notice when no sailings are found — e.g. invalid terminal pair or no service for this date. Absent when sailings are present.",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "tripDate",
      -  "remainingOnly",
      -  "sailings",
      -  "totalSailings"
      -]New value: +[
      +  "sailings",
      +  "tripDate",
      +  "remainingOnly",
      +  "totalSailings"
      +]
  8. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint, so the description carries the behavioral load and does it well: it discloses the midnight service-day rollover, that remainingOnly is ignored for other dates, that cancellations are dropped rather than flagged, and that a listed sailing is not confirmation it will run. These are non-obvious traits an agent could not infer from schema or annotations.

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?

It is front-loaded with the purpose and the dependency chain, then moves to parameter behavior and output interpretation. The density is high and nearly every sentence earns its place, though the sentence enumerating vessel ID and loading-rule codes is the weakest and could be trimmed.

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 four-parameter tool with an output schema, the description supplies exactly the missing context: how to obtain terminal IDs, how the service day differs from the calendar day, how to read the UTC/Local time pairs, and where cancellation information actually lives. Nothing an agent needs to call it correctly is absent.

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 baseline is 3, and the description adds real meaning beyond it: terminal IDs must be numeric and resolved via wsdot_get_ferry_terminals, and remainingOnly's cross-midnight behavior is framed operationally. The Local-vs-UTC quoting guidance is about output rather than parameters, so the gain is modest rather than large.

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?

The first sentence states a specific verb and resource (returns departure times for a WSF ferry route on a date), and the definition distinguishes itself from siblings by naming wsdot_get_ferry_terminals, wsdot_get_ferry_routes, and wsdot_get_ferry_alerts with their respective roles.

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?

It explicitly routes the agent: use wsdot_get_ferry_terminals to resolve names to IDs, check terminalPairs on wsdot_get_ferry_routes for service on a date, set remainingOnly for 'next ferry' queries, and use wsdot_get_ferry_alerts for disruptions. It also states the boundary that alerts are route-scoped, not sailing-scoped.

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.