Skip to main content
Glama

A cruise line

get_line
Read-onlyIdempotent

A cruise line by id (from find): passengers' score overall, by topic (food, service, cabins...) and by traveller type (couples, families...), its ships ranked by score, its daily gratuities and Wi-Fi (Starlink, plan prices, each with the line's own source), its price-drop rule (whether you can claim a lower price after booking, and how it's paid back) and final-payment schedule, from its own terms (price_drop.claimable null means we found no rule on the line's own pages, not that it refuses; earlier_rule gives a guarantee that covered earlier bookings only), and its lowest all-in price for two in the next 12 months. Quote prices only from the returned rows.

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": {
      "line_id": "<line_id>"
    },
    "name": "get_line"
  }
}

Input Schema

NameRequiredDescriptionDefault
line_idYesCruise line id (from find with kind line), e.g. royal-caribbean

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, closed-world, so the bar is low, yet the description adds real behavioral context: data provenance ('each with the line's own source', 'from its own terms'), and crucially the null semantics ('price_drop.claimable null means we found no rule on the line's own pages, not that it refuses') plus the scoped meaning of 'earlier_rule'. These prevent a downstream agent from misreading absence as refusal, which no annotation or schema conveys.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loading the resource and its id origin is good, but the remainder is one dense run-on sentence with stacked parentheticals (gratuities, Wi-Fi, price-drop, null caveats), which is hard to parse at a glance. Every clause carries information, but a few sentences would deliver the same content far more readably.

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 describe the return payload, and it does so field-group by field-group, including caveats on nullable fields and provenance markers. It also explicitly tells the agent to source quoted prices from the returned rows rather than elsewhere, closing the main misuse risk.

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% and the single line_id parameter already documents its format and example, so the schema does the heavy lifting. The description only reinforces provenance ('from find'), adding no new constraint on the id itself.

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 the resource ('A cruise line by id') and then enumerates exactly what the record contains: scores overall/by topic/by traveller type, ranked ships, gratuities and Wi-Fi with sources, price-drop rule and payment schedule, and lowest all-in price for two. A clear identifier ('from find') plus the content inventory distinguishes it from get_ship, get_sailing and get_port without needing their schemas.

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?

The '(from find)' clause tells the agent where the required id must come from, and 'Quote prices only from the returned rows' is an explicit usage constraint. It stops short of naming when a sibling is the better choice (e.g. rank_ships for pure ranking), so it is clear context without exclusions.

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