Skip to main content
Glama

Get a listing

get_listing
Read-onlyIdempotent

Details of one listing found by search_condos or nearby_condos: price, size, bedrooms, furnishing, pets, deposit, minimum lease, amenities, station and walk, and a warning when the post asks for money before a viewing. Returns its bkkradar.com link.

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, from search_condos or nearby_condos.
langNoLanguage of the titles and links: en, fr, th, ja (Japanese), zh (simplified Chinese) or ru (Russian). Use the user's language.en

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / lang / description
      Previous value: -"Language of the titles and links: en, fr, th, ja (Japanese) or zh (simplified Chinese). Use the user's language."New value: +"Language of the titles and links: en, fr, th, ja (Japanese), zh (simplified Chinese) or ru (Russian). Use the user's language."
    • changedInput schema / properties / lang / enum
      Previous value: -[
      -  "en",
      -  "fr",
      -  "th",
      -  "ja",
      -  "zh"
      -]New value: +[
      +  "en",
      +  "fr",
      +  "th",
      +  "ja",
      +  "zh",
      +  "ru"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / lang / description
      Previous value: -"Language of the titles and links: en, fr or th. Use the user's language."New value: +"Language of the titles and links: en, fr, th, ja (Japanese) or zh (simplified Chinese). Use the user's language."
    • changedInput schema / properties / lang / enum
      Previous value: -[
      -  "en",
      -  "fr",
      -  "th"
      -]New value: +[
      +  "en",
      +  "fr",
      +  "th",
      +  "ja",
      +  "zh"
      +]
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety needs no restating. The description adds real behavioral value beyond them: it discloses the return payload's key fields, that a bkkradar.com link is included, and notably that a scam warning is surfaced when a post asks for money before a viewing — non-obvious output behavior. It omits what happens on an unknown/expired id, which keeps it off 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.

Conciseness5/5

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

A single dense sentence, front-loaded with the core purpose, followed by the field inventory and the two most decision-relevant extras (scam warning, source link). No filler or repetition of the title.

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 return values, and it does so well by enumerating the salient fields and the link. The main gap is error behavior for a bad or expired id, and the lang parameter's effect on returned titles/links is left unstated.

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%, with both the uuid id and the lang enum fully documented in the schema, so the baseline is 3. The description only implies the id's provenance (search_condos/nearby_condos, already stated in the schema) and never mentions lang or how it affects titles and links, so it adds little parameter meaning.

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?

States a specific verb and resource ("Details of one listing") and enumerates the returned fields — price, size, bedrooms, furnishing, pets, deposit, minimum lease, amenities, station/walk — plus the bkkradar.com link. It also ties the tool to the two sibling search tools that produce the id, so an agent can distinguish it from search/aggregate tools at a glance.

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 phrase "found by search_condos or nearby_condos" makes clear this is the drill-down step after a search result, which is genuine when-to-use guidance. It stops short of explicit exclusions (e.g., "do not use for browsing or for price history — use price_drops"), so it is clear context rather than full routing logic.

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