Skip to main content
Glama

Gangway AIS

Vessels in an area

vessels_in_area
Read-onlyIdempotent

Vessels inside a latitude/longitude box, newest report first, each at her last position from a source we may pass on. truncated says that more were left out. Largest box: 1 square degree on a free account, 4 on Plus, 25 on Pro, 100 on Scale. Credits: 1 per vessel returned. Free accounts too: their answers are 24 hours behind, with a box of at most 1 square degree and 1,000 credits a month; paid plans are live.

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": {
      "min_lat": "<min_lat>",
      "min_lon": "<min_lon>",
      "max_lat": "<max_lat>",
      "max_lon": "<max_lon>"
    },
    "name": "vessels_in_area"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoAt most this many vessels (default 50)
max_ageNoOnly vessels heard within this time, such as 90m, 24h or 7d (default 24h)
max_latYesNorth edge of the box
max_lonYesEast edge of the box
min_latYesSouth edge of the box
min_lonYesWest edge of the box
ship_typeNoAIS ship type: a code ending in 0 means its whole group (70 all cargo, 80 all tankers)
min_speed_knNoOnly vessels at or above this speed over ground, in knots

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond readOnly/idempotent/openWorld annotations, it discloses ordering (newest first), positional semantics (last known position), a source-attribution caveat ('from a source we may pass on'), the meaning of 'truncated', per-call credit cost, plan-tier box limits, and free-tier freshness/credit throttling. These are behavior-shaping facts an agent cannot get from the annotations or schema.

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?

The core operation and ordering come first, and every clause carries a fact (limits, costs, truncation, freshness). It is dense and semicolon-chained, blending plan limits into the same paragraph as return semantics, which costs some readability but not information.

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 explain result ordering, the truncation signal, and the positional meaning, which is the essential return-value context. It leaves the per-vessel field set and any pagination beyond 'truncated' unspecified, a modest gap for a vessel-list tool.

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 all eight parameters are already documented, including defaults for limit and max_age and the ship_type group convention. The description adds the box-area constraint that governs min/max lat/lon but says nothing extra about limit, max_age, ship_type, or speed, so baseline 3 is right.

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: 'Vessels inside a latitude/longitude box', plus the ordering ('newest report first') and that each is at its last reported position. That spatial-box phrasing implicitly separates it from radius-based siblings like vessels_near, but no sibling is named explicitly, so it stops just short of a 5.

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 real operating context for choosing and running it: per-plan box sizes (1/4/25/100 square degrees), free-account 24h delay and 1,000 credit cap, and 1 credit per vessel returned. It never explicitly says when to prefer a sibling such as search_vessels or vessels_near, so the when-not guidance is absent.

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