Skip to main content
Glama

find_best_sailings

Decision query: the best upcoming sailings on a lane, ONE per carrier (next bookable departure), ranked. Filter by date window, max transit days, min on-time reliability, cut-off still open, and direct-vs-transshipment. Use this to answer "what should I book?". etd, eta, cutoff.at and the from/to window are port-local times with no timezone offset (2026-10-01T13:00:00): quote the digits, do not convert; only retrieved_at is UTC. With Navo Tokens this costs 80 tokens for a new port pair and 10 for a repeat of the same pair within 24 hours (shared with the other lane search); an empty answer is free.

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

Input Schema

NameRequiredDescriptionDefault
toNoLatest departure date YYYY-MM-DD (default: +60 days)
fromNoEarliest departure date YYYY-MM-DD, today or later (default: today)
sortNoRanking (default recommended = reliability blended with transit)
cutoffNoOnly sailings whose booking cut-off has not passed. Sailings where no cut-off is held are kept by default; each option carries cutoff_status saying which case it is.
originYesOrigin port UN/LOCODE or name resolves upstream, e.g. CNSHA
destinationYesDestination port UN/LOCODE, e.g. NLRTM
transshipmentNotrue keeps only sailings that change ship, false only sailings proven direct. Omit it for both: a sailing whose routing we do not hold is returned by neither side, because we will not call a sailing direct without evidence.
max_transit_daysNoMaximum transit time in days
reliability_floorNoMinimum 90-day on-time %, 0-100
cutoff_include_unknownNoDefault true. false narrows to sailings where a deadline is actually held and still ahead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / from / description
      Previous value: -"Earliest departure date YYYY-MM-DD (default: today)"New value: +"Earliest departure date YYYY-MM-DD, today or later (default: today)"
  2. Changed5 schema fields changed
    • addedInput schema / properties / cutoff
      Added value: +{
      +  "const": "open",
      +  "description": "Only sailings whose booking cut-off has not passed. Sailings where no cut-off is held are kept by default; each option carries cutoff_status saying which case it is.",
      +  "type": "string"
      +}
    • addedInput schema / properties / cutoff_include_unknown
      Added value: +{
      +  "description": "Default true. false narrows to sailings where a deadline is actually held and still ahead.",
      +  "type": "boolean"
      +}
    • removedInput schema / properties / cutoff_open
      Removed value: -{
      -  "description": "Only sailings whose booking cut-off has not passed",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / direct_only
      Removed value: -{
      -  "description": "Exclude transshipment routings",
      -  "type": "boolean"
      -}
    • addedInput schema / properties / transshipment
      Added value: +{
      +  "description": "true keeps only sailings that change ship, false only sailings proven direct. Omit it for both: a sailing whose routing we do not hold is returned by neither side, because we will not call a sailing direct without evidence.",
      +  "type": "boolean"
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses token cost (80 for a new port pair, 10 for a repeat within 24h, shared with other lane search, empty answer free), the default ranking formula, and the important caveat that an unknown routing matches neither transshipment=true nor false. Missing: what each returned sailing contains beyond cutoff_status, and any permission/auth requirements.

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?

Front-loaded with the core what/why, then filters, then the timezone warning, then cost. Every clause carries operational value — the timezone rule and the 'empty answer is free' note both affect agent behavior, so nothing is padding.

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?

Ten parameters, no output schema, no annotations — the description compensates well on cost, timing semantics, ranking, and the routing-evidence edge case. Its remaining gap is return-shape detail: aside from mentioning cutoff_status per option, it never says what fields or ordering the ranked result carries, which matters given there is no output schema.

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; the description nonetheless clarifies that from/to and etd/eta/cutoff.at are port-local times with no offset and must be quoted verbatim rather than converted — meaning that materially changes how from/to are supplied. It also restates the default 'recommended' ranking blend. max_transit_days and reliability_floor get no extra elaboration, but the schema already defines them.

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 precise verb and resource — 'best upcoming sailings on a lane, ONE per carrier (next bookable departure), ranked' — and explicitly frames it as a 'Decision query', which separates it from raw schedule lookups like get_schedules. The dedup rule (one per carrier) and ranking are stated up front.

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?

'Use this to answer "what should I book?"' gives a clear situational trigger, and the filter list (date window, max transit, reliability floor, cut-off open, direct vs transshipment) shows what questions it answers. It does not name a sibling alternative or state when NOT to use it — e.g. when the agent just wants full schedules — so it stops short of full routing 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.