Skip to main content
Glama

Get Vessel Locations

wsdot_get_vessel_locations
Read-only

Returns real-time AIS positions, speed, heading, ETA, and dock status for all active WSF vessels. Use for "where is the ferry now?", vessel tracking, or checking if a vessel is in service. Position data may lag by 30–60 seconds. Many fields are absent for vessels not currently operating.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "wsdot_get_vessel_locations"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
noticeNoOptional notice when no vessel data is available. Absent on normal results.
vesselsNoAll WSF vessels with real-time position data.
totalCountNoTotal number of vessels returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • changedOutput schema / properties / vessels / items / properties / eta / description
      Previous value: -"Estimated arrival time at the destination terminal."New value: +"Estimated arrival time at the destination terminal (ISO 8601, UTC)."
    • addedOutput schema / properties / vessels / items / properties / etaLocal
      Added value: +{
      +  "description": "eta 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 eta is absent or not an ISO 8601 instant.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / vessels / items / properties / leftDock / description
      Previous value: -"Time the vessel last left the dock."New value: +"Time the vessel last left the dock (ISO 8601, UTC)."
    • addedOutput schema / properties / vessels / items / properties / leftDockLocal
      Added value: +{
      +  "description": "leftDock 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 leftDock is absent or not an ISO 8601 instant.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / vessels / items / properties / scheduledDeparture / description
      Previous value: -"Scheduled departure time."New value: +"Scheduled departure time (ISO 8601, UTC)."
    • addedOutput schema / properties / vessels / items / properties / scheduledDepartureLocal
      Added value: +{
      +  "description": "scheduledDeparture 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 scheduledDeparture is absent or not an ISO 8601 instant.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / vessels / items / properties / timestamp / description
      Previous value: -"AIS data timestamp — indicates position data age."New value: +"AIS data timestamp (ISO 8601, UTC) — indicates position data age."
    • addedOutput schema / properties / vessels / items / properties / timestampLocal
      Added value: +{
      +  "description": "timestamp as Pacific time (America/Los_Angeles): ISO 8601 with its UTC offset, the same instant at the same precision. Absent when timestamp is absent or not an ISO 8601 instant.",
      +  "type": "string"
      +}
  2. 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": [
      +      "vessels",
      +      "totalCount"
      +    ]
      +  },
      +  {
      +    "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. Other values are possible when a failure originates below the handler.",
      +          "examples": [
      +            "api_unavailable",
      +            "invalid_access_code"
      +          ],
      +          "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: -[
      -  "vessels",
      -  "totalCount"
      -]
  3. Changed1 schema field changed
    • addedOutput schema / properties / notice
      Added value: +{
      +  "description": "Optional notice when no vessel data is available. Absent on normal results.",
      +  "type": "string"
      +}
  4. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only declare readOnlyHint, so the description does real work by disclosing that positions may lag 30–60 seconds and that many fields are absent for non-operating vessels — both important for interpreting the response. It stops short of any coverage/rate-limit or scope-of-'all' detail, so it's strong rather than exhaustive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with what is returned before caveats. Every sentence adds information: capabilities, query intents, then data-quality limits.

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?

An output schema exists, so return structure needs no explanation, and with no inputs there is nothing else to document. The description plus annotations and output schema cover everything an agent needs to call and interpret this tool.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate; it correctly implies a no-argument global listing rather than implying optional filters.

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 and resource ('Returns real-time AIS positions ... for all active WSF vessels') and enumerates the payload fields (speed, heading, ETA, dock status), which clearly separates it from schedule, route, and terminal-space siblings.

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?

Gives concrete use cases — 'where is the ferry now?', vessel tracking, checking if a vessel is in service — which is clear context, but it never states when not to use it or names a sibling (e.g., use wsdot_get_ferry_schedule for planned times instead).

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.