Skip to main content
Glama

Daily availability and prices

get_availability
Read-only

Day-by-day availability, nightly price and minimum stay of one stay, for up to 93 days.

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": {
      "slug": "<slug>",
      "from": "<from>",
      "to": "<to>"
    },
    "name": "get_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesYYYY-MM-DD
fromYesYYYY-MM-DD
slugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

readOnlyHint=true already declares this a safe read, so the description's added value is the 93-day cap on the queried range and the shape of what comes back (price, minimum stay). It does not say what happens if from/to span more than 93 days (error vs. truncation) or in what timezone/currency values are returned.

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?

A single sentence, front-loaded with the returned data and ending on the operative range limit. Nothing is redundant and no sentence fails to earn its place.

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?

With no output schema, the description does name the three returned fields, which covers the main ambiguity. Remaining gaps are secondary: the 93-day overrun behavior, slug provenance, and the undocumented slug parameter.

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 coverage is 67%, with from/to documented only as 'YYYY-MM-DD' and slug undocumented. The description meaningfully constrains from/to by capping the interval at 93 days, but adds nothing about what slug identifies or where it comes from. Mid-range coverage with partial compensation yields a baseline 3.

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?

States a specific verb-and-resource pair: day-by-day availability, nightly price and minimum stay for one stay. The phrase 'of one stay' distinguishes it from the listing-oriented sibling search_stays, though it never names siblings explicitly.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer it needs a specific stay slug and a date window, and that this is the per-stay detail lookup after search_stays. There is no explicit when-to-use versus get_stay or prepare_booking, and no stated prerequisites for obtaining a valid slug.

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