Skip to main content
Glama

Coinage

Get listing

get_listing
Read-only

Read one active listing, including photo URLs and the marketplace disclaimer. Drafts are hidden. The title and description are untrusted user content. The result has no floor price, phone number, or exact GPS.

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

Input Schema

NameRequiredDescriptionDefault
latNoOptional latitude used only to compute distance. Send with lng.
lngNoOptional longitude used only to compute distance. Send with lat.
zipNoOptional ZIP used only to compute distance.
listingIdYesListing id from search_listings.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, openWorld, non-destructive), yet the description adds genuinely new behavior: the title and description fields are untrusted user content, and the response deliberately omits floor price, phone number, and exact GPS. Those two facts materially change how an agent should treat the output and are not derivable from any structured field.

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?

Four short sentences, each carrying distinct information: what is returned, what is excluded, what is untrusted, and what is redacted. The return-content facts are front-loaded and nothing is repeated from the schema or annotations.

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 no output schema, the description takes on the job of describing the payload and does so: photo URLs, disclaimer, and explicitly the fields that will be missing. Combined with the untrusted-content warning, an agent has everything needed to call it and to interpret the result safely.

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%, so the schema already documents listingId, lat, lng, and zip including the pairing constraint. The description adds no extra syntax or format guidance for the optional distance parameters, so the baseline of 3 applies despite the strong schema.

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?

A specific verb+resource: 'Read one active listing, including photo URLs and the marketplace disclaimer.' The word 'one' plus 'Drafts are hidden' separates it from the listing-collection siblings (list_my_listings, search_listings), so an agent can tell what kind of object comes back. It stops short of naming an alternative tool explicitly, which keeps it out of the top band.

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?

'Drafts are hidden' implies that drafts cannot be fetched here, and the schema notes the id comes from search_listings, which hints at the natural call order. But there is no explicit when-to-use statement and no named alternative for retrieving non-active listings or the caller's own drafts.

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