Skip to main content
Glama

Live availability

check_availability
Read-only

Check live availability of a yacht on a date from the booking calendar. If it is taken, suggests similar yachts that are free.

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": {
      "yacht_id": "<yacht_id>",
      "date": "<date>",
      "duration": "<duration>"
    },
    "name": "check_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesYYYY-MM-DD
slotNo
guestsNo
durationYesfull_day = 8 hours; half_day = 4 hours (10:00–14:00 or 15:00–19:00)
yacht_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint true, destructiveHint false, openWorldHint false), so the bar is lower. The description adds one genuinely new behavioral fact, that a taken date triggers suggestions of similar free yachts, but says nothing about what the availability result itself looks like, pricing implications, or whether the fallback suggestions are guaranteed.

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 the primary action front-loaded and the fallback behavior second. No filler, though it is thin enough that the brevity reflects underspecification as much as discipline.

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

Completeness3/5

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

No output schema exists, so the description should convey what an availability check returns; it only hints at a fallback list. For a five-parameter, read-only availability tool with partial schema documentation, the definition is adequate but leaves the response shape and the guests/slot dependency unexplained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 40% across five parameters. The description mentions only yacht and date and says nothing about slot, guests (which plausibly affects availability), or how half_day interacts with a slot — leaving the agent to infer cross-parameter semantics the schema does not encode.

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?

Names a specific verb and resource ('Check live availability of a yacht on a date') and adds scope ('from the booking calendar'). It also discloses a secondary behavior (suggesting alternatives), which helps an agent tell it apart from search_yachts, though it never names a sibling explicitly.

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

Usage Guidelines3/5

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

The phrase 'from the booking calendar' implies this is a pre-booking step, so usage is inferable but never stated. There is no explicit when-not guidance and no named alternatives such as search_yachts or start_booking to route between.

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