Skip to main content
Glama

Vessels near a point or vessel

vessels_near
Read-onlyIdempotent

Vessels within a radius of a position or of another vessel, nearest first, each with her distance in nautical miles and true bearing from the centre. It asks for the square around the circle, which must fit your plan's largest box (as set in your Data API plan). Credits: 1 for every vessel in that square (at most 200), and 1 more to centre on a vessel. On every Data API plan.

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

Input Schema

NameRequiredDescriptionDefault
latNoLatitude in decimal degrees, north positive
lonNoLongitude in decimal degrees, east positive
mmsiNoOr centre on this vessel's last position
limitNoAt most this many vessels (default 25)
max_ageNoOnly vessels heard within this time, such as 90m or 24h (default 24h)
radius_nmNoRadius in nautical miles (default 10, at most 30)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare read-only, non-destructive, idempotent, open-world, so the safety profile is covered. The description goes well beyond that with a non-obvious cost model (1 credit per vessel in the square, cap of 200, +1 credit to centre on a vessel) and the crucial behavioural quirk that the query actually requests the bounding square around the circle. It does not mention error behaviour or what happens when the square exceeds the plan's box, which keeps it from a 5.

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?

Three sentences, front-loaded with what is returned before the quota and geometry caveats. Every sentence carries information, though 'It asks for the square around the circle' is awkwardly phrased and could be tightened without losing meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With six parameters, all optional, and no output schema, the description does a good job stating the return payload (distance and bearing per vessel, nearest first). However, because no parameter is marked required, an agent needs to know that a centre must come from either lat/lon or mmsi; the description only hints at this with 'a position or of another vessel'. Precedence when both are given, and the failure mode when neither is given, are unstated.

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%, including ranges and defaults for lat, lon, mmsi, limit, max_age and radius_nm, so the schema already carries the parameter burden. The description adds only marginal parameter meaning, mainly confirming the 200-vessel cap on the square and the default-nearest-first ordering; it does not clarify how lat/lon and mmsi interact when both or neither are supplied.

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 a specific resource (vessels), a specific spatial query (within a radius of a position or of another vessel), and even the return ordering and fields (nearest first, distance in nautical miles, true bearing). It implicitly distinguishes itself from area/port siblings by describing a radial search centred on a point or MMSI, though it never names those siblings 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: reach for this when you have a centre point or a vessel MMSI and want neighbours ranked by distance. What is missing is explicit routing against siblings like vessels_in_area or port_vessels, and there is no statement of when-not to use it. The plan-size constraint ('must fit your plan's largest box') is a useful eligibility rule but not a use-vs-alternative rule.

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