Skip to main content
Glama

Which port a destination means

resolve_destination
Read-onlyIdempotent

The port an AIS destination text names (such as "NL RTM" or "ROTTERDAM PILOT"), or null. Free. On every Data API plan.

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": {
      "destination": "<destination>"
    },
    "name": "resolve_destination"
  }
}

Input Schema

NameRequiredDescriptionDefault
destinationYesThe destination as the vessel broadcasts it

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 cover readOnly, idempotent, non-destructive and open-world, so the bar is lower. The description adds two genuinely useful behavioral facts beyond them: an unresolved destination yields null rather than an error, and the call carries no cost on any plan. It stops short of saying whether matching is fuzzy or exact.

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?

Extremely tight and front-loaded — the return value leads, and the null case plus cost note follow in two short fragments. Slightly telegraphic, but no sentence is wasted.

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 no output schema, the description is the only source for the return value, and it says merely 'the port' without indicating what a port looks like (name, code, coordinates) or what happens on ambiguous matches. For a simple one-parameter resolver this is adequate but leaves a real gap.

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 coverage is 100% and the single parameter already documents itself as 'the destination as the vessel broadcasts it'. The inline examples of real broadcast formats add modest value by signaling free-form text is acceptable, but nothing is said about casing, trimming, or ambiguity handling. Baseline 3 applies.

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 specific transformation: it takes AIS destination text (with concrete examples "NL RTM", "ROTTERDAM PILOT") and returns the port it names, or null. That is clearly distinguishable from siblings like search_ports or port_now, though the description never names an alternative to sharpen the contrast.

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 only implied: an agent must infer that this is the tool for normalizing a raw broadcast destination string into a port. There is no explicit when-to-use, when-not-to-use, or routing to search_ports for name-based lookups. The 'Free. On every Data API plan.' line addresses cost/availability rather than 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