Skip to main content
Glama

predict_price

Read-only

Analyzes hotel price trends and historical data to recommend whether to book now or wait for a better deal.

Instructions

Predict whether now is a good time to book a hotel, or if the user should wait for a better price.

Uses historical price data and trends to assess whether the current price is a good deal.
Call this when a user asks "Should I book now or wait?" or wants to know if a price is good.

Args:
    hotel_id: The hotel's Vervotech property ID (from search results).
    checkin: Check-in date in YYYY-MM-DD format.
    checkout: Check-out date in YYYY-MM-DD format.
    nightly_cash_cost: The current nightly cash rate for the hotel.
    nightly_cash_cost_currency: Currency of the cash rate (e.g. "USD", "EUR").
    nightly_points_cost: Optional current nightly points cost for the hotel.

Returns:
    Price prediction with recommendation (book now vs wait), confidence level, and key signals.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
checkinYes
checkoutYes
hotel_idYes
nightly_cash_costYes
nightly_points_costNo
nightly_cash_cost_currencyYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds that it uses historical price data and returns a recommendation, confidence level, and key signals. This adds value beyond annotations.

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?

The description is well-structured with a concise intro, usage note, and organized Args section. It is front-loaded with purpose and contains no fluff, though could be slightly shorter.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 6 parameters (5 required), 0% schema coverage, and an existing output schema, the description provides sufficient context for parameter meanings and usage context. It is complete enough for an agent to use the tool correctly.

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?

Schema description coverage is 0%, but the description includes an Args section with clear explanations for each parameter, such as hotel_id being the Vervotech property ID, date formats, and currency examples. This fully compensates for the lack of schema descriptions.

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?

The description clearly states it predicts whether to book now or wait for a better price using historical data. It specifies the verb 'predict' and the resource 'price timing', and distinguishes itself from siblings like 'compare_rates' and 'diagnose_rates'.

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?

Explicitly says to call when a user asks 'Should I book now or wait?' or wants to know if a price is good. It provides clear context but does not mention when not to use or contrast with alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gondola-ai/gondola-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server