Skip to main content
Glama

A vessel's activity

vessel_activity
Read-onlyIdempotent

A summary of how a vessel spent the last days (default 30): hours under way, in port, stopped off a port, stopped elsewhere and not heard, the distance sailed, her speeds, her calls and the ports she called at most. Reach back: as set in your Data API agreement. Credits: 5. Needs a Data API plan (see https://gangwayais.com/#pricing or write to desk@gangwayais.com).

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": {
      "mmsi": "<mmsi>"
    },
    "name": "vessel_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoDays back from now (default 30)
mmsiYesThe vessel's MMSI, nine digits

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds genuinely non-derivable context: a credit cost of 5, a requirement for a Data API plan with a pricing link and contact address, and that historical reach-back is bounded by the customer's agreement rather than by the tool. It still does not say what happens for vessels with AIS gaps or unknown MMSI, though 'not heard' gestures at missing-signal handling.

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?

Dense and front-loaded – the core purpose and output inventory come first, with operational constraints (reach-back, credits, plan requirement) trailing. The pricing URL and email make the last sentence a bit cluttered, but every clause carries information; nothing is redundant.

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 must carry the return-value burden, and it does so by listing the activity dimensions returned. Combined with annotations and the full schema coverage on both parameters, only minor gaps remain: units for distance and speeds, and the response shape (single object vs. breakdown).

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning beyond the schema: the 30-day default is restated in context and the effective upper bound on 'days' is governed by the Data API agreement even though the schema advertises a maximum of 365. That resolves a potential conflict an agent would otherwise hit when requesting long ranges.

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 pair ('summary of how a vessel spent the last days') and then enumerates exactly what is summarized: hours under way, in port, stopped off a port, stopped elsewhere, distance sailed, speeds, calls, and top ports. The word 'summary' plus the field list makes it distinguishable from vessel_track (a path) and vessel_port_calls (a call list) without opening other schemas.

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 by the content enumeration – an agent can infer this is the aggregation/rollup tool rather than the detail tool – but no sibling is named and there is no explicit when-to-use or when-not-to-use statement. The lookback rule ('as set in your Data API agreement') is contextual guidance, not alternative selection 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.

Resources