Skip to main content
Glama

check_availability

Read-only

Find rooms available for the entire stay and guest count, sorted by lowest price. Returns today's date for booking context.

Instructions

Rooms free for the whole stay that fit the party, cheapest first. Also returns today's date.

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": {
      "check_in": "<check_in>",
      "check_out": "<check_out>"
    },
    "name": "check_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
guestsNo
check_inYesYYYY-MM-DD
check_outYesYYYY-MM-DD

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

The readOnlyHint already establishes that this is a safe read operation. The description adds some useful behavioral detail: results are constrained to rooms free for the whole stay, fit the party, are sorted cheapest first, and include today's date. It does not explain error behavior, date handling, or the shape of each room result.

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

Conciseness5/5

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

The definition is two short sentences with no wasted wording. The primary behavior is front-loaded, and the return of today's date is stated compactly as secondary context.

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?

For a simple read-only availability tool, the description covers purpose, filtering, sorting, and one returned value. However, with no output schema, it leaves the room result structure and other return details unspecified, and it gives only limited guidance on the guests parameter.

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 67%, with check_in and check_out already documented as YYYY-MM-DD. The description adds meaning by tying those dates to a whole-stay requirement and tying guests to party fit, but it does not elaborate on guest limits, defaults, or date interpretation beyond the schema.

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 description states a specific operation: finding rooms free for the entire stay and fitting the party, sorted cheapest first. It is clearly an availability search rather than a booking or reporting tool, though it does not explicitly contrast itself with siblings such as create_booking or occupancy_report.

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?

Usage is implied by the description: call this to find available rooms for a stay. There is no explicit when-to-use or when-not-to-use guidance, nor any mention of alternatives like create_booking or occupancy_report, so the agent must infer the selection context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.