Skip to main content
Glama

Hôtel Bonne Nuit - Labuan Bajo

Disponibilités et prix

check_availability
Read-only

Disponibilités et prix EXACTS (IDR, taxes comprises) par type de chambre pour un séjour (max 30 nuits), calculés pour le nombre d'adultes et d'enfants demandé. Renvoie pour chaque chambre le prix total SANS petit-déjeuner (total_price) et AVEC petit-déjeuner (total_price_with_breakfast), son room_id et un lien book_url vers le moteur de réservation officiel de l'hôtel. Enfant = moins de 8 ans.

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": {
      "checkin": "<checkin>",
      "checkout": "<checkout>"
    },
    "name": "check_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
adultsNo
checkinYesDate d'arrivée, YYYY-MM-DD
checkoutYesDate de départ, YYYY-MM-DD (après checkin)
childrenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description carries real weight and delivers: currency (IDR), taxes included, a hard 30-night cap, breakfast/no-breakfast price variants, and a book_url pointing at the official booking engine. It stops short of saying what happens when nothing is available or whether the 30-night cap produces an error versus truncation.

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?

Information is front-loaded: the headline states exact prices with currency and tax basis before the return details, and every clause (room_id, book_url, child age) is functional. It is dense but not padded; a slightly cleaner split between what it computes and what it returns would improve scanability.

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

Completeness4/5

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

With four parameters and no output schema, the description must explain the payload and does so fully (total_price, total_price_with_breakfast, room_id, book_url). Remaining gaps are edge behavior — empty availability, invalid date ranges, and how the occupancy limits (adults max 3, children max 1) interact with room types.

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

Parameters5/5

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

Schema coverage is only 50% — adults and children have no schema descriptions at all — and the description compensates directly by defining the occupancy basis and, critically, that a child means under 8 years old, which is otherwise unknowable from a plain integer parameter with max 1. The 30-night cap also gives meaning to the checkin/checkout pair beyond the schema's 'après checkin' note.

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 names a specific operation and scope: exact availability and prices by room type for a stay of up to 30 nights, computed for the given occupancy. It clearly is not a booking tool or a calendar tool, but it never explicitly contrasts itself with siblings such as get_rate_calendar or list_room_types, so the agent must infer the boundary.

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 rather than stated: 'pour un séjour (max 30 nuits)' signals the intended call context and constraint, but there is no explicit when-to-use versus when-not-to-use guidance and no pointer to book_room once a room is chosen or to get_rate_calendar for date-range browsing.

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