Skip to main content
Glama

Price history

get_price_history
Read-onlyIdempotent

The dated fare history of one sailing, per market and cabin type. Needs a paid API key.

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": {
      "cruise_id": "<cruise_id>"
    },
    "name": "get_price_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNo
fromNo
orderNoBy snapshot date. Default asc.
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.
cruise_idYescruise_id of one sailing, as returned by search_cruises.
cabin_typeNoe.g. INTERIOR, OCEANVIEW, BALCONY, SUITE.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds a genuine behavioral fact beyond them — a paid API key is required — but says nothing about what happens without one, about pagination via cursor, or about rate/cost limits on repeated calls.

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?

Two short sentences with no filler, and the resource description is front-loaded ahead of the access constraint. It is tightly written, though the brevity borders on under-specification for an eight-parameter tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With eight parameters, no output schema, and a paginated, date-ranged result, the description should explain what a snapshot contains and that results page via cursor. Instead it stops at a one-line summary plus an auth note, leaving the agent to reconstruct the return shape from the schema alone.

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 75%, so most parameters are already documented inline (locale, company, cabin_type, cursor, order). The description's "per market and cabin type" does add conceptual meaning by explaining why locale and cabin_type segment the result rather than just filtering it, but it says nothing about from/to, order, or cursor behavior.

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 dated fare history of one sailing, per market and cabin type" names a specific resource (historical fare snapshots), a specific scope (one sailing, one market, one cabin type), which separates it from search_cruises and compare_markets. It does not name a sibling it is not, 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 Guidelines2/5

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

Nothing states when to reach for this versus get_price_drops or compare_markets, and no prerequisites or exclusions are given. The phrase "of one sailing" only weakly implies that a cruise_id from search_cruises must already be in hand, so guidance is effectively absent.

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