Skip to main content
Glama

Portmans Motor Lodge

Check availability

check_availability

Read-only. Returns room types that fit the stay, with nightly and total NZD rates from public rate plans only. By default a public title starts with "BAR - "; a non-empty explicit rate-plan id list in config overrides that. A room with no public plan for the stay is no_public_rate. Respects stop_sell, closed_to_arrival, min_stay_arrival, and occupancy. Dates are ISO dates in Pacific/Auckland, check-out must be after check-in, the stay cannot exceed 30 nights, and check-in cannot be in the past. Does not create a booking and does not accept payment card data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
adultsYesNumber of adults, from 1 to 20.
infantsNoInfants under 1 year. They do not count toward occupancy. One cot is available to hire.
check_inYesCheck-in date YYYY-MM-DD, interpreted in Pacific/Auckland.
childrenYesNumber of children aged 1 or over, from 0 to 20. Do not count infants under 1 here.
check_outYesCheck-out date YYYY-MM-DD. Must be after check-in. Maximum 30 nights.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so thoroughly: it declares read-only, explains public rate plan selection (default 'BAR - ' title, explicit override), defines the no_public_rate outcome, lists respected constraints (stop_sell, closed_to_arrival, min_stay_arrival, occupancy), and states date rules and that it does not create bookings or accept payment card data. This is exactly the kind of rich context an agent needs.

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 description is a single paragraph but front-loads 'Read-only' and then delivers key information in a logical order. Every sentence carries useful content, though the density and lack of formatting (e.g., bullet points) slightly reduce readability.

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?

Given no annotations, no output schema, and a moderately complex read operation, the description covers all essential aspects: what is returned, rate plan logic, special outcomes (no_public_rate), constraint handling, date rules, and explicit negative guarantees. Nothing an agent needs to call it correctly appears missing.

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 100%, so all five parameters are already well-documented in the input schema. The description repeats some date constraints (ISO dates in Pacific/Auckland, check-out after check-in, max 30 nights, no past check-in) but adds no new semantic meaning beyond what the schema provides, making the baseline score of 3 appropriate.

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 verb and resource: returns room types that fit the stay with nightly and total NZD rates from public rate plans. It is clearly not tautological and an agent can infer it is distinct from get_booking_link and get_property_info, but it does not explicitly differentiate from those siblings.

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?

It provides clear context for when to use it (checking availability, read-only) and when not to use it (does not create a booking, does not accept payment card data). However, it does not name or contrast with alternative tools such as get_booking_link or get_property_info, so it falls short of a full 5.

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