Skip to main content
Glama

Report the prices seen on the hotel's own site

report_hotel_price

After check_direct_price asked you to open the hotel's own website for a stay, report the prices that site showed for the same dates and guests, and get the honest comparison with Booking.com. Give the check_id from check_direct_price and one entry per room or rate you saw, each with its total for the whole stay in euros and, when shown, its meal plan and cancellation terms. Report only what the hotel's own site showed; leave a field out when the site did not say it. The report is kept anonymously so the next traveller asking about the same stay gets an answer at once.

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": {
      "offers": "<offers>"
    },
    "name": "report_hotel_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoThe town or city the hotel is in, e.g. "Sitges". Helps find hotels we have not checked before.
hotelNoThe hotel's name as the traveller sees it, e.g. "Hotel Calipolis".
adultsNoNumber of adults (default 2).
offersYesThe rooms and rates the hotel's own site showed for the stay.
checkinNoCheck-in date, YYYY-MM-DD.
check_idNoThe check_id returned by check_direct_price.
checkoutNoCheck-out date, YYYY-MM-DD.
page_urlNoThe address of the hotel's page where you saw the prices (only its host is kept).
booking_urlNoOptional: the Booking.com address of the hotel's page (https://www.booking.com/hotel/…). Only the address is read, to recognise the hotel and the dates; the page is never opened.
booking_roomNoThe room name of the Booking.com offer, when shown.
booking_totalNoThe total Booking.com shows for the whole stay, in euros, when known. Without it you get the hotel's own price and, when the evidence allows, an estimated saving.
children_agesNoEach child's age on the day of check-out, one number per child. Leave out when no children travel. Hotels price children by age, so ages are needed for families.
booking_meal_planNoThe meal plan of the Booking.com offer, when Booking.com shows it.
booking_taxes_extraNoTaxes Booking.com lists on top of its total, in euros (e.g. a city tax), when shown.
booking_cancellationNoThe cancellation terms of the Booking.com offer, when Booking.com shows them: free cancellation, non-refundable, or partly refundable.
booking_taxes_includedNotrue when Booking.com says its total includes taxes and charges; false when it lists taxes on top.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and openWorldHint=false, and the description corroborates the write behavior by explaining the side effect: 'The report is kept anonymously so the next traveller asking about the same stay gets an answer at once.' It also adds a data-integrity rule ('Report only what the hotel's own site showed; leave a field out when the site did not say it') that annotations cannot convey.

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?

Front-loaded with the trigger and handoff ('After check_direct_price…'), then what to submit, then a one-sentence rationale for the anonymous storage. No sentence is redundant with the title or schema.

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 16-parameter tool with no output schema, the description covers the workflow, the required check_id, the offer-entry shape and the omission rule, and hints at the returned comparison/saving. It leaves the exact response shape to be inferred, but the schema's parameter text fills most remaining gaps.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns a notch above by giving an inclusion rule beyond the schema — omit fields the site did not state — and by clarifying that each offer entry needs a whole-stay total in euros plus, when present, meal plan and cancellation terms.

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?

States a specific verb and resource: report the prices the hotel's own site showed for the same stay, and get a Booking.com comparison. It distinguishes itself from the sibling check_direct_price by naming the sequencing ('After check_direct_price asked you to open the hotel's own website'), so an agent can place it without opening a 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?

The trigger is explicit: use this after check_direct_price has sent you to the hotel's own site, and pass the check_id it returned. It doesn't state an explicit when-not (e.g. what to do if the site showed no prices), but the preconditions and required handoff are clear.

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