Skip to main content
Glama

Show an item for sale

get_listing
Read-onlyIdempotent

Shows one listing as a card: photos, price, condition, description, suburb and pickup times. The seller sees their own draft.

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

Input Schema

NameRequiredDescriptionDefault
refreshNoSet only by the card when it checks for updates by itself. Leave it out.
listing_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / refresh
      Added value: +{
      +  "description": "Set only by the card when it checks for updates by itself. Leave it out.",
      +  "type": "boolean"
      +}
  2. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior, so the bar is lower, and the description still adds real value by describing the card payload and disclosing a visibility rule: a seller fetching their own listing sees the draft version. It does not say what happens when the listing is unavailable or not visible to the caller.

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?

Two short sentences, front-loaded with the core action and payload, with no filler. The draft-visibility caveat is placed last where it belongs as a secondary note.

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 usefully enumerates the fields returned, which is the main completeness risk for a read tool. The remaining gap is the undocumented required identifier, though its name is largely self-explanatory.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 50%: 'refresh' is documented in the schema but 'listing_id' carries no description there, and the description never explains it either, beyond the vague implication of 'one listing'. An agent gets no stated format, source, or meaning for the single required parameter.

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 gives a specific verb and resource ('Shows one listing as a card') and enumerates the returned fields (photos, price, condition, description, suburb, pickup times), which clearly separates it from list-style siblings like search_listings or my_listings. It stops short of explicitly naming an alternative, but the singular scope is unambiguous.

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?

Usage is only implied: an agent can infer it should call this when it needs full detail on a single known listing, and the note that 'The seller sees their own draft' hints at a draft-retrieval case. There is no explicit when-to-use vs. when-not guidance and no named alternative such as see_listing_photos or search_listings.

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.