Skip to main content
Glama

Watch a cruise price

watch_sailing
Idempotent

Start a price alert for the signed-in user on one sailing (id from search_sailings or get_sailing), for a party and cabin: we email them when the all-in price drops by 3% and at least $25, or below target_total_usd if given. Offer it after showing a sailing the user likes ("Want me to watch this price?"); call it only when they say yes. Needs the user's Cruise Register account: if they aren't connected yet, the result asks them to connect. Never tell the user a watch is set unless this call succeeded.

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": "watch_sailing"
  }
}

Input Schema

NameRequiredDescriptionDefault
cabinNoCabin class; any = the cheapest cabinany
partyNoWho travels: 2A two adults (default), 1A one adult, 2A2C two adults and two children2A
sailing_idYesSailing id
target_total_usdNoAlert when the all-in total for the party falls to this, if the user names a price

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true), the description discloses the side effect (we email them on a qualifying drop), the exact alert threshold logic, the account prerequisite, and the not-connected fallback path. It also adds an honesty constraint about not claiming success prematurely.

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?

The core action and alert rule are front-loaded, and subsequent sentences cover consent, auth, and success semantics. It is a single dense paragraph rather than organized lines, and the threshold clause is somewhat compressed, but no sentence is wasted.

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?

With no output schema, the description still explains what the result means when the user is not connected and how to treat success. For a write tool (creating an alert) with an auth requirement and an email side effect, all the information needed to call it correctly is present.

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%, so cabin, party, sailing_id, and target_total_usd are already documented in the schema with enums and patterns. The description only restates the target price condition ('or below target_total_usd if given'), adding little semantic meaning beyond 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?

States a specific verb and resource ('Start a price alert ... on one sailing') plus the exact trigger conditions (3% and $25 drop, or target_total_usd). It also names the source of the required id (search_sailings or get_sailing), so the agent knows where the input comes from without opening the 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?

Gives explicit when-to-use and a consent precondition: offer it after showing a sailing the user likes, and 'call it only when they say yes.' That is a clear behavioral gate rather than an implied one, and it explicitly rules out proactive invocation.

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