Skip to main content
Glama

Flight and hotel tours

eg_tours
Read-onlyIdempotent

Find flight-plus-hotel tour packages for a destination city or a specific hotel, compare per-person and total prices, room and meal plans, and flight times.

Instructions

Find flight-plus-hotel tour packages to a city, or the packages of one hotel with flight times.

Without hotel: hotels with the cheapest package for all adults (price_total) and per person; with it: that hotel's packages (room, meal plan, flights). Prices Toman, flight included. Only some cities sell tours; empty means flights are full, try eg_tour_calendar.

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": {
      "city": "<city>"
    },
    "name": "eg_tours"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYesDestination slug from eg_cities or Persian name.
sortNoHotel order.price
hotelNo`hotel` value of this tool or eg_search: list its packages.
limitNo
adultsNoAdults travelling together (one room).
nightsNoNumber of nights, 1-30.
originNoDeparture city with flights (Tehran, Shiraz, Esfahan...), slug or Persian.Tehran
check_inNoYYYY-MM-DD, Gregorian or Jalali (1405-08-19). Default tomorrow.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.2.0
    • changedInput schema / properties / check_in / description
      Previous value: -"Check-in date, YYYY-MM-DD (Gregorian, or Jalali such as 1405-08-19). Default: tomorrow."New value: +"YYYY-MM-DD, Gregorian or Jalali (1405-08-19). Default tomorrow."
    • changedInput schema / properties / city / description
      Previous value: -"Destination city slug from eg_cities or Persian name (Mashhad, Kish...)."New value: +"Destination slug from eg_cities or Persian name."
    • changedInput schema / properties / hotel / description
      Previous value: -"A hotel (the `hotel` value of this tool or eg_search): list its tour packages with flights."New value: +"`hotel` value of this tool or eg_search: list its packages."
    • changedInput schema / properties / sort / description
      Previous value: -"Order of the hotel list."New value: +"Hotel order."
  2. First observedv0.1.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint). The description goes beyond them by describing the return content in each mode (hotels with cheapest package plus per-person price; hotel packages with room, meal plan, and flights), the currency (Toman), that flights are included, and what an empty result means. Only pagination and limit behavior go unmentioned.

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 dual-mode behavior is front-loaded in the first sentence before the conditional details, so the agent gets the core mental model immediately. The text is dense with no filler, though the second sentence's list of per-mode outputs is somewhat compressed and requires careful parsing.

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 an 8-parameter, open-world search tool with no output schema, the description does the heavy lifting: it explains both result shapes, the currency, the flight inclusion, and the empty-result fallback. What is missing is minor — pagination/limit semantics and whether results are cached or live — but nothing essential for a correct first call is absent.

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 88%, so the schema already documents nearly every parameter, setting a baseline of 3. The description adds real semantics for the `hotel` toggle (its presence changes the result shape entirely) and clarifies that prices are computed for all `adults` travelling together as one room. That is meaningful added meaning, but it does not extend to sort, limit, or check_in beyond what the schema states.

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?

Opens with a specific verb+resource ('Find flight-plus-hotel tour packages') and immediately splits the behavior into two modes tied to the `hotel` parameter. It also names the sibling eg_tour_calendar for the empty-result case, so an agent can distinguish it from related tools, though the differentiation is only partial (it never contrasts with eg_hotel or eg_search directly).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives one concrete routing rule: an empty result means flights are full, so try eg_tour_calendar. It also mentions that only some cities sell tours, which is useful context. However, there is no explicit guidance on when to prefer this tool over eg_hotel, eg_search, or eg_price_calendar, so usage is implied rather than stated.

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