Skip to main content
Glama

Get pricing calendar

get_pricing_calendar
Read-only

The pricing calendar of a property for a date range (default: the current month; at most 366 days): each night's resolved price, whether it is open (not blocked), already booked, its minimum stay, closed to arrival/departure, and where the price comes from (base, season, override; weekend adjustment). Use it to answer "how much is a night on…" or "which nights are free". Prices are per night, not per guest. Needs a short-term property with pricing on (pricingConfig.enabled, see update_property) and a plan with the pricing feature.

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": {
      "propertyId": "<propertyId>"
    },
    "name": "get_pricing_calendar"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast date, YYYY-MM-DD, inclusive
fromNoFirst date, YYYY-MM-DD (give with to)
propertyIdYesThe property ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only say readOnlyHint=true and openWorldHint=false; the description goes well beyond by disclosing the default window (current month), the 366-day cap, the meaning of 'per night, not per guest', the origin of each price (base, season, override, weekend adjustment), and the feature/permission prerequisites needed for a successful call.

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?

Scope and the field inventory are front-loaded in the first sentence, usage questions come second, and prerequisites last. No sentence is redundant; the parenthetical price-source list is dense but each item is load-bearing.

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?

There is no output schema, so the description carries the full burden of describing returns, and it does so field by field. Combined with the default/limit rules and the enablement prerequisites, an agent has everything needed to call this correctly and interpret the response.

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 baseline is 3, but the description adds real constraints the schema lacks: the default range is the current month and the range is capped at 366 days, which materially affects how from/to should be supplied. It also clarifies per-night pricing semantics that no parameter documents.

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 gives a specific verb+resource ('pricing calendar of a property for a date range') and enumerates exactly what each returned night contains (resolved price, open/blocked, booked, minimum stay, closed to arrival/departure, price source). It never names a sibling such as get_pricing or get_availability, so differentiation is implied by the per-night scope rather than stated outright.

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 anchors usage to concrete questions ('how much is a night on…', 'which nights are free') and states prerequisites: a short-term property with pricingConfig.enabled and a plan with the pricing feature. What is missing is an explicit exclusion, e.g. when to prefer get_pricing or get_availability instead.

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.