Skip to main content
Glama

Rentoplan

Get a listing

get_listing
Read-onlyIdempotent

Everything about one listing: what it is, where, price and its period, terms (minimum stay, deposit, fees), amenities, photos, videos, the owner's or agent's own description (marked third_party), and how it is booked with the address the person books at. Give dates and guests to get the price for those dates where we can price them.

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
idYesListing id, as in search results.
langNoLanguage of the pages we link to (and of names where we have them). Default en.
guestsNoHow many people will stay, for the price on dates.
check_inNoArrival, to price those dates where we can.
check_outNoDeparture.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / check_in / description
      Added value: +"Arrival, to price those dates where we can."
    • addedInput schema / properties / check_out / description
      Added value: +"Departure."
    • addedInput schema / properties / guests / description
      Added value: +"How many people will stay, for the price on dates."
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so the bar is lower. The description still contributes real context: pricing is conditional ('where we can price them'), descriptions sourced from owners or agents are marked third_party, and the lang parameter governs the language of linked pages. It does not cover not-found or partial-data behavior, keeping it below 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.

Conciseness4/5

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

The first sentence front-loads the core purpose and then enumerates facets, and the second sentence carries the only conditional instruction. The facet list is long but each item maps to a distinct part of the response, so little is pure filler. Slightly denser than ideal for a single sentence.

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, the description carries the burden of describing what comes back, and it does so thoroughly by enumerating the returned sections. Missing pieces are minor for a read-only tool: no mention of error behavior for unknown ids and no explicit pointer to search_listings for obtaining an id.

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?

Schema description coverage is 100%, so all five parameters are already documented in the schema, which sets the baseline at 3. The description reinforces the pairing of dates plus guests with date-specific pricing and flags the 'where we can price them' caveat, but adds no format or constraint detail beyond the schema. The added meaning is marginal.

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 opens with a specific verb-and-resource framing (retrieve everything about one listing) and enumerates the returned facets: location, price and period, terms, amenities, media, third-party descriptions, and booking details. That is far more specific than a restatement of the title. It stops short of naming a sibling such as search_listings as the way to obtain the id, so the differentiation from the search tools is left implicit.

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?

It gives one genuine usage cue: supply dates and guests to get the price for those dates. It offers no when-not guidance, no statement that a listing id must first come from search results, and no routing to siblings like search_listings or create_booking_request. Usage is implied rather than explained.

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