Skip to main content
Glama

TravelDeals

A hotel’s measured prices

hotel_prices
Read-onlyIdempotent

TravelDeals’ measured prices for one tracked hotel: its headline series (one refundable night for 2 adults, booked 30 days ahead) with the latest reading, 90-day median, low, high and up to 90 dated readings (one reading a night, each for a different check-in date); every other stay length and rate class as its own series (multi-night prices are stay totals); the hotel’s own typical price by month for the year ahead; its cheapest measured nights with a link that opens the hotel page on that date; and a live deal if one is on. These are recorded prices, not live quotes: for today’s room prices, open the url. Pass city and hotel slugs from find_hotels, or a hotel page url.

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": "hotel_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNohttps://traveldeals.com/stays/<city>/<hotel>
cityNo
hotelNo

Output Schema

NameRequiredDescriptionDefault
foundYes
hotelNo
unitsYes
headlineNo
liveDealNo
monthsAheadNo
otherSeriesNo
cheapestNightsNo
dataPublishedAtYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), but the description adds real behavioral context: figures are recorded rather than live, multi-night figures are stay totals, readings are one-per-night for distinct check-in dates, and the included link opens the hotel page on that date. It stops short of explaining staleness/freshness windows or any rate limits, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, but the body is a single semicolon-chained sentence cataloguing every returned field — content an output schema already documents, so it does not fully earn its space. The guidance sentences at the end are efficient, but the mid-section could be trimmed without loss.

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 read-only lookup with an output schema and full annotation coverage, the description supplies the extra context an agent needs: recorded-vs-live distinction, meaning of the reading counts, and how to source identifiers. Missing only a note on what happens if neither identifier nor url is given, and any explicit sibling routing.

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?

Note: schema coverage is only 33% and no parameter is marked required, so the description must carry weight — which it does. It tells the agent exactly where the city/hotel values come from (find_hotels slugs) and that a hotel page url is an accepted alternative, a relationship the flat schema cannot express since there is no oneOf/anyOf. It still leaves unclear whether both slugs must be supplied together.

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 resource — 'TravelDeals' measured prices for one tracked hotel' — and enumerates exactly what comes back (headline series, monthly typical prices, cheapest nights, deal). It also implicitly distinguishes itself from find_hotels by saying the slugs come from there, and from live quoting by pointing to the url. The one weakness is that 'a live deal if one is on' overlaps conceptually with the live_deals sibling without clarifying the relationship.

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 states both the prerequisite ('Pass city and hotel slugs from find_hotels, or a hotel page url') and an explicit when-not: 'These are recorded prices, not live quotes: for today's room prices, open the url.' What it omits is any routing to the live_deals or city_price_calendar siblings, so the agent must infer those boundaries on its own.

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