Skip to main content
Glama

Best-value upcoming weekends

when_to_go
Read-only

Prices upcoming weekends (Fri–Sun, 2 nights) to find the cheapest times to stay. Pass hotel_id for one hotel across ~8 weekends, or just a city to compare Fostay's curated stays (Dubai, Abu Dhabi) or top-rated Goa hotels across the next ~6 weekends. Cheapest options first.

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

Input Schema

NameRequiredDescriptionDefault
cityNoUsed when hotel_id is omitted
currencyNoCurrency to quote in (AED, INR, USD, EUR, GBP, AUD, SGD, NZD, THB, TRY). Defaults to AED (dirhams) for every city; pass another currency to quote in it. The price quoted is the price charged.
hotel_idNoOptional hotel id from search_stays

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / currency / description
      Previous value: -"Currency to quote in (AED, INR, EUR, AUD, SGD, NZD). Defaults to the hotel's home currency: INR for Goa, AED for Dubai and Abu Dhabi, AUD for Sydney and Melbourne, NZD for Auckland, SGD for Singapore, EUR for Madrid and Barcelona. The price quoted is the price charged."New value: +"Currency to quote in (AED, INR, USD, EUR, GBP, AUD, SGD, NZD, THB, TRY). Defaults to AED (dirhams) for every city; pass another currency to quote in it. The price quoted is the price charged."
    • changedInput schema / properties / currency / enum
      Previous value: -[
      -  "AED",
      -  "INR",
      -  "EUR",
      -  "AUD",
      -  "SGD",
      -  "NZD"
      -]New value: +[
      +  "AED",
      +  "INR",
      +  "USD",
      +  "EUR",
      +  "GBP",
      +  "AUD",
      +  "SGD",
      +  "NZD",
      +  "THB",
      +  "TRY"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / currency / description
      Previous value: -"Currency to quote in (AED, INR, EUR, AUD, SGD, NZD). Defaults to the hotel's home currency: INR for Goa, AED for Dubai and Abu Dhabi. The price quoted is the price charged."New value: +"Currency to quote in (AED, INR, EUR, AUD, SGD, NZD). Defaults to the hotel's home currency: INR for Goa, AED for Dubai and Abu Dhabi, AUD for Sydney and Melbourne, NZD for Auckland, SGD for Singapore, EUR for Madrid and Barcelona. The price quoted is the price charged."
  3. Changed1 schema field changed
    • addedInput schema / properties / currency
      Added value: +{
      +  "description": "Currency to quote in (AED, INR, EUR, AUD, SGD, NZD). Defaults to the hotel's home currency: INR for Goa, AED for Dubai and Abu Dhabi. The price quoted is the price charged.",
      +  "enum": [
      +    "AED",
      +    "INR",
      +    "EUR",
      +    "AUD",
      +    "SGD",
      +    "NZD"
      +  ],
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / city / enum
      Previous value: -[
      -  "Dubai",
      -  "Abu Dhabi"
      -]New value: +[
      +  "Dubai",
      +  "Abu Dhabi",
      +  "Goa"
      +]
  5. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so safety is covered. The description usefully adds the ordering ('cheapest options first'), the 2-night Fri–Sun pricing convention, and the approximate lookahead horizons. It does not disclose whether prices are live-quoted or cached, or how to interpret missing/limited availability.

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

Conciseness5/5

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

Three short sentences, front-loaded with the core action and purpose, then the mode selection, then the result ordering. No filler or repetition.

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, and the description only hints at the return shape ('cheapest options first'), leaving the actual result fields (weekend dates, quoted price, hotel identity) unspecified. For a zero-required-parameter, read-only tool with full schema coverage, this is otherwise sufficient to call correctly.

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% and each parameter already has a description, but the description adds real meaning beyond the schema: what hotel_id versus city-only mode actually does and the number of weekends each mode evaluates. Currency is not mentioned in the description, so the schema carries that alone.

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?

States a specific verb and resource: 'Prices upcoming weekends (Fri–Sun, 2 nights) to find the cheapest times to stay,' with two operating modes (single hotel vs. city-wide comparison). Purpose is clear, though it never names a sibling (e.g., get_live_rates or search_stays) to explicitly mark the boundary.

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 guidance on the two calling modes: pass hotel_id for one hotel across ~8 weekends, or pass only a city to compare curated/top-rated stays across ~6 weekends. It does not say when to prefer this over get_live_rates or demand_calendar, so there are no explicit exclusions.

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