Skip to main content
Glama

HotelRefund Price Tracker

Write a refund claim or hotel request

draft_refund_request
Read-only

Write the text for one of four requests, in en, ko, ja or zh: price_guarantee (claim to the booking site for the difference), date_change, goodwill_refund (for a non-refundable booking, with a reason) or checkin_request (upgrade, late check-out or breakfast, citing the lower price) to the hotel. Returns a short message for a chat or claim form and a full letter. The confirmation number and guest name are not accepted; they appear as placeholders in the text. With tracking_id, HotelRefund's recorded Agoda prices for the same dates are added to price_guarantee and checkin_request letters. The same letter can be saved as a PDF at refund_report_url.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityNo
kindYes
perksNocheckin_request: what to ask for.
adultsNoDefault 2.
reasonNogoodwill_refund: why the stay cannot go ahead.
check_inYesYYYY-MM-DD.
booked_onNoBooking site. Required for price_guarantee; omit for a direct hotel booking.
breakfastNoBreakfast included in the booking.
check_outYesYYYY-MM-DD.
lower_urlNoLink to the lower offer.
room_typeNo
hotel_nameYes
paid_totalNoTotal paid, taxes included. Required for price_guarantee.
booked_dateNoYYYY-MM-DD.
lower_totalNoRequired for price_guarantee.
tracking_idNoOptional HotelRefund tracking for the same stay.
new_check_inNodate_change: requested new check-in, YYYY-MM-DD. Omit to ask which dates are possible.
lower_seen_atNoWhen the lower price was seen, e.g. 2026-10-02 14:30.
new_check_outNodate_change: requested new check-out, YYYY-MM-DD.
paid_currencyNoISO currency of paid_total.
lower_currencyNo
letter_languageNoLanguage of the text: en (default), ko, ja or zh. Usually the language the booking site or hotel reads.
lower_price_siteNoRequired for price_guarantee.
cancellation_policyNo
lower_price_site_otherNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations cover only readOnly/openWorld, so the description must add the substance, and it does: it discloses the return shape (a short chat/form message plus a full letter), the PDF side-effect available at refund_report_url, the reject rule that confirmation number and guest name are not accepted and render as placeholders, and the enrichment behavior when tracking_id is supplied. These are exactly the traits an agent cannot infer from annotations or 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 dense sentences, front-loaded with the action and the four kinds before the operational caveats. Every clause carries information, though the kind-specific parentheticals make the opening sentence long enough that an agent must parse carefully.

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 25-parameter, no-output-schema tool, the description covers the important gaps: it explains the four modes, the price_guarantee preconditions, the placeholder rule for identity fields, and the response contents so the missing output schema is less damaging. It is slightly thin on the minor parameters and does not spell out the full structure of the two returned texts.

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?

With 72% schema coverage the schema already carries a lot, yet the description adds real cross-field semantics the schema does not: booked_on/paid_total/lower_total/lower_price_site are grouped as price_guarantee requirements, new_check_in may be omitted to ask which dates are possible, and tracking_id injects recorded Agoda prices into specific letter types. Remaining parameters (city, room_type, adults, cancellation_policy, breakfast) are left unexplained in the description.

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?

Names a specific action (write the text of a request) and enumerates the four exact kinds supported, with a one-clause gloss for each (claim for the price difference, date_change, goodwill_refund for non-refundable bookings, checkin_request citing a lower price). An agent can distinguish this from siblings like get_refund_guide or check_refund_claim without opening any 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?

Gives clear per-kind selection guidance, including the critical precondition that only goodwill_refund applies to non-refundable bookings and that price_guarantee is a claim against the booking site rather than the hotel. It never states when NOT to use this tool or points to a sibling alternative, so it stops short of a 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