Skip to main content
Glama

Lodging Decision

lodging_decision

Ranks caller-supplied lodging candidates for a traveler/trip and returns a deterministic, evidence-backed recommendation with score breakdown, tradeoffs, risk flags, missing information, and confidence.

SCOPE: Evaluates budget, location, amenities, workspace ergonomics, acoustic isolation, price sanity vs submarket baselines, keyless access friction, and Safety & Belonging (host review sentiment, privacy/surveillance boundary verification, neighborhood night security, and verified inclusive badges). Does not infer or profile demographics on travelers.

This tool does not search inventory (you must supply candidate_listings), does not book or transact, and does not persist any data. It is deterministic given identical input. Always re-verify availability, price, and policy before booking.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tripYes
travelerYes
candidate_listingsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / candidate_listings / items / properties / access_details
      Added value: +{
      +  "properties": {
      +    "checkin_type": {
      +      "enum": [
      +        "keyless_smart_lock",
      +        "keypad_lockbox",
      +        "in_person_host"
      +      ],
      +      "type": "string"
      +    },
      +    "guest_favorite": {
      +      "type": "boolean"
      +    },
      +    "host_response_rate_pct": {
      +      "maximum": 100,
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "host_response_time_minutes": {
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "superhost": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / candidate_listings / items / properties / acoustic_profile
      Added value: +{
      +  "properties": {
      +    "double_pane_windows": {
      +      "type": "boolean"
      +    },
      +    "exposure": {
      +      "enum": [
      +        "garden_courtyard",
      +        "quiet_residential",
      +        "mixed_arterial",
      +        "busy_commercial"
      +      ],
      +      "type": "string"
      +    },
      +    "noise_review_sentiment": {
      +      "enum": [
      +        "silent",
      +        "quiet",
      +        "moderate",
      +        "noisy"
      +      ],
      +      "type": "string"
      +    },
      +    "quiet_hours_enforced": {
      +      "type": "boolean"
      +    },
      +    "structure": {
      +      "enum": [
      +        "detached_guesthouse",
      +        "private_adu",
      +        "top_floor_flat",
      +        "shared_wall_apartment",
      +        "ground_floor_street"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / candidate_listings / items / properties / market_context
      Added value: +{
      +  "properties": {
      +    "median_cleaning_fee": {
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "submarket_baseline_adr": {
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "submarket_name": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / candidate_listings / items / properties / safety_belonging
      Added value: +{
      +  "properties": {
      +    "host_sentiment": {
      +      "enum": [
      +        "exceptional",
      +        "welcoming",
      +        "neutral",
      +        "cautionary",
      +        "concerning"
      +      ],
      +      "type": "string"
      +    },
      +    "host_sentiment_signals": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "inclusive_badges": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "neighborhood_safety": {
      +      "enum": [
      +        "well_lit_secure",
      +        "standard_residential",
      +        "cautionary_at_night",
      +        "high_incident_area"
      +      ],
      +      "type": "string"
      +    },
      +    "neighborhood_safety_signals": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "privacy_integrity": {
      +      "properties": {
      +        "host_unannounced_entry_reported": {
      +          "type": "boolean"
      +        },
      +        "keyless_security_verified": {
      +          "type": "boolean"
      +        },
      +        "private_entrance": {
      +          "type": "boolean"
      +        },
      +        "undisclosed_cameras_reported": {
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / candidate_listings / items / properties / workspace_details
      Added value: +{
      +  "properties": {
      +    "chair_type": {
      +      "enum": [
      +        "ergonomic_office",
      +        "task_chair",
      +        "dining_chair",
      +        "none"
      +      ],
      +      "type": "string"
      +    },
      +    "dedicated_room": {
      +      "type": "boolean"
      +    },
      +    "desk_type": {
      +      "enum": [
      +        "standing_desk",
      +        "ergonomic_desk",
      +        "standard_desk",
      +        "dining_table",
      +        "laptop_tray",
      +        "none"
      +      ],
      +      "type": "string"
      +    },
      +    "docking_station": {
      +      "type": "boolean"
      +    },
      +    "ethernet_available": {
      +      "type": "boolean"
      +    },
      +    "external_monitor": {
      +      "type": "boolean"
      +    },
      +    "verified_wifi_mbps": {
      +      "minimum": 0,
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It discloses determinism ('deterministic given identical input'), non-persistence ('does not persist any data'), non-transactionality ('does not book or transact'), and privacy behavior ('does not infer or profile demographics'). This is comprehensive for a decision tool, though it does not mention rate limits or error handling.

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?

The description is front-loaded with the core action in the first sentence, then covers scope, exclusions, and caveats. It is relatively long but each sentence adds value—no fluff. The structure with 'SCOPE' and separate exclusions makes it easy to parse.

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 the tool's complexity (3 top-level params, nested objects, no output schema), the description provides a clear outline of what is evaluated and what the return contains ('score breakdown, tradeoffs, risk flags, missing information, and confidence'). It adequately describes inputs via the scope and explicit requirement for candidate listings. It could be more detailed about output format, but it is complete enough for an agent to use the tool correctly.

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?

The schema has 0% description coverage, so the description must compensate. It adds meaning by stating the evaluation scope ('budget, location, amenities, workspace ergonomics, acoustic isolation, price sanity vs submarket baselines, keyless access friction, and Safety & Belonging') which maps to several parameters, and explicitly requires candidate_listings. However, it does not explain the purpose or format of individual parameters beyond this scope, leaving some inference needed for max_guests, nightly_rate, etc.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states exactly what the tool does: 'Ranks caller-supplied lodging candidates for a traveler/trip and returns a deterministic, evidence-backed recommendation with score breakdown, tradeoffs, risk flags, missing information, and confidence.' It also clarifies what it does NOT do (search inventory, book, transact, persist data), making the purpose unambiguous and distinguishing it from any potential alternative.

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?

The description explicitly states that the caller must supply candidate_listings and that the tool does not book or transact, setting clear expectations. It also advises to 'Always re-verify availability, price, and policy before booking,' implying the tool's output is static and not a live booking action. While there are no sibling tools to compare against, the context of when to use this tool is clear.

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.