Skip to main content
Glama

Get a unit's availability calendar

get_calendar
Read-onlyIdempotent

Returns day-by-day availability and nightly price for one unit over two consecutive months starting at the given month. Prices are per night before cleaning fee and taxes.

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": {
      "siteSlug": "<siteSlug>",
      "propertyId": "<propertyId>",
      "year": "<year>",
      "month": "<month>"
    },
    "name": "get_calendar"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYesCalendar year of the first month.
monthYesFirst month, 1 to 12.
siteSlugYesThe siteSlug of a Booking Bench site, as returned by list_sites.
propertyIdYesThe propertyId of a unit on that site, as returned by list_properties.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / propertyId / maximum
      Added value: +9007199254740991
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare the tool as read-only, idempotent, open-world, and non-destructive. The description adds useful behavioral context beyond annotations by specifying the two-consecutive-month window and that prices are per night before cleaning fee and taxes.

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 two tightly written sentences with the core return behavior front-loaded. There is no redundant or wasted wording.

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?

Given rich annotations, complete schema descriptions, and no output schema, the description is largely complete: it explains what is returned, the time window, and the price basis. Minor gaps remain around availability representation and currency, but the essential context is present.

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

Parameters4/5

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

Schema coverage is 100%, so the schema already documents each parameter. The description still adds meaning by clarifying that year/month define the start of a two-consecutive-month window and that propertyId refers to one unit.

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 states a specific verb and resource: it returns day-by-day availability and nightly price for one unit over a two-month window. It is clear but does not explicitly distinguish this tool from siblings such as get_property or get_quote.

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

Usage Guidelines2/5

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

The description explains what the tool returns but gives no explicit guidance on when to use it versus alternatives. It also does not mention prerequisites such as obtaining siteSlug or propertyId, though those are covered in the schema.

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