Skip to main content
Glama

Search vessels

search_vessels
Read-onlyIdempotent

Find vessels by name, MMSI or IMO number (a prefix of at least 2 characters works), among the vessels our sources have heard. Each comes with her particulars and her last position from a source we may pass on. Use it to turn a name into an MMSI for the other tools. Credits: 1 per vessel returned. On every Data API plan.

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

Input Schema

NameRequiredDescriptionDefault
limitNoAt most this many vessels (default 10)
queryYesName, MMSI or IMO, or the start of one
near_latNoOptional: rank vessels near this latitude first
near_lonNoOptional: rank vessels near this longitude first

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive and open-world behavior, so the safety bar is covered. The description adds genuinely non-structural facts: credit cost of 1 per vessel returned, availability on every Data API plan, prefix matching semantics, and that each result carries particulars plus a last position from a source that may be passed on. Missing is any note on empty-result behavior or result ordering/caps beyond the limit parameter.

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 short sentences, front-loaded with the matching rule and followed by the intended use and cost. The slightly literary phrasing ('her particulars', 'a source we may pass on') costs nothing in clarity and conveys what is returned and with what caveat.

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?

For a four-parameter search tool with no output schema, the description covers matching rules, what each result contains, cost, and plan availability. It stops short of describing result ordering, pagination, or what an empty match looks like, which an agent would otherwise want.

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 description coverage is 100%, so the schema already documents all four parameters including the default of 10 and the coordinate bounds. The description reinforces the prefix behavior of 'query' but says nothing additional about how near_lat/near_lon ranking interacts with the query or how limit affects credits. Baseline 3 applies when the schema does the heavy lifting.

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 ('Find vessels') plus the three accepted identifier types and the 2-character prefix rule, which is exactly the distinction an agent needs versus lookup-by-id tools like get_vessel. It also names the downstream use case ('turn a name into an MMSI for the other tools'), making the tool's role in the catalog unambiguous.

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 a clear positive use case (resolving a name to an MMSI for other tools) and implicitly frames the search scope as 'among the vessels our sources have heard'. It does not explicitly contrast with proximity or area siblings such as vessels_near or vessels_in_area, so the agent must infer that those are the better choice for pure geography queries.

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