Skip to main content
Glama
viajante

viajante

Cheapest-dates calendar

search_dates
Read-onlyIdempotent

Find per-day fares for one named airport route across a date range of up to 31 days, returning a calendar to compare travel dates.

Instructions

Cheapest-per-day calendar for one named route, up to 31 days. route is ORIGIN-DEST; start and end are ISO dates. Use search_flex for +/-N around one date. This calendar is HTTP only and has no fetch mode. If status is blocked, or any day failed because Google paused the request, stop: do not switch to a browser or follow with search_flex or search_flights. A city code such as LON is not a calendar origin; name one airport. Cabin bags are carry_on, not bags. Currency and country as in search_flights. Viajante does not convert.

    deadline_seconds stops starting queries after that many seconds; unfinished
    queries are error code deadline (not loaded, not empty). See get_guide.
    

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": {
      "route": "<route>",
      "start": "<start>",
      "end": "<end>"
    },
    "name": "search_dates"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYes
viaNo
bagsNo
sortNo
tripNoone-way
cabinNoeconomy
proxyNo
routeYes
startYes
adultsNo
nearbyNo
nightsNo
countryNo
airlinesNo
allianceNo
carry_onNo
childrenNo
currencyNo
max_stopsNo
price_capNo
exclude_viaNo
max_layoverNo
min_layoverNo
depart_afterNo
max_durationNo
no_overnightNo
arrive_beforeNo
depart_windowNo
baggage_bufferNo
infants_on_lapNo
infants_in_seatNo
deadline_secondsNo
exclude_airlinesNo
exclude_airportsNo
exclude_allianceNo
include_airportsNo
require_overnightNo

Output Schema

NameRequiredDescriptionDefault
statusYes
empty_noteYes
error_codeYes
observed_atYes
retry_afterYes
completenessYes
empty_reasonYes
completeness_noteYes
observed_at_basisYes
retry_after_secondsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.5.7
    • addedOutput schema / properties / completeness_note
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "status",
      -  "completeness",
      -  "empty_reason",
      -  "empty_note",
      -  "error_code",
      -  "retry_after",
      -  "retry_after_seconds",
      -  "observed_at",
      -  "observed_at_basis"
      -]New value: +[
      +  "status",
      +  "completeness",
      +  "empty_reason",
      +  "empty_note",
      +  "completeness_note",
      +  "error_code",
      +  "retry_after",
      +  "retry_after_seconds",
      +  "observed_at",
      +  "observed_at_basis"
      +]
  2. Changed39 schema fields changedv1.5.2
    • removedInput schema / properties / adults / title
      Removed value: -"Adults"
    • removedInput schema / properties / airlines / title
      Removed value: -"Airlines"
    • removedInput schema / properties / alliance / title
      Removed value: -"Alliance"
    • removedInput schema / properties / arrive_before / title
      Removed value: -"Arrive Before"
    • removedInput schema / properties / baggage_buffer / title
      Removed value: -"Baggage Buffer"
    • removedInput schema / properties / bags / title
      Removed value: -"Bags"
    • removedInput schema / properties / cabin / title
      Removed value: -"Cabin"
    • removedInput schema / properties / carry_on / title
      Removed value: -"Carry On"
    • removedInput schema / properties / children / title
      Removed value: -"Children"
    • removedInput schema / properties / country / title
      Removed value: -"Country"
    • removedInput schema / properties / currency / title
      Removed value: -"Currency"
    • addedInput schema / properties / deadline_seconds
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • removedInput schema / properties / depart_after / title
      Removed value: -"Depart After"
    • removedInput schema / properties / depart_window / title
      Removed value: -"Depart Window"
    • removedInput schema / properties / end / title
      Removed value: -"End"
    • removedInput schema / properties / exclude_airlines / title
      Removed value: -"Exclude Airlines"
    • removedInput schema / properties / exclude_airports / title
      Removed value: -"Exclude Airports"
    • removedInput schema / properties / exclude_alliance / title
      Removed value: -"Exclude Alliance"
    • removedInput schema / properties / exclude_via / title
      Removed value: -"Exclude Via"
    • removedInput schema / properties / include_airports / title
      Removed value: -"Include Airports"
    • removedInput schema / properties / infants_in_seat / title
      Removed value: -"Infants In Seat"
    • removedInput schema / properties / infants_on_lap / title
      Removed value: -"Infants On Lap"
    • removedInput schema / properties / max_duration / title
      Removed value: -"Max Duration"
    • removedInput schema / properties / max_layover / title
      Removed value: -"Max Layover"
    • removedInput schema / properties / max_stops / title
      Removed value: -"Max Stops"
    • removedInput schema / properties / min_layover / title
      Removed value: -"Min Layover"
    • removedInput schema / properties / nearby / title
      Removed value: -"Nearby"
    • removedInput schema / properties / nights / title
      Removed value: -"Nights"
    • removedInput schema / properties / no_overnight / title
      Removed value: -"No Overnight"
    • removedInput schema / properties / price_cap / title
      Removed value: -"Price Cap"
    • removedInput schema / properties / proxy / title
      Removed value: -"Proxy"
    • removedInput schema / properties / require_overnight / title
      Removed value: -"Require Overnight"
    • removedInput schema / properties / route / title
      Removed value: -"Route"
    • removedInput schema / properties / sort / title
      Removed value: -"Sort"
    • removedInput schema / properties / start / title
      Removed value: -"Start"
    • removedInput schema / properties / trip / title
      Removed value: -"Trip"
    • removedInput schema / properties / via / title
      Removed value: -"Via"
    • removedInput schema / title
      Removed value: -"search_datesArguments"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "completeness": {
      +      "enum": [
      +        "complete",
      +        "partial",
      +        "blocked"
      +      ],
      +      "type": "string"
      +    },
      +    "empty_note": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "empty_reason": {
      +      "anyOf": [
      +        {
      +          "enum": [
      +            "provider_empty",
      +            "filtered_out",
      +            "not_loaded"
      +          ],
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "error_code": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "observed_at": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "observed_at_basis": {
      +      "anyOf": [
      +        {
      +          "enum": [
      +            "provider",
      +            "fetch"
      +          ],
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "retry_after": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "retry_after_seconds": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "status": {
      +      "enum": [
      +        "ok",
      +        "no_results",
      +        "rate_limited",
      +        "blocked",
      +        "timeout",
      +        "failed"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "completeness",
      +    "empty_reason",
      +    "empty_note",
      +    "error_code",
      +    "retry_after",
      +    "retry_after_seconds",
      +    "observed_at",
      +    "observed_at_basis"
      +  ],
      +  "type": "object"
      +}
  3. First observedv1.0.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world, so the bar is lower, but the description still adds real operational context: HTTP-only with no fetch mode, the blocked/paused-by-Google failure mode and required behavior, and deadline_seconds semantics with the "deadline" error code meaning not-loaded rather than empty. It also flags that no currency conversion happens.

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 purpose and the sibling alternative, then failure handling, then input caveats. Every sentence carries information, though the trailing deadline_seconds block with its indentation and the "See get_guide" pointer read as bolted on rather than integrated.

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

Completeness3/5

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

An output schema exists, so return values need not be explained, and the definition thoroughly covers the dangerous failure path and the core route/date formats. For a 37-parameter search tool it is still thin on the filter parameters that distinguish results (sort, price_cap, layovers, nearby, nights), which an agent needs to invoke it well.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 37 parameters, so the description carries the full burden and only partially delivers. It does clarify the highest-risk confusions (route as ORIGIN-DEST, start/end as ISO dates, "Cabin bags are carry_on, not bags", currency/country per search_flights, deadline_seconds), but leaves most parameters (nearby, nights, sort, max_stops, price_cap units, layover bounds, depart/arrive windows, include/exclude_airports) with no stated meaning.

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?

"Cheapest-per-day calendar for one named route, up to 31 days" gives a specific verb (return a per-day price calendar), a resource (one route), and an explicit scope bound (31 days). It is clearly differentiated from the sibling search_flex, which is named as the +/-N-around-one-date alternative.

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

Usage Guidelines5/5

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

Explicit routing: use search_flex for a window around a single date, use this for a full cheapest-per-day calendar. It also states hard stop conditions ("If status is blocked... stop: do not switch to a browser or follow with search_flex or search_flights") and input constraints ("A city code such as LON is not a calendar origin; name one airport").

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