Skip to main content
Glama

Search Sample Stay Availability

search_availability
Read-onlyIdempotent

Search deterministic sample stay options from the Spann Stays fixture; no live inventory or property availability is queried. Set data_source=approved_customer_catalog for actual approved customer discovery (no live inventory); select using prepare_discovered_stay and a trusted desktop browser host.

Input Schema

NameRequiredDescriptionDefault
stayYes
limitNo
budgetNo
languageYes
data_sourceNo
destinationNo
guest_countYes
preferencesNo
property_idNo
required_constraintsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / budget
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "currency": {
      +      "const": "JPY"
      +    },
      +    "max_total": {
      +      "minimum": 1,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "currency",
      +    "max_total"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / data_source
      Added value: +{
      +  "enum": [
      +    "fixture",
      +    "approved_customer_catalog"
      +  ],
      +  "type": "string"
      +}
    • removedInput schema / properties / destination / properties / country / type
      Removed value: -"string"
    • changedInput schema / properties / destination / required
      Previous value: -[
      -  "country",
      -  "prefecture"
      -]New value: +[
      +  "country"
      +]
    • removedInput schema / properties / language / type
      Removed value: -"string"
    • addedInput schema / properties / preferences
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "whole_place": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / required_constraints / items / enum
      Added value: +[
      +  "whole_place",
      +  "on_site_parking",
      +  "full_kitchen",
      +  "step_free"
      +]
    • removedInput schema / properties / required_constraints / items / type
      Removed value: -"string"
  2. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description's real contribution is confirming results are deterministic sample data with no live availability looked up, which reinforces the closed-world hint with concrete meaning. It adds nothing about result volume, limit behavior, or how the oneOf branch affects output.

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?

Two sentences with the key caveat (no live inventory) front-loaded, and no filler. The second sentence chains two unrelated instructions with a semicolon and a comma splice, which costs a little clarity but not length.

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?

With 10 parameters, nested objects, a oneOf requirement, no output schema, and zero schema descriptions, this definition is materially incomplete. An agent cannot learn from the description that exactly one of destination or property_id must be supplied, nor what limit, budget, or required_constraints do. The data_source explanation is the only substantive gap it fills.

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 description coverage is 0% across 10 parameters, including nested objects and a destination/property_id oneOf, so the description carries the full burden. It explains only data_source, defining both enum values and their semantic difference. The exclusivity of destination vs property_id, the JPY-only budget, limit, preferences, required_constraints, and stay date semantics are left entirely undocumented.

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 and resource ("Search deterministic sample stay options") and immediately bounds the scope: fixture data, no live inventory. It distinguishes the tool from a real availability search, though it does not directly contrast with the sibling discover_customer_stays, leaving one ambiguity about which search path 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 states when to use the default fixture mode and when to switch to data_source=approved_customer_catalog, and routes downstream selection to prepare_discovered_stay with a trusted desktop browser host. The guidance is present but compressed into a comma-spliced clause, so the condition for choosing each mode takes a careful read rather than being crisply enumerated.

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