Skip to main content
Glama

get_listing_product

Read-only

Fetch a specific product purchased from an Etsy listing using listing and product IDs to inspect order or inventory details.

Instructions

Open API V3 endpoint to retrieve a ListingProduct by ID.

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>",
      "product_id": "<product_id>"
    },
    "name": "get_listing_product"
  }
}

Input Schema

NameRequiredDescriptionDefault
legacyNoThis parameter is needed to enable new parameters and response values related to processing profiles.
listing_idYesThe listing to return a ListingProduct for.
product_idYesThe numeric ID for a specific [product](/documentation/reference#tag/ShopListing-Product) purchased from a listing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond that: no note on return contents, no behavior when product_id doesn't belong to the listing, no error semantics. The two HTML divs and the 'Report bug' link are pure boilerplate contributing zero behavioral information.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

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

Roughly three quarters of the text is raw HTML scaffolding — badge markup, a GitHub discussions link, and a production-readiness banner — none of which helps an agent invoke the tool. The one useful sentence appears last rather than front-loaded, so the reader must wade through markup to find the purpose.

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

Completeness2/5

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

There is no output schema, so the description carried the burden of describing what a ListingProduct record contains or how it relates to the parent listing, and it does neither. For a read tool this simple that is not fatal, but combined with the markup noise and absent error semantics the definition is far thinner than it should be.

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%, and the schema documents all three parameters including the optional 'legacy' flag's purpose, so the baseline of 3 applies. The description adds no parameter meaning of its own — notably it never mentions the 'legacy' parameter, which is the least self-explanatory one.

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 final sentence states a specific verb and resource: 'retrieve a ListingProduct by ID.' That clearly separates it from siblings like get_listing or get_listing_inventory. However, the actual purpose statement is buried after two blocks of HTML banner markup, and it does not contrast itself with any named alternative.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no indication of prerequisites such as needing a valid listing_id/product_id pair sourced from the listing inventory, and no exclusions against adjacent tools like get_listing_inventory. The only contextual sentence is a 'ready for production use' banner, which is not usage guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools