Skip to main content
Glama

Plan a passage

plan_route
Read-onlyIdempotent

A sea route between two positions, through the traffic separation schemes, with its distance and legs. Give the vessel's length and draught to keep her in water deep enough. A planning aid from charts and data that can be wrong: never for navigation. At most 6 a minute. Credits: 10. 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": {
      "from_lat": "<from_lat>",
      "from_lon": "<from_lon>",
      "to_lat": "<to_lat>",
      "to_lon": "<to_lon>"
    },
    "name": "plan_route"
  }
}

Input Schema

NameRequiredDescriptionDefault
to_latYesLatitude in decimal degrees, north positive
to_lonYesLongitude in decimal degrees, east positive
from_latYesLatitude in decimal degrees, north positive
from_lonYesLongitude in decimal degrees, east positive
length_mNoHer length overall in metres
draught_mNoHer draught in metres

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/openWorld annotations, it discloses the throughput cap (6 per minute), the credit cost (10), the subscription requirement with a contact route, and an accuracy disclaimer that the charts and data can be wrong. It also indicates the shape of the result (distance and legs). That is unusually complete behavioral context for a read-only tool.

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 text is dense and front-loads what the tool produces before moving to inputs, caveats and cost. Sentences are terse and each carries information, though the clipped phrasing ('At most 6 a minute. Credits: 10.') reads as fragments rather than a cleanly structured paragraph.

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 still signals that the result contains distance and legs, and it covers cost, rate limits, access prerequisites and the safety disclaimer. It omits failure behavior for unroutable or land coordinates, which is the main remaining gap for a six-parameter planning tool.

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 already 100%, so coordinates need no further explanation. The description still adds genuine meaning for the two optional parameters by explaining that length and draught are supplied so the route keeps the vessel in sufficiently deep water, which tells the agent why to include them rather than omit them.

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 states a concrete verb and output: it computes a sea route between two positions, routed through traffic separation schemes, returning distance and legs. That is far more specific than the title 'Plan a passage'. It does not explicitly say how it differs from the sibling check_route, so it stops 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear usage context ('a planning aid... never for navigation') and practical preconditions (rate limit, credit cost, required Data API plan). However, it never says when to choose this over alternatives such as check_route, leaving that inference to the agent.

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