Skip to main content
Glama

Vessels near a point or vessel

find_vessels_near
Read-onlyIdempotent

Vessels within a radius (default 10 NM, maximum 50) of a point or of another vessel, nearest first, each with distance and bearing from the centre. Use for what is near this position or what is around vessel X.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latNocentre latitude, degrees; give lat and lon, or mmsi
lonNocentre longitude, degrees
kindNoonly this kind: vessel, aton, base, or sar
mmsiNocentre on this vessel's last position instead of lat and lon; the vessel itself is left out of the results
limitNorows to return: default 50, maximum 200
typesNoonly these ITU ship type codes; a code ending in 0 matches its decade
radius_nmNosearch radius in nautical miles: default 10, maximum 50

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
totalYesvessels matched before the limit was applied
vesselsYes
truncatedYestrue when total exceeds the rows returned; narrow the query or raise limit
attributionYescredit line per source kind in the rows, to show with the data
unknown_mmsiNorequested MMSIs not heard in the last 30 minutes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

The description adds useful behavior beyond the annotations: results are sorted nearest first, each includes distance and bearing, and the center vessel is excluded when using mmsi. The read-only and idempotent hints are already in the annotations, so the description does not need to restate them.

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?

Two sentences, zero filler: the first states the core behavior and result shape, the second gives direct usage intent. Every clause earns its place.

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?

For a read-only spatial query, the description combined with the 100%-covered schema, annotations, and output schema is complete. It covers the center modes, radius constraints, result ordering, and distance/bearing output without needing to re-explain every parameter.

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 100% and every parameter already has a clear description. The description mostly summarizes what the schema states, such as default and maximum radius and the choice between lat/lon and mmsi, without adding substantial new parameter-level detail.

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?

The description states a specific verb and resource: finding vessels within a radius of either a point or another vessel. It also distinguishes this from the sibling area-based lookup by emphasizing 'radius' and by naming the two center modes (position or vessel).

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 explicitly tells the agent when to use the tool: 'Use for what is near this position or what is around vessel X.' However, it does not mention when not to use it or name alternatives such as find_vessels_in_area for area searches, so it stops short of full exclusion guidance.

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.