Skip to main content
Glama

Flight and hotel tours

eg_tours
Read-onlyIdempotent

Find flight-plus-hotel tour packages by origin, destination, nights, and date. Compare package prices per person or total, or inspect one hotel's rooms, meal plans, and round-trip flight times.

Instructions

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

Use it for "Tehran to Mashhad for 2 nights with the flight included". Without hotel it lists hotels with the cheapest package for all adults together (price_total) and per person; with hotel it lists that hotel's packages (room, meal plan, round-trip flights). Prices are Toman, flight included. Only some cities sell tours. Empty results mean the flight seats for those dates are full: try other dates with eg_tour_calendar.

Input Schema

NameRequiredDescriptionDefault
cityYesDestination city slug from eg_cities or Persian name (Mashhad, Kish...).
sortNoOrder of the hotel list.price
hotelNoA hotel (the `hotel` value of this tool or eg_search): list its tour packages with flights.
limitNo
adultsNoAdults travelling together (one room).
nightsNoNumber of nights, 1-30.
originNoDeparture city with flights (Tehran, Shiraz, Esfahan...), slug or Persian.Tehran
check_inNoCheck-in date, YYYY-MM-DD (Gregorian, or Jalali such as 1405-08-19). Default: tomorrow.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only cover read-only/idempotent/open-world; the description adds currency (Toman), that flights are included in price, what `price_total` aggregates across adults, that only some cities sell tours, and the crucial interpretation of empty results (seats full) with a concrete recovery path. That is exactly the behavioral context annotations cannot provide.

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?

Two compact paragraphs: purpose and mode behavior first, then the empty-result edge case. Every sentence carries information an agent could not get from the schema, and no sentence is filler.

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?

With 8 parameters and no output schema, the description compensates by describing both result shapes (hotel list with cheapest package, or one hotel's room/meal/flight packages), the pricing units, and the failure mode. Nothing needed to call this correctly appears to be missing.

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 already 88%, so the baseline is 3, but the description adds real meaning: `hotel` changes the entire response shape, and `adults` is described as travelling together sharing one room, which explains why both total and per-person prices appear. Dates, sorting, and limits are left to 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?

The first sentence names the resource (flight-plus-hotel tour packages) and states the two distinct modes: city-level hotel listing vs. single-hotel package listing with flight times. This is a specific verb+resource statement that an agent can act on without opening the 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?

It gives a concrete natural-language example ('Tehran to Mashhad for 2 nights with the flight included') and explains the mode switch via the `hotel` parameter, plus a fallback to eg_tour_calendar when results are empty. It does not explicitly say when to prefer eg_hotel or eg_deals over this tool, which keeps it 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.