Skip to main content
Glama

HotelRefund Price Tracker

Check a best price guarantee claim

check_refund_claim
Read-only

Check whether a lower price found after booking qualifies for the booking site's best price guarantee, using the same rules as the HotelRefund Refund Report: same-site drops, sites that ended their guarantee (Hotels.com; Expedia for newer bookings), currency mismatch, a price that is not actually lower, and the four matching conditions. Returns a verdict, the claim deadline (date, rule and days left), how the site pays out, the difference, and — with tracking_id — whether HotelRefund's timestamped Agoda records cover the same dates. No personal data is needed or accepted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
check_inYesCheck-in date, YYYY-MM-DD.
languageNoLanguage of the verdict text: en (default), ko, ja or zh.
booked_onYesWhere the stay was booked.
check_outNoCheck-out date, YYYY-MM-DD.
paid_totalNoTotal paid for the stay, taxes included.
booked_dateNoDate the booking was made, YYYY-MM-DD (decides old Expedia bookings).
lower_totalNoTotal of the lower offer for the same stay, taxes included.
tracking_idNoOptional HotelRefund tracking for the same stay — its recorded prices are summarized as independent evidence.
paid_currencyNoISO currency of paid_total.
lower_currencyNoISO currency of lower_total (defaults to paid_currency).
conditions_matchNoWhat the user has confirmed about the lower offer. Anything not true is reported as unconfirmed.
lower_price_siteYesWhere the lower price was seen.
cancellation_policyNoThe booking's cancellation policy.
lower_price_site_otherNoSite name when lower_price_site is "other".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

With readOnlyHint already covering safety, the description goes well beyond it: it enumerates the actual evaluation rules (same-site drops, ended guarantees, currency mismatch, four matching conditions) and discloses the privacy trait that 'no personal data is needed or accepted'. It also describes the output shape in detail, which matters because no output schema exists.

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?

Two sentences, front-loaded with the purpose before the rule list, and nothing is gratuitous. The rule enumeration is dense but each clause maps to a real decision the tool makes, so it earns its space.

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 14-parameter, nested-object tool with no output schema, the description carries the return-value burden well (verdict, deadline, payout, difference, tracking evidence). Minor gap: it does not say what verdict values look like or how deadlines are computed, which an agent might want before interpreting results.

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 still adds meaning by tying parameters to semantics the schema alone does not convey — e.g. tracking_id as independent timestamped evidence, currency mismatch as a rejection reason, and booked_date deciding old Expedia bookings.

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 (check) and resource (best price guarantee claim) and pins the exact rule set it applies — HotelRefund Refund Report rules. It is clearly distinguishable from siblings like get_refund_guide (guidance) and draft_refund_request (drafting), without needing to open 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 Guidelines3/5

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

The scope 'lower price found after booking' implies the usage context, and the tracking_id sentence hints at when to supply extra evidence. However, it never explicitly says when to use this versus get_refund_guide or draft_refund_request, nor states any exclusions or prerequisites. Adequate but leaves routing to inference.

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