Skip to main content
Glama
viajante

viajante

Hotel room rates

search_hotel_rooms
Read-onlyIdempotent

Get room rates for a specific Skiplagged hotel by hotel ID or exact name and city, showing room types and whole-stay totals for up to three finalists.

Instructions

Room rates for one Skiplagged hotel, for 1-3 finalists. Name it by hotel_id (the provider_id of a skiplagged search_hotels offer) or by hotel_name plus city. A name must match exactly (case, accents and punctuation ignored); no match or several matches is no_results, never a guess. city is City or City, qualifier: an ISO country (UK is GB) or an English country or region (Paris, FR; Paris, France; Paris, Texas). Use the name form for a Google finalist: a Google hostel price can be a dorm bed, and these rates say what the room is. Rates are USD, not converted, in provider order. total_price is the whole stay for the party and rooms searched. occupancy_limit is per room type and is not proof that a party fits across rooms. Skiplagged only: do not mix these rows with Google or Booking prices.

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": {
      "check_in": "<check_in>",
      "check_out": "<check_out>"
    },
    "name": "search_hotel_rooms"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNo
roomsNo
adultsNo
check_inYes
hotel_idNo
check_outYes
hotel_nameNo

Output Schema

NameRequiredDescriptionDefault
statusYes
empty_noteYes
error_codeYes
observed_atYes
retry_afterYes
completenessYes
empty_reasonYes
completeness_noteYes
observed_at_basisYes
retry_after_secondsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.5.7
    • addedOutput schema / properties / completeness_note
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "status",
      -  "completeness",
      -  "empty_reason",
      -  "empty_note",
      -  "error_code",
      -  "retry_after",
      -  "retry_after_seconds",
      -  "observed_at",
      -  "observed_at_basis"
      -]New value: +[
      +  "status",
      +  "completeness",
      +  "empty_reason",
      +  "empty_note",
      +  "completeness_note",
      +  "error_code",
      +  "retry_after",
      +  "retry_after_seconds",
      +  "observed_at",
      +  "observed_at_basis"
      +]
  2. Changed9 schema fields changedv1.5.2
    • removedInput schema / properties / adults / title
      Removed value: -"Adults"
    • removedInput schema / properties / check_in / title
      Removed value: -"Check In"
    • removedInput schema / properties / check_out / title
      Removed value: -"Check Out"
    • removedInput schema / properties / city / title
      Removed value: -"City"
    • removedInput schema / properties / hotel_id / title
      Removed value: -"Hotel Id"
    • removedInput schema / properties / hotel_name / title
      Removed value: -"Hotel Name"
    • removedInput schema / properties / rooms / title
      Removed value: -"Rooms"
    • removedInput schema / title
      Removed value: -"search_hotel_roomsArguments"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "completeness": {
      +      "enum": [
      +        "complete",
      +        "partial",
      +        "blocked"
      +      ],
      +      "type": "string"
      +    },
      +    "empty_note": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "empty_reason": {
      +      "anyOf": [
      +        {
      +          "enum": [
      +            "provider_empty",
      +            "filtered_out",
      +            "not_loaded"
      +          ],
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "error_code": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "observed_at": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "observed_at_basis": {
      +      "anyOf": [
      +        {
      +          "enum": [
      +            "provider",
      +            "fetch"
      +          ],
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "retry_after": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "retry_after_seconds": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "status": {
      +      "enum": [
      +        "ok",
      +        "no_results",
      +        "rate_limited",
      +        "blocked",
      +        "timeout",
      +        "failed"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "completeness",
      +    "empty_reason",
      +    "empty_note",
      +    "error_code",
      +    "retry_after",
      +    "retry_after_seconds",
      +    "observed_at",
      +    "observed_at_basis"
      +  ],
      +  "type": "object"
      +}
  3. Addedv1.4.1

TDQS

A4.2/5.0
Behavior4/5

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

Adds substantial behavior beyond the read-only/idempotent annotations: no match or ambiguous match yields no_results rather than a guess, rates are USD and unconverted in provider order, and total_price reflects the whole stay for the party and rooms searched. The caveat that occupancy_limit is per room type and is not proof a party fits is exactly the kind of trap disclosure annotations cannot carry.

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?

Dense and front-loaded with the addressing rules first, and most sentences carry distinct information. However, the caveat stack (exact match, no_results, USD, total_price, occupancy_limit, no mixing) reads as an accretion of edge cases rather than a structured brief, so it is longer and harder to scan than it needs to be.

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?

Given an output schema exists, return fields need not be explained, yet the description still clarifies total_price and occupancy_limit, which is above bar. The main gap is the date parameters' expected format for required check_in/check_out, plus no guidance on how rooms and adults affect matching.

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 0% schema description coverage the description must carry the load, and it does for the addressing params: hotel_id is tied to a search_hotels provider_id, hotel_name requires city, and city accepts 'City, qualifier' with ISO or English country forms plus the UK=GB note. It leaves check_in/check_out formats and the rooms/adults semantics undocumented, which is a real remainder.

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 resource (room rates) with a bounded scope ('one Skiplagged hotel, for 1-3 finalists') and explicitly says what it is not (Google/Booking prices). It also names the sibling concept it consumes ('the provider_id of a skiplagged search_hotels offer'), so an agent can distinguish it from search_hotels itself.

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 selection guidance between the two addressing modes ('Use the name form for a Google finalist') and a placement rule ('Skiplagged only: do not mix these rows with Google or Booking prices'). It implies the tool is a follow-up to narrowing finalists but never states the prerequisite call explicitly, keeping it just 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.