Skip to main content
Glama
trevorquinn

Supply Chain Disruption Monitor

by trevorquinn

get_vessel_positions

Retrieve live vessel positions from AIS data for any major shipping region to monitor supply chain activity and assess disruption risks. Returns a snapshot of vessels with speed, course, and status.

Instructions

Get live vessel positions from AIS transponder data for a shipping region.

Uses AISStream.io free WebSocket feed (requires AISSTREAM_API_KEY in .env). Listens for ~8 seconds and returns a snapshot of vessels in the region.

Named regions this tool recognizes (not specific to any one route — use whichever apply to the route you're assessing): "South China Sea", "East China Sea", "Strait of Malacca", "Indian Ocean", "Red Sea", "Suez Canal", "Persian Gulf", "Mediterranean", "English Channel", "North Sea", "Taiwan Strait", "East Asia", "Northwest Europe", "North America West", "North America East"

Args: region: Named region — see list above, or call list_major_ports() for context max_vessels: Maximum vessels to return (default 20)

Returns: dict with vessel_count, underway/anchored breakdown, and per-vessel details (MMSI, name, position, speed, course, nav status)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
regionYes
max_vesselsNo
Behavior5/5

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

With no annotations, the description carries full responsibility and excels: it discloses the AISStream.io WebSocket source, the required AISSTREAM_API_KEY in .env, the ~8-second listening time, and that it returns a snapshot. These are critical operational details not visible in the schema.

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?

The description is well-structured into source, region list, args, and returns. The region list is long but necessary for the agent to know valid inputs, and every sentence adds value with no filler.

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?

The tool has no output schema, so the description must explain return values. It does so explicitly: dict with vessel_count, underway/anchored breakdown, and per-vessel details like MMSI, name, position, speed, course, and nav status. Combined with prerequisites and latency, the agent has everything needed to invoke and interpret results.

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

Parameters5/5

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

Schema coverage is 0%, so the description must explain parameters. It fully documents the region parameter with all valid named regions and suggests list_major_ports() for context, and it explains max_vessels with its default. This adds significant meaning beyond the bare schema.

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 clearly states it gets live vessel positions from AIS transponder data for a shipping region, using a specific verb and resource. This is distinct from sibling tools like get_port_congestion or get_port_weather, so no confusion arises.

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?

The description provides clear context for when to use the tool, tying it to route assessment and listing named regions. It also references list_major_ports() for context, but it doesn't explicitly state when not to use the tool or directly name alternatives for the same task.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/trevorquinn/supply-chain-disruption-monitor'

If you have feedback or need assistance with the MCP directory API, please join our Discord server