Skip to main content
Glama

Get a listing

get_listing
Read-onlyIdempotent

Full detail for one rental listing: description, amenities, policies, photos and the public listing URL to share. building_condition is the owner-published, ADVISORY condition grade with one line per factor (maintenance, equipment, compliance, inspections); it is not an inspection or a certification, and null means the owner has not switched it on — never that the building is in poor shape. floor_plan is the owner's own room measurements: each room carries method_label saying HOW it was measured ("Scanned", "Measured with a tape", "Entered by hand") — always say which, never present a typed figure as measured; total adds up the rooms listed and is NOT the home's official size; plan is a sketch of a scanned room's walls, not an architect's drawing; null means the owner has not published room sizes, never that the home is small.

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": {
      "listing_id": "<listing_id>"
    },
    "name": "get_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
listing_idYes

Output Schema

NameRequiredDescriptionDefault
idNo
urlNo
noteNoWhy the result was truncated, when it was.
rentNo
typeNo
photoNo
titleNo
photosNo
addressNo
coolingNo
depositNo
heatingNo
kitchenNo
laundryNo
outdoorNo
bedroomsNo
featuresNo
securityNo
bathroomsNo
furnishedNo
listed_atNo
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
nearby_poiNo
pet_policyNo
year_builtNo
descriptionNo
square_feetNo
available_fromNo
smoking_policyNo
total_availableNoHow many rows existed before truncation.
utilities_includedNo
nearby_transportationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

The annotations already declare this a safe, idempotent, closed read, so the safety profile is covered. The description then adds genuinely useful behavioral context beyond that — that building_condition is owner-published and ADVISORY, not an inspection or certification, and that null means 'not published' rather than a negative signal. It does not discuss rate limits, permissions, or how missing listings are reported, keeping it from a 5.

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?

The purpose is front-loaded in the first sentence, which is good, but roughly two-thirds of the text is dense caveat prose about building_condition and floor_plan. That material is valuable yet repetitive in structure ('null means ... never that ...'), and the heavy use of inline code formatting makes it slower to scan than it needs to be.

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?

An output schema exists, so return values need not be explained, yet the description still clarifies the two most misinterpretable returned fields, which is a net positive for a simple read-only fetch. The remaining gap is that the only input parameter is left entirely unexplained.

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 single parameter, listing_id, is documented nowhere in the schema (0% coverage) and is never mentioned in the description — no statement that it is required, its type, or how to obtain it. The name is self-evident for a get-by-id tool, which keeps this at an acceptable baseline rather than lower.

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 specific verb and resource — 'Full detail for one rental listing' — and enumerates what comes back (description, amenities, policies, photos, public URL). It does not differentiate itself from plausible siblings such as get_listing_template or get_property, so it stops short of a 5.

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?

Usage is only implied: 'for one rental listing' suggests fetching a single record when full detail is needed, and the mention of a shareable public URL hints at a public-facing use case. There is no explicit when-to-use vs. when-not, and no alternative tool is named.

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