Skip to main content
Glama

Get lowest hotel prices

post_hotels_min_rates
Read-only

Retrieve one minimum room rate per hotel for a given list, dates, and occupancy. Use it to show starting prices and compare hotels without fetching full rate details.

Instructions

Overview

Get the cheapest available rate for each hotel in your list. Perfect for displaying price comparisons without loading full rate details.

When to Use

  • Show price ranges on hotel listing pages

  • Quick price comparisons across multiple hotels

  • Optimize performance when you only need the lowest price, not all rate options

  • Build price filters or sorting by price

What You Get

  • Minimum rate per hotel - the cheapest available room option

  • Basic rate information - price, currency, and availability

  • Fast response - optimized for quick price lookups

Key Features

  • Lightweight - Returns only the minimum rate, not all options

  • Same parameters as the main rates endpoint for consistency

  • Perfect for listings - Ideal when displaying multiple hotels where users just need to see starting prices

Quick Start

Provide a list of hotel IDs, dates, and guest occupancy. The endpoint returns the cheapest rate available for each hotel.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
checkinYesCheck in date in YYYY-MM-DD (ISO 8601) format
timeoutNoRequest timeout in seconds
checkoutYesCheck out date in YYYY-MM-DD (ISO 8601) format
currencyYesBooking currency
hotelIdsYesList of hotel IDs
occupanciesYes
guestNationalityYesGuest nationality (ISO 2-code)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive), so the description's additional value is in disclosing the return shape: minimum rate only, price/currency/availability, and an explicitly lighter/faster payload than the full rates call. It does not mention auth, rate limits, or error behavior, which is a minor gap for an openWorld tool.

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

Conciseness2/5

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

Five markdown sections for a single lookup endpoint, with heavy repetition: 'Perfect for displaying price comparisons,' 'Perfect for listings,' and 'ideal when displaying multiple hotels' all say the same thing. The Quick Start paragraph restates parameters already covered by the schema. Front-loading is decent but the padding is substantial.

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?

No output schema exists, but the description compensates by describing the returned fields (minimum rate, price, currency, availability), which is what an agent needs. Combined with 86% schema coverage and clear annotations, the definition is nearly sufficient, though it omits timeout usage and any error/empty-result behavior.

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 description coverage is 86%, so the schema already documents nearly every parameter including date format, currency, and occupancy structure. The description only restates 'hotel IDs, dates, and guest occupancy' and claims parameter parity with the main rates endpoint, adding minimal semantics beyond the schema.

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 (get) and resource (cheapest available rate for each hotel) and explicitly scopes it against the fuller alternative, noting the same parameters as 'the main rates endpoint.' An agent can distinguish this from post_hotels_rates without opening either 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 'When to Use' section gives concrete contexts (listing pages, quick comparisons, price sorting) and a when-not condition ('when you only need the lowest price, not all rate options'). It implies rather than names the sibling post_hotels_rates, so it falls just short of fully explicit routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.