Skip to main content
Glama

Get listing

get_listing
Read-onlyIdempotent

Use this when the user wants more details about a listing returned by a search. Retrieves one listing by its UUID. Active listings are visible to everyone. Draft, sold, closed, or expired listings are returned only to their owner when the local development identity is configured; otherwise they are reported as not found.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
listing_idYesUUID of the listing to retrieve.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
priceYes
titleYes
statusYes
addressYes
categoryYes
currencyYes
latitudeYes
longitudeYes
created_atYes
descriptionYes
distance_kmYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/closed-world, and the description adds substantial behavior beyond them: visibility rules for active vs draft/sold/closed/expired listings, the owner-identity requirement, and the not-found outcome for non-owners. This is exactly the access-control detail an agent needs.

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, front-loaded with the usage trigger before the retrieval mechanics and visibility behavior. No filler or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, return-value explanation is unnecessary, and the description covers the remaining gaps (access semantics, identity requirements, not-found behavior). Nothing an agent needs to call this correctly is missing.

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 coverage is 100% and the single listing_id parameter is fully documented as a UUID there. The description's 'by its UUID' phrase merely restates the schema, adding no new semantics, so baseline 3 applies.

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 (retrieves one listing by its UUID) and ties it to the search flow. It is clearly distinguishable from the sibling search_* tools, which return result sets rather than a single record.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Use this when the user wants more details about a listing returned by a search' names the exact trigger and implicitly routes the agent away from the search tools toward this detail fetch. The context that selects this tool over its siblings is explicit.

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.