Skip to main content
Glama

Hôtel Bonne Nuit - Labuan Bajo

Calendrier des tarifs

get_rate_calendar
Read-only

Calendrier des tarifs : prix exact par nuit (IDR, sans petit-déjeuner) et unités libres de chaque type de chambre, sur une période allant jusqu'à 365 nuits. Utile pour comparer des dates ou trouver les nuits les moins chères. Pour un séjour précis, utiliser ensuite check_availability.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_rate_calendar"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoNombre de nuits à renvoyer
startNoPremière nuit, YYYY-MM-DD (par défaut : aujourd'hui)
adultsNo
room_idNoFacultatif : limiter à une seule chambre (room_id)
childrenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds real substance beyond that by disclosing the currency, that prices exclude breakfast, and the 365-night ceiling on the returned window. It does not describe the shape or volume of the returned calendar rows, which is a modest remaining gap given there is no output schema.

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?

Three short sentences, front-loaded with content and ending with the alternative-route hint. The only redundancy is re-stating the title at the start before the useful payload.

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?

For a zero-required-parameter read tool with no output schema, the description covers what is returned, in what currency, with what exclusions, and over what maximum horizon. What is still missing is the semantics of the occupancy parameters and whether the listed price is tax-inclusive, which matters for a pricing tool.

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 60%: days, start and room_id are documented in the schema, and the description reinforces the 365-night ceiling and the room-type scope. However, the adults and children parameters appear nowhere in either place, and occupancy plausibly affects pricing, so that meaning is left entirely to inference.

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?

The description names the resource (rate calendar) and states concretely what it returns: exact per-night price in IDR excluding breakfast, plus free units for each room type over a window of up to 365 nights. That is far more specific than the title alone and lets an agent distinguish it from check_availability 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 Guidelines4/5

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

It gives explicit use cases ('comparer des dates', 'trouver les nuits les moins chères') and routes the agent to check_availability for a concrete stay. The routing is framed as a follow-up step rather than a strict either/or exclusion, so the boundary between the two tools is implied rather than fully spelled out.

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