Skip to main content
Glama

Ship Lookup

ship_lookup
Read-onlyIdempotent

A ship or boat by MMSI (9 digits), IMO number (7 digits) or name, from open AIS (Digitraffic, northern Baltic). Answers record (name, type, flag, size, call sign, stated destination, last position) and live (position, speed, course, navigation status now, when in range), or matches for a name.

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": {
      "query": "<query>"
    },
    "name": "ship_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesMMSI, IMO or name, e.g. 230629000

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the description's burden is lower and it still adds real context: the upstream source (Digitraffic open AIS), the geographic scope (northern Baltic), and the coverage caveat 'when in range', which tells the agent live positions may be stale or absent. It stops short of stating rate limits or how stale a record can be.

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?

Two sentences, densely packed, with the identifier forms and source stated before the answer shapes. The telegraphic style ('Answers `record` ... and `live` ...') is efficient but slightly compressed, requiring the reader to parse a long parenthetical of field lists.

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?

There is no output schema, and the description compensates by enumerating the three answer shapes and the fields each carries (name, type, flag, size, call sign, destination, last position; live position, speed, course, status), so an agent knows what it will get back before calling. Combined with the coverage caveat for live data, nothing essential for correct invocation 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% and the single parameter is documented, so the baseline is 3; the description earns above that by specifying the accepted formats and their exact digit lengths (MMSI 9 digits, IMO 7 digits) plus free-text name, which the schema example (a bare MMSI) does not convey.

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?

The description names the exact resource (a ship or boat) and the three accepted identifiers (MMSI, IMO, name), plus the data source (open AIS via Digitraffic, northern Baltic). The verb is implicit rather than stated, and no sibling is named, but the domain-specificity is enough that an agent can immediately tell this apart from airplane_lookup or satellite_lookup.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the parenthetical digit counts hint at which identifier form to use, and 'or `matches` for a name' signals that name queries may be ambiguous. There is no explicit when-to-use/when-not guidance and no named alternative for the cases this tool does not cover.

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