Skip to main content
Glama

Cheapest tour per day

al_tours_cheapest
Read-onlyIdempotent

Find the minimum per-person tour price across 11 departure days around a check-in date, helping choose a lower-cost departure day for a destination and night count.

Instructions

List the lowest tour price per person for 11 departure days around a date (5 before, 5 after), to pick the cheapest day.

Toman per person for nights nights; a day without tours is missing. Then call al_tours.

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": {
      "destination": "<destination>",
      "checkin": "<checkin>"
    },
    "name": "al_tours_cheapest"
  }
}

Input Schema

NameRequiredDescriptionDefault
nightsNoNights from check-in.
originNoDeparture city.تهران
checkinYesGregorian 2026-11-11 or Jalali 1405-08-20.
destinationYesDestination city: کیش, Mashhad, Dubai.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.2.0
    • changedInput schema / properties / checkin / description
      Previous value: -"Travel date, Gregorian 2026-11-11 or Jalali 1405-08-20 (the year tells which)."New value: +"Gregorian 2026-11-11 or Jalali 1405-08-20."
    • changedInput schema / properties / destination / description
      Previous value: -"Destination city in Persian or English: کیش, Mashhad, استانبول, Dubai."New value: +"Destination city: کیش, Mashhad, Dubai."
    • changedInput schema / properties / nights / description
      Previous value: -"Number of nights, counted from the check-in date."New value: +"Nights from check-in."
    • changedInput schema / properties / origin / description
      Previous value: -"Departure city (Tehran, Isfahan, Mashhad and a few more)."New value: +"Departure city."
  2. First observedv0.1.2

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive behavior, so the safety profile is covered. The description adds genuinely new behavioral facts: prices are per person in Toman, computed for the requested number of nights, and days with no tours are simply absent from the result rather than errored.

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?

Front-loaded with the core behavior and only three short sentences, with no filler. The trailing 'Then call al_tours' reads as a fragment and the telegraphic style ('a day without tours is missing') is slightly terse, but nothing is wasted.

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?

There is no output schema, so the description must carry the return shape, and it does: lowest per-person Toman price per departure day over a bounded window with gaps for empty days. Combined with full schema coverage and read-only annotations, an agent has enough to call it correctly; only pagination or result ordering is left unstated.

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%, so the baseline is 3, but the description goes further by explaining that checkin anchors the 11-day window and that nights drives the quoted price basis. That adds interpretation the schema's terse 'Nights from check-in' and date-format note do not supply.

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 verb and resource (lowest tour price per person), the exact scope (11 departure days: 5 before, 5 after a date), and the goal (pick the cheapest day). It also distinguishes itself from the sibling al_tours, so an agent can choose between them without opening a 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?

The phrase 'to pick the cheapest day' plus 'Then call al_tours' implies a clear two-step workflow: scan prices here, then fetch details with the sibling. It does not state any exclusion or when-not-to-use condition, which keeps it below a 5.

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