Skip to main content
Glama

Ship details and position

get_vessel
Read-onlyIdempotent

Everything known about one ship now: identity (name, IMO, call sign, flag, type, size), last position, speed, course, heading, navigational status, destination (port codes decoded) and ETA as given by the crew, how long ago it was heard, its track over the last 40 minutes, and the data sources to credit. flag (ISO code) and flag_country come from the MMSI: the flag of the radio licence, usually but not always the registry flag. dwt_estimate is an estimate from the AIS dimensions (tonnes, size class such as Panamax or VLCC, hull, draught used), not a registry value; null for tugs, pleasure craft and other types where deadweight does not apply. For archive records and sanctions flags, use lookup_vessels (account).

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": {
      "mmsi": "<mmsi>"
    },
    "name": "get_vessel"
  }
}

Input Schema

NameRequiredDescriptionDefault
mmsiYes9-digit MMSI

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 cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds substantive context beyond them: ETA is crew-reported and therefore unreliable, flag is licence-derived and may differ from registry, dwt_estimate is a derived size-class estimate that is null for tugs and pleasure craft, and sources should be credited. It also discloses the 40-minute track window and position freshness ('how long ago it was heard').

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?

Front-loaded with the core capability and full field inventory, then moves to precisely the caveats that prevent misreading the returned numbers. Dense but no sentence is filler; the derived-field warnings are the parts an agent would otherwise get wrong.

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 no output schema, the description must describe returns, and it enumerates them field-group by field-group, which is adequate for an agent to plan a call. It stops short of return format or size/shape details, a minor gap for a single-record 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?

Schema coverage is 100% and the single mmsi parameter is already documented, so the schema carries the burden. The description still adds real meaning by explaining that flag and flag_country are derived from the MMSI's radio licence rather than the registry, which tells the agent how the identifier propagates into results.

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 ('Everything known about one ship now') and enumerates the returned fields, which lets an agent distinguish it from sibling lookups. It also explicitly bounds itself against lookup_vessels for archive and sanctions data, so the identity of this tool is unambiguous.

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 an explicit positive condition (one ship, identified by MMSI, current state) and an explicit negative/alternative case ('For archive records and sanctions flags, use lookup_vessels'). An agent can decide between this and its sibling without opening either schema.

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.