Skip to main content
Glama

SharehouseHub

Get one room listing

get_listing
Read-only

Returns the details of one room listing by id: locality, country, currency, rent cadence, bills, availability, house size, and the host's first name. No street address, phone number or email is returned. For a signed-in user it records that the listing was opened.

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_listing"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Adds real context beyond the annotations: the privacy boundary ("No street address, phone number or email is returned") and the side effect ("For a signed-in user it records that the listing was opened"). That view-recording is a state write and sits uneasily with readOnlyHint=true, though it does not alter the returned data or user-visible state; the description also doesn't say whether recording is best-effort or can fail the call.

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

Conciseness5/5

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

Three tight sentences: what it returns, what it deliberately withholds, and the one side effect. Nothing is repeated and the returned-field list is front-loaded where an agent needs it.

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?

With no output schema and no parameter docs, the description compensates well by enumerating the returned fields and the excluded ones, and by disclosing the view-recording side effect. Only not-found/error behavior for an invalid id is missing for a single-param lookup tool.

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?

One parameter with 0% schema description coverage, so the description carries the burden; "by id" tells the agent the argument is a listing identifier rather than a house or user id, which is useful. It does not specify id format (slug vs numeric handle) or what happens on an unknown id, leaving the schema's minLength/maxLength constraints to do the rest.

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 ("Returns the details of one room listing by id") and even enumerates the returned fields, so the agent knows exactly what it gets back. It does not explicitly differentiate itself from the closest sibling, get_house, which also retrieves property detail, so the room-vs-house distinction is left to inference.

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?

The "by id" phrasing implies the tool is for fetching a listing once you already have its identifier, but there is no explicit when-to-use or when-not guidance, and no pointer to search_rooms for discovering an id in the first place. The usage is implied rather than stated.

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.