Skip to main content
Glama

Price history

price_history
Read-only

Price series for one destination: measured span, stats, a downsampled sample of points and any regime breaks. Historical observations only, never a live quote or a recommendation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
railNooptional: restrict to one rail
destinationYesdestination slug, as returned by list_destinations. A RESORT key read off a rail (e.g. 'hurghada') also resolves, to its parent destination, and the answer then carries `resolved_from`; underscores and hyphens are interchangeable.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "anyOf": [
      +    {
      +      "properties": {
      +        "currency": {
      +          "type": "string"
      +        },
      +        "destination": {
      +          "properties": {
      +            "key": {
      +              "type": "string"
      +            },
      +            "slug": {
      +              "type": "string"
      +            },
      +            "title": {
      +              "properties": {
      +                "cs": {
      +                  "type": "string"
      +                },
      +                "en": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "cs",
      +                "en"
      +              ],
      +              "type": "object"
      +            }
      +          },
      +          "required": [
      +            "key",
      +            "slug",
      +            "title"
      +          ],
      +          "type": "object"
      +        },
      +        "disclaimer": {
      +          "type": "string"
      +        },
      +        "generated": {
      +          "type": "string"
      +        },
      +        "license": {
      +          "properties": {
      +            "attribution": {
      +              "type": "string"
      +            },
      +            "id": {
      +              "type": "string"
      +            },
      +            "url": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "url",
      +            "attribution"
      +          ],
      +          "type": "object"
      +        },
      +        "note": {
      +          "description": "present when the `rail` filter matched nothing published for this destination",
      +          "type": "string"
      +        },
      +        "rails": {
      +          "items": {
      +            "properties": {
      +              "arrivals": {
      +                "description": "arrival airports RECORDED; covers_all_published_prices is false",
      +                "type": "object"
      +              },
      +              "latest_stale_after_days": {
      +                "description": "this rail's own freshness boundary, in days after measured.to",
      +                "type": "number"
      +              },
      +              "measured": {
      +                "properties": {
      +                  "days": {
      +                    "type": "integer"
      +                  },
      +                  "from": {
      +                    "type": "string"
      +                  },
      +                  "to": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "days",
      +                  "from",
      +                  "to"
      +                ],
      +                "type": "object"
      +              },
      +              "origins": {
      +                "description": "departure-airport CLUSTER; covers_all_published_prices is false",
      +                "type": "object"
      +              },
      +              "party": {
      +                "properties": {
      +                  "adults": {
      +                    "type": "integer"
      +                  },
      +                  "children": {
      +                    "type": "integer"
      +                  }
      +                },
      +                "required": [
      +                  "adults",
      +                  "children"
      +                ],
      +                "type": "object"
      +              },
      +              "price_covers": {
      +                "description": "what the money buys - airfare only, or a package as offered",
      +                "type": "object"
      +              },
      +              "rail": {
      +                "enum": [
      +                  "flight",
      +                  "package"
      +                ],
      +                "type": "string"
      +              },
      +              "regime_breaks": {
      +                "description": "[from, to] date spans where the series was not comparable",
      +                "type": "array"
      +              },
      +              "resort": {
      +                "type": "string"
      +              },
      +              "resort_key": {
      +                "type": "string"
      +              },
      +              "searched": {
      +                "description": "the search mode (and fixed dates, where there are any) the series was collected under",
      +                "type": "object"
      +              },
      +              "series_sample": {
      +                "description": "a DOWNSAMPLED sample; `complete` says whether it is the whole series",
      +                "properties": {
      +                  "complete": {
      +                    "type": "boolean"
      +                  },
      +                  "points": {
      +                    "items": {
      +                      "properties": {
      +                        "cheapest_total": {
      +                          "type": "number"
      +                        },
      +                        "date": {
      +                          "type": "string"
      +                        },
      +                        "departure": {
      +                          "type": "string"
      +                        },
      +                        "origin": {
      +                          "type": "string"
      +                        },
      +                        "return": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "date",
      +                        "cheapest_total"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "type": "array"
      +                  }
      +                },
      +                "required": [
      +                  "complete",
      +                  "points"
      +                ],
      +                "type": "object"
      +              },
      +              "stats": {
      +                "properties": {
      +                  "basis": {
      +                    "type": "string"
      +                  },
      +                  "cheaper_than_pct": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "is_series_max": {
      +                    "type": "boolean"
      +                  },
      +                  "is_series_min": {
      +                    "type": "boolean"
      +                  },
      +                  "latest": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "median": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  },
      +                  "min": {
      +                    "type": [
      +                      "number",
      +                      "null"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "basis"
      +                ],
      +                "type": "object"
      +              }
      +            },
      +            "required": [
      +              "rail",
      +              "party",
      +              "price_covers",
      +              "measured",
      +              "stats",
      +              "series_sample"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "resolved_from": {
      +          "description": "Present when the caller named a RESORT key; the answer is its parent destination.",
      +          "properties": {
      +            "asked": {
      +              "type": "string"
      +            },
      +            "resort": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "resort_key": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "asked",
      +            "resort_key",
      +            "resort"
      +          ],
      +          "type": "object"
      +        },
      +        "schema": {
      +          "type": "string"
      +        },
      +        "url": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "schema",
      +        "generated",
      +        "destination",
      +        "url",
      +        "currency",
      +        "license",
      +        "rails",
      +        "disclaimer"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "description": "tool-level failure, returned with isError: true",
      +      "properties": {
      +        "error": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "code": {
      +              "type": "string"
      +            },
      +            "message": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "code",
      +            "message"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "error"
      +      ],
      +      "type": "object"
      +    }
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / destination / description
      Previous value: -"destination slug, as returned by list_destinations"New value: +"destination slug, as returned by list_destinations. A RESORT key read off a rail (e.g. 'hurghada') also resolves, to its parent destination, and the answer then carries `resolved_from`; underscores and hyphens are interchangeable."
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and destructiveHint=false. The description adds valuable behavioral context beyond those flags: it is historical-only, never a live quote or recommendation, and returns a downsampled sample of points plus regime breaks. This clarifies the nature of the data and its limitations, complementing the annotations without contradicting them.

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?

The description is a single, well-structured sentence that front-loads the core purpose, then lists the key data components, and ends with exclusions. Every phrase adds information; there is no filler or redundancy.

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?

Given the tool has only two parameters, an output schema, and safety annotations, the description covers the essential aspects: what data is returned, the historical-only nature, and the single-destination scope. The output schema handles return formatting, and the parameter schema covers the destination resolution nuance. No critical information for correct invocation 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%, so the baseline is 3. The tool description itself does not add parameter-level detail, but the schema descriptions for destination and rail are complete, including the resolved_from behavior and slug format. The description's high-level focus on the returned series is reasonable given the schema already handles parameter 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?

The description opens with 'Price series for one destination,' a specific resource and scope, and enumerates the content: measured span, stats, downsampled sample, and regime breaks. The final sentence 'Historical observations only, never a live quote or a recommendation' differentiates it from siblings like current_vs_history and find_opportunities, so an agent can clearly distinguish it.

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 description clearly states the tool's scope ('for one destination') and explicitly excludes live quotes and recommendations, which implies when not to use it. However, it does not name sibling tools or give explicit 'use X instead' guidance, so it stops short of a fully explicit when/when-not routing.

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