Skip to main content
Glama

Search cruises

search_cruises
Read-onlyIdempotent

Find sailings with their lowest per-person fare. Filter by cruise line, market, departure dates, nights, ship, destination, departure_port (where the sailing starts) and port (any port the ship calls at). "Cruises from Genoa" is departure_port, not port. One row per sailing per market, so set locale; company is optional, one search covers every cruise line. Rows come by departure date. When a first page is cut off, total_matching is the number of matching rows (a minimum with total_matching_is_minimum). Sorting or filtering by price needs an Ultra or Mega key; without one a price ranking ("the cheapest") is not available and cannot be rebuilt from date-ordered pages. Port names follow each market's language (Genoa is "Gênes" in fr_FR); an empty result with a locale may carry a hint naming the local spelling. Returns the cruise_id the other tools take.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_cruises"
  }
}

Input Schema

NameRequiredDescriptionDefault
portNoPorts the ship calls at; exact names from list_options. Any of them matches.
shipNoShip names; exact names from list_options. Any of them matches.
sortNoDefault departure_date:asc. Price and updated_at sorts need an Ultra or Mega key.
limitNoRows to return. Default: 25 without a key, else 10. The plan caps it.
cursorNonext_cursor from the previous page. Needs an API key.
localeNoBooking market, e.g. en_US, en_GB, it_IT, de_DE.
companyNoCruise line slug, e.g. royal-caribbean, msc, ncl.
destinationNoDestination names; exact names from list_options. Any of them matches.
max_durationNoNights.
min_durationNoNights.
max_price_eurNoPer person, EUR. Needs an Ultra or Mega key.
min_price_eurNoPer person, EUR. Needs an Ultra or Mega key.
departure_portNoPorts the sailing starts from, as list_options field departure_ports spells them for the locale; exact names from list_options. Any of them matches.
departure_afterNo
departure_beforeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / max_price_eur / description
      Previous value: -"Per person, EUR. Needs a paid key."New value: +"Per person, EUR. Needs an Ultra or Mega key."
    • changedInput schema / properties / min_price_eur / description
      Previous value: -"Per person, EUR. Needs a paid key."New value: +"Per person, EUR. Needs an Ultra or Mega key."
    • changedInput schema / properties / sort / description
      Previous value: -"Default departure_date:asc. Price and updated_at sorts need a paid key."New value: +"Default departure_date:asc. Price and updated_at sorts need an Ultra or Mega key."
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well past the readOnly/idempotent annotations: discloses result ordering (by departure date), truncation semantics ('total_matching is the number of matching rows... a minimum'), key-tier gating on price sort/filter, and locale-dependent port naming with a hint on empty results. These are exactly the traps an agent would otherwise hit.

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?

Front-loads the purpose and every sentence carries information, but it is delivered as one dense paragraph of long clauses; a couple of the key-tier and locale notes would land faster as short separated lines.

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?

For a 15-parameter tool with no output schema it covers ordering, pagination, truncation, key tiers and the locale pitfall. The gap is the row shape: it only says 'Returns the cruise_id the other tools take' and never hints at the fare/date fields an agent will actually read.

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 87% so the baseline is 3; the description adds real meaning on top by clarifying the port vs departure_port split, that locale drives both the market row and the spelling of port values, and that company filtering is optional. It leaves departure_after/departure_before and duration bounds to the schema, which is acceptable at this coverage.

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 specific verb and resource ('Find sailings with their lowest per-person fare') plus the row grain ('one row per sailing per market'), which lets an agent distinguish it from get_cruise or list_options without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly resolves the hardest routing decision ('"Cruises from Genoa" is departure_port, not port'), tells the agent that company is optional and locale must be set, and states the negative case: without an Ultra/Mega key a price ranking is 'not available and cannot be rebuilt from date-ordered pages.'

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