Skip to main content
Glama

search_property_availability

Read-onlyIdempotent

Search specific dates and occupancy for a known property using its propertyToken.

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": {
      "propertyToken": "<propertyToken>",
      "checkIn": "<checkIn>",
      "checkOut": "<checkOut>"
    },
    "name": "search_property_availability"
  }
}

Input Schema

NameRequiredDescriptionDefault
adultsNo
budgetNoOptional additional budget constraint. Clarify missing currency or basis before calling. Do not combine with legacy maxPrice/maxPriceCurrency.
checkInYesCheck-in date (YYYY-MM-DD)
checkOutYesCheck-out date (YYYY-MM-DD)
childrenNo
priceAudienceNo
propertyTokenYesExact public propertyToken returned by discovery or property context. Never add a prefix or invent a token.
displayCurrencyNoOptional 3-letter currency for approximate traveler-facing display conversion. Native property currency remains authoritative.
internalAgentKeyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / budget
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Optional additional budget constraint. Clarify missing currency or basis before calling. Do not combine with legacy maxPrice/maxPriceCurrency.",
      +  "properties": {
      +    "amount": {
      +      "description": "Maximum amount in the explicitly supplied currency and basis.",
      +      "exclusiveMinimum": 0,
      +      "type": "number"
      +    },
      +    "basis": {
      +      "description": "Required explicit basis. Per-night means a stay-average allowance, not a ceiling on each night. Per-person means every adult and child equally; clarify other interpretations.",
      +      "enum": [
      +        "TOTAL_STAY",
      +        "PER_NIGHT",
      +        "PER_PERSON_STAY",
      +        "PER_PERSON_PER_NIGHT"
      +      ],
      +      "type": "string"
      +    },
      +    "currency": {
      +      "description": "Required 3-letter budget currency. Never infer from location or displayCurrency.",
      +      "pattern": "^[A-Za-z]{3}$",
      +      "type": "string"
      +    },
      +    "scope": {
      +      "default": "PRICED_STAY",
      +      "description": "PRICED_STAY compares the accommodation total including configured taxes/fees. ALL_IN requires complete mandatory charges; currently ATA cannot verify completeness and will return labeled alternatives only.",
      +      "enum": [
      +        "PRICED_STAY",
      +        "ALL_IN"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "amount",
      +    "currency",
      +    "basis"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / propertyToken / description
      Previous value: -"Public property token (e.g., pk_live_...)"New value: +"Exact public propertyToken returned by discovery or property context. Never add a prefix or invent a token."
  3. First observed

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds nothing beyond them: no note on whether prices returned are native vs converted, whether results are live or cached, how budget filtering behaves, or what happens with priceAudience. Behavioral context is essentially absent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One front-loaded sentence with zero padding, which is good structurally, but it is under-specified rather than concise for a 9-parameter tool with a nested budget object. Nothing unearned, but too little is earned.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter, non-trivial search with a nested budget constraint and no output schema, the description omits the return shape, currency/basis expectations, and guest-count semantics. It leaves the agent to reconstruct intent from schema fragments alone.

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

Parameters2/5

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

Schema coverage is only 56% and the description compensates only minimally by naming dates and occupancy. It says nothing about the budget object's basis/scope semantics, priceAudience, displayCurrency, adults/children defaults, or internalAgentKey, leaving several parameters explained only in the schema or not at all.

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 clear verb (search), resource (availability for a property) and scope qualifier ('known property using its propertyToken'), which separates it from the network-wide siblings search_network_availability and search_flexible_network_availability. It stops short of saying what is returned (rooms, rates, occupancy) or that it is date-range based.

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?

'a known property using its propertyToken' implies this tool is for properties already resolved via get_property_details/search_property_catalog, which hints at when to use it. There is no explicit when-not, no mention of the flexible/network siblings, and no prerequisite statement about obtaining the token.

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