Skip to main content
Glama

get_availability

Read-only

Use this when the user is ready to check live bookable dates, times, prices, or remaining spaces for one selected product. This is the live supplier-check tool; pass product_id from search or slug plus city_slug. Slot price.amount is in MINOR currency units (pence/cents): amount 13125 with currency_code GBP means GBP 131.25. Slot time is venue-local; when the venue timezone is known, timezone carries its IANA name and datetime/next_available carry the real UTC offset (e.g. 2026-07-18T19:30:00+02:00), so they are safe for time math.

Input Schema

NameRequiredDescriptionDefault
slugNoProduct slug. Use with city_slug when product_id is unavailable.
as_ofNoPrevious ISO timestamp from stale card data; returns delta only when data changed.
freshNoWhen true, bypasses the 60-second cache and performs a live supplier check, subject to rate limits.
date_toNoEnd date as YYYY-MM-DD or a natural-language phrase (same as date_from). Defaults to 14 days after date_from and is capped to a 365-day window.
city_slugNoCity slug required when slug is used.
date_fromNoStart date as YYYY-MM-DD, or a natural-language phrase the server resolves: today, tomorrow, this Saturday, next Friday, this weekend, next weekend. Defaults to today.
party_sizeNoNumber of guests. Default 2.
product_idNoStable product_id from a search or details response. Preferred when available.
preferred_timeNoOptional broad time preference such as morning, afternoon, or evening.
idempotency_keyNoOptional UUID. Reuse for identical responses within five minutes.

Output Schema

NameRequiredDescriptionDefault
slugNo
slotsNo
detailNo
messageNo
timezoneNo
error_typeNo
product_idNo
total_slotsNo
inventoryLevelNo
next_availableNo
schema_versionNo
provenance_levelNo
book_now_confidenceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / date_from / description
      Previous value: -"Start date in YYYY-MM-DD. Defaults to today."New value: +"Start date as YYYY-MM-DD, or a natural-language phrase the server resolves: today, tomorrow, this Saturday, next Friday, this weekend, next weekend. Defaults to today."
    • removedInput schema / properties / date_from / format
      Removed value: -"date"
    • changedInput schema / properties / date_to / description
      Previous value: -"End date in YYYY-MM-DD. Defaults to 14 days after date_from and is capped to a 365-day window."New value: +"End date as YYYY-MM-DD or a natural-language phrase (same as date_from). Defaults to 14 days after date_from and is capped to a 365-day window."
    • removedInput schema / properties / date_to / format
      Removed value: -"date"
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "book_now_confidence": {
      +      "type": "integer"
      +    },
      +    "detail": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "error_type": {
      +      "type": "string"
      +    },
      +    "inventoryLevel": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "next_available": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "product_id": {
      +      "type": "string"
      +    },
      +    "provenance_level": {
      +      "type": "string"
      +    },
      +    "schema_version": {
      +      "type": "string"
      +    },
      +    "slots": {
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "slug": {
      +      "type": "string"
      +    },
      +    "timezone": {
      +      "type": "string"
      +    },
      +    "total_slots": {
      +      "type": "integer"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / date_to / description
      Previous value: -"End date in YYYY-MM-DD. Defaults to today plus 14 days and is capped to a 365-day window."New value: +"End date in YYYY-MM-DD. Defaults to 14 days after date_from and is capped to a 365-day window."
  4. Changed1 schema field changed
    • changedInput schema / properties / date_to / description
      Previous value: -"End date in YYYY-MM-DD. Defaults to today plus 14 days and is capped to a 90-day window."New value: +"End date in YYYY-MM-DD. Defaults to today plus 14 days and is capped to a 365-day window."
  5. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false, and openWorldHint=false, so safety is covered; the description adds genuinely useful behavior beyond that: the 60-second cache with a fresh bypass subject to rate limits, the minor-unit currency convention (13125 GBP = GBP 131.25), and venue-local times that carry a real UTC offset and are safe for time math. The one gap is that it doesn't describe failure modes or what happens when a product has no availability, and it sits slightly awkwardly against idempotentHint=false while advertising a reusable idempotency_key.

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?

The tool's purpose and trigger are front-loaded in the first sentence, and the following sentences pack in high-value caveats about currency units and timezone handling without padding. It is dense but every clause carries information an agent needs, though the return-value detail is somewhat redundant given an output schema exists.

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 100% schema coverage, an output schema, and full annotations, the description supplies the one thing structured fields can't: when to reach for this live-check tool and how to interpret its units and timestamps. An agent could invoke it correctly from this text alone; only sibling disambiguation 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 schema already documents all ten parameters and the baseline is 3. The description reinforces the product_id vs slug+city_slug choice but adds no syntax or format detail beyond the schema, and its richer currency/timezone notes describe return values rather than parameters.

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 names a specific verb and resource: checking live bookable dates, times, prices, and remaining spaces for one selected product, and explicitly frames itself as "the live supplier-check tool." That is clear on its own, but it never distinguishes itself from the sibling check_availability, whose name suggests the same operation, leaving the agent to guess which one to pick.

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 trigger condition ("when the user is ready to check live bookable dates...") and tells the agent which identifier to pass (product_id from search, or slug plus city_slug). However, it offers no when-not guidance, no prerequisites, and no routing against the near-identical check_availability sibling.

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.