Skip to main content
Glama

AIS Trail

Search ships

search_vessels
Read-onlyIdempotent

Find ships by name (or part of it), MMSI (9 digits) or IMO number (7 digits). Returns live ships first, then ships out of range with their last known position (up to 7 days). List results are compact rows (mmsi, name, category, flag (ISO code from the MMSI), lat, lon, speed_kn, course_deg, length_m, destination, age_s, status, source); call get_vessel for full details of one ship. Private vessels (pleasure craft, sailing vessels and Class B transponders without a valid IMO number) are never listed or looked up individually; area and nearby results report how many were left out (private_vessels).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYesShip name, MMSI (9 digits) or IMO (7 digits)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover safety (readOnlyHint, idempotentHint, destructiveHint false), and the description adds substantial extra behavior: live vessels ordered before out-of-range ones with positions up to 7 days old (age_s), the compact row shape, and the policy that private craft are never returned while area/nearby results roll them into a private_vessels count. That is unusually rich disclosure for a search tool.

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?

Front-loaded with the lookup keys, then result ordering, then row shape, then exclusions — a sensible priority order. It is a long single block of text, but nearly every clause carries distinct information; only the parenthetical row-field list is slightly list-heavy.

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 does the work of enumerating the returned fields and the ordering semantics, and it covers the private-vessel edge case that would otherwise surprise an agent. Gaps remain around the limit parameter and whether results are truncated when the query matches many ships.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%: query is documented in both places, but limit (default 10, max 20) is never mentioned in the description, so the cap and default behavior are left entirely to the schema. The description restates the query format (name part, 9-digit MMSI, 7-digit IMO) rather than adding new syntax guidance, so this lands at the baseline for partial coverage.

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?

Specific verb (find) plus resource (ships) and the three lookup keys (name/partial name, 9-digit MMSI, 7-digit IMO). It explicitly routes to get_vessel for full details, which cleanly separates it from the sibling that returns one full record.

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?

It states what the tool is for and names the alternative (get_vessel) for the full-detail case, and it declares the exclusion rule for private vessels. It never contrasts itself with the other discovery siblings (vessels_in_area, vessels_near, vessel_track), so the agent must infer that geospatial lookup belongs elsewhere.

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