Skip to main content
Glama

Get a multi-unit property

get_property
Read-onlyIdempotent

Every unit at one multi-unit property: a hotel, glamping site or building whose units share a booking site and a location. Search results carry readyToBook.property.id when a home is one of several such units. Returns the property (name only where the operator's own unit titles share it), and each unit with its label, bedrooms, guests, CielStay page and readyToBook. With checkIn and checkOut, each unit's readyToBook also carries availability and the total on the host's site for those dates (up to 30 units).

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": {
      "id": "<id>"
    },
    "name": "get_property"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe property id (readyToBook.property.id from a search result).
guestsNoNumber of guests. Defaults to 2.
checkInNoArrival date, YYYY-MM-DD.
checkOutNoDeparture date, YYYY-MM-DD.

Output Schema

NameRequiredDescriptionDefault
foundNo
unitsNo
messageNo
propertyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedOutput schema / properties / units / items / $ref
      Removed value: -"#/properties/property"
    • addedOutput schema / properties / units / items / additionalProperties
      Added value: +true
    • addedOutput schema / properties / units / items / properties
      Added value: +{}
    • addedOutput schema / properties / units / items / type
      Added value: +"object"
  2. Changed4 schema fields changed
    • addedOutput schema / properties / property / additionalProperties
      Added value: +true
    • addedOutput schema / properties / property / properties
      Added value: +{}
    • addedOutput schema / properties / property / type
      Added value: +"object"
    • addedOutput schema / properties / units / items
      Added value: +{
      +  "$ref": "#/properties/property"
      +}
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "found": {
      +      "type": "boolean"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "property": {},
      +    "units": {
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  4. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds meaningful behavior beyond that: results are capped at 30 units, the property name is only returned when the operator's unit titles share it, and date parameters change what readyToBook contains.

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 purpose is front-loaded in the first sentence, followed by the id source and then return behavior. It is dense but every sentence contributes; the parenthetical about name sharing is a bit heavy but still earns its place.

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?

For a four-parameter read tool with full schema coverage, annotations, and an output schema, the description covers what is needed: scope, id provenance, date behavior, and the 30-unit cap. It does not discuss pagination or error cases, but those are minor given the structured fields already 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 description coverage is 100%, so the baseline is 3. The description adds value by explaining the effect of checkIn and checkOut (availability plus total on the host's site for those dates) and by confirming where id comes from, which goes beyond the schema's format-only date descriptions.

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 clearly states the verb and resource: it returns every unit at one multi-unit property, with concrete examples (hotel, glamping site, building). It distinguishes multi-unit properties from individual homes by explaining the readyToBook.property.id signal, though it does not explicitly name or contrast the sibling tool get_listing_details.

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 gives clear context for when to call: when a search result carries readyToBook.property.id because the home is one of several units. It also explains that adding checkIn and checkOut adds availability and pricing. It stops short of naming exclusions or alternatives like get_listing_details.

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