Skip to main content
Glama

Ship records and sanctions (account)

lookup_vessels
Read-onlyIdempotent

Records of up to 20 ships at once from the AIS Trail archive, by mmsi and/or imo (lists): identity and particulars (name, IMO, call sign, type, flag from the MMSI, length, beam, estimated deadweight, first and last seen) and sanctions flags by IMO number from three official lists: OFAC SDN, UK Sanctions List and EU Regulation 833/2014 Annex XLII (list, programmes, date listed). An IMO number resolves to the MMSI that reported it last; ships not in the plan's sources come back with found false. Sanctions flags are informational, not a compliance determination: only ships a list names by IMO number are matched, ownership-based sanctions are not covered. Needs an AIS Trail account: sign in when the MCP client asks, or send an API key as the HTTP header 'Authorization: Bearer ap_live_…'. Credits: 1 per ship returned (none for ships not found); the plan's sources and 24-hour delay (on plans without live data) apply.

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": "lookup_vessels"
  }
}

Input Schema

NameRequiredDescriptionDefault
imoNo7-digit IMO numbers; mmsi and imo together at most 20
mmsiNo9-digit MMSIs

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the readOnly/openWorld/idempotent annotations: it discloses authentication mechanics (sign-in prompt or 'Authorization: Bearer ap_live_…' header), credit cost of 1 per ship returned with no charge for misses, the plan's source coverage and 24-hour delay, and the found=false behavior. It also honestly scopes the sanctions data as informational, IMO-only matching, excluding ownership-based sanctions.

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?

A single dense paragraph that front-loads what is returned before moving to caveats, costs, and auth. Every clause carries information an agent needs (return fields matter here since there is no output schema), though the sentences run long and the auth/credits tail could be split for scannability.

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?

With no output schema, the description supplies the return shape (identity particulars, sanctions list/programmes/date listed) and the not-found signal. It also covers auth, credit cost, data freshness and the sanctions matching scope, leaving no material gap for a two-parameter read 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%, so the baseline is 3, but the description adds real meaning: an IMO number resolves to the MMSI that reported it last, the two arrays are combined lists capped at 20 together, and 'and/or' clarifies that either identifier alone is acceptable. It does not state the behavior for an empty request, which the schema leaves optional.

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?

States a specific verb and resource: records for up to 20 ships from the AIS Trail archive, looked up by mmsi and/or imo, returning identity particulars plus sanctions flags. The batch limit and identifier-based lookup implicitly separate it from single-vessel or search-style siblings, though no sibling is named explicitly.

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: 'by mmsi and/or imo (lists)' and 'up to 20 ships at once' tell an agent this is a bulk lookup for already-known identifiers. There is no explicit when-to-use versus when-not guidance, and no sibling tool (e.g. get_vessel or search_vessels) is named as the alternative for other cases.

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.