Skip to main content
Glama

One cruise: itinerary and prices

get_sailing
Read-onlyIdempotent

One sailing by id (from search_sailings): the day-by-day itinerary (port, arrival and departure times, docked or by tender, sea days) and the all-in price for the party in each cabin class. Prices only from the returned rows. When the line gives the ports without their order, itinerary is empty and ports_unordered lists them A to Z (order_confirmed false): never state an order, days or sea days then. local_prices: the line's own fares in the departure market's currency (AU, NZ, GB departures, two adults); quote all_in_for_two first when leads is true. book_url is our booking link: link that, never a booking site by name.

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": {
      "sailing_id": "<sailing_id>"
    },
    "name": "get_sailing"
  }
}

Input Schema

NameRequiredDescriptionDefault
partyNoWho travels: 2A two adults (default), 1A one adult, 2A2C two adults and two children2A
sailing_idYesSailing id from search_sailings

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower, yet the description still adds substantial behavioral context: the degenerate empty-itinerary case with ports_unordered sorted A to Z, the meaning of order_confirmed, the currency scope of local_prices (departure-market currency, two adults, AU/NZ/GB), and the leads flag for which price to quote first. It also constrains how book_url may be presented.

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?

Purpose is front-loaded in the first clause and every subsequent sentence carries a concrete rule rather than filler. It is dense and unparagraphed, with several caveats packed into long sentences, which costs a little readability but wastes no words.

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?

There is no output schema, so the description must carry the return-shape burden, and it does: itinerary contents, ports_unordered, order_confirmed, local_prices currency semantics, all_in_for_two, leads, and book_url are all named with their interpretation. For a two-parameter read tool with an already-annotated safety profile, nothing an agent needs to call or interpret it is missing.

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 description coverage is 100%: sailing_id carries its pattern and provenance and party carries its enum and default, so the schema already does the parameter work. The description reinforces provenance for sailing_id and touches party only obliquely via 'the all-in price for the party', adding little beyond the structured fields. Baseline 3 applies.

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 opens with a specific verb+resource combination: fetch one sailing by id, returning its day-by-day itinerary (port, arrival/departure times, docked vs tender, sea days) and per-cabin-class all-in prices. That scope is clearly distinct from the sibling search_sailings, which is named as the source of the id.

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?

It tells the agent where the id comes from (search_sailings) and gives explicit when-not rules: when order_confirmed is false, never state an order, days, or sea days, and use ports_unordered instead. It also states a quoting priority (all_in_for_two first when leads is true) and a linking rule (use book_url, never name a booking site). There is no explicit exclusion of siblings like excursions_for_sailing or get_line, so 4 rather than 5.

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