Skip to main content
Glama

Get one route alert

get_itinerary
Read-onlyIdempotent

One route with its per-night legs, each night's zone, and any openings found so far.

Each opening carries a status saying what became of it, in the same three words list_matches uses: rebooked (a sweep saw one of its nights taken), open_at_last_scan (seen whole at status_as_of, which is when we LOOKED) and unverified (the alert is paused or deleted, so nothing is known after that). status_meaning in the result spells them out. This is how to answer “is it still available” — there is no live check.

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": {
      "itinerary_id": "<itinerary_id>"
    },
    "name": "get_itinerary"
  }
}

Input Schema

NameRequiredDescriptionDefault
itinerary_idYesThe route alert's id, from list_my_itineraries or create_itinerary.

Output Schema

NameRequiredDescriptionDefault
idYes
legsNo
nightsNo
park_idNo
providerNo
route_idNo
is_activeNo
park_nameNo
tent_padsNo
created_atNo
notify_smsNo
party_sizeNo
scan_countNo
window_endNo
booking_urlNo
created_viaNo
notify_pushNo
open_routesNo
notify_emailNo
window_startNo
status_meaningNo
last_checked_atNo
created_by_agentNo
last_notified_atNo
notification_countNo
distinct_zone_countNo
availabilities_foundNo
night_openings_latestNo
night_openings_recentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed28 schema fields changed
    • changedOutput schema / properties / availabilities_found / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / booking_url / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / created_at / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / created_by_agent / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / created_via / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / distinct_zone_count / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / is_active / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
    • changedOutput schema / properties / last_checked_at / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / last_notified_at / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / legs / type
      Previous value: -"array"New value: +[
      +  "array",
      +  "null"
      +]
    • changedOutput schema / properties / night_openings_latest / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / night_openings_recent / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / nights / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / notification_count / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / notify_email / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
    • changedOutput schema / properties / notify_push / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
    • changedOutput schema / properties / notify_sms / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
    • changedOutput schema / properties / open_routes / type
      Previous value: -"array"New value: +[
      +  "array",
      +  "null"
      +]
    • changedOutput schema / properties / park_id / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / park_name / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / party_size / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / provider / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / route_id / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / scan_count / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / status_meaning / type
      Previous value: -"object"New value: +[
      +  "object",
      +  "null"
      +]
    • changedOutput schema / properties / tent_pads / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
    • changedOutput schema / properties / window_end / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / window_start / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
  2. Changed1 schema field changed
    • addedInput schema / properties / itinerary_id / description
      Added value: +"The route alert's id, from list_my_itineraries or create_itinerary."
  3. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (readOnly/idempotent/non-destructive), the description discloses the critical behavioral trait that the data is a snapshot, not a live availability check, and defines the staleness marker status_as_of as 'when we LOOKED.' It also explains that unverified means the alert is paused or deleted, so nothing is known afterward — precisely the kind of semantics annotations cannot express.

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?

It is front-loaded with what the call returns, then layered with the status vocabulary, which is the right ordering. There is minor redundancy in 'status_meaning in the result spells them out' repeating what the three-word enumeration already conveyed, but no sentence is wasted overall.

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 an output schema present, return shape need not be described, and the description still covers the one thing an agent must know before calling: the result is a point-in-time snapshot with defined status codes. Combined with 100% schema coverage on the sole parameter, nothing needed to invoke or interpret this correctly is missing.

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 100% and the single parameter already documents itself as the route alert's id sourced from list_my_itineraries or create_itinerary. The description adds no further meaning about the id (format, prefix, or behavior on unknown ids), so the baseline 3 applies.

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?

The description opens with a concrete inventory of the returned resource — 'One route with its per-night legs, each night's zone, and any openings found so far' — which lets an agent tell this apart from list tools. It is a noun phrase rather than a verb+resource statement, and it never explicitly contrasts itself with get_alert or list_my_itineraries, so it stops short of full sibling differentiation.

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 direct scenario: 'This is how to answer “is it still available” — there is no live check,' which is genuine when-to-use guidance. It also points at list_matches as the source of the shared status vocabulary. What is missing is routing against siblings such as list_my_itineraries (enumerate) or get_alert (single alert record).

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