Skip to main content
Glama

get_listings_by_shop_receipt

Read-only

Retrieve all listings tied to a specific shop receipt. Use it to fetch purchased items and their listing details for a given receipt ID and shop ID.

Instructions

Gets all listings associated with a receipt.

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": {
      "receipt_id": "<receipt_id>",
      "shop_id": "<shop_id>"
    },
    "name": "get_listings_by_shop_receipt"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoThe maximum number of results to return.
legacyNoThis parameter is needed to enable new parameters and response values related to processing profiles.
offsetNoThe number of records to skip before selecting the first result.
shop_idYesThe unique positive non-zero numeric ID for an Etsy Shop.
receipt_idYesThe numeric ID for the [receipt](/documentation/reference#tag/Shop-Receipt) associated to this transaction.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the agent knows this is a safe read against an open catalog. The description adds nothing beyond that — no pagination behavior for limit/offset, no note on result ordering or whether a receipt with no listings returns an empty set. With annotations carrying the safety profile, this is minimally adequate.

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 two-thirds of the text is raw HTML markup and release-status boilerplate that an agent must parse past before reaching the single substantive sentence. The useful content is not front-loaded, and the markup actively degrades readability.

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?

With no output schema and a paginated list endpoint (limit up to 100, offset up to 9e15), the description should explain pagination and what a returned listing record contains, but it does not. For a 5-parameter read tool whose result semantics are entirely unspecified, it leaves meaningful gaps.

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%, so all five parameters (limit, offset, legacy, shop_id, receipt_id) are already documented in the schema. The description adds no meaning beyond that, which matches the baseline 3 when the schema does the heavy lifting.

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 operative sentence "Gets all listings associated with a receipt" states a specific verb (gets) and resource (listings tied to a receipt), so the agent can tell what it returns. It does not distinguish itself from near-siblings such as get_shop_receipt_transactions_by_listing or get_listings_by_shop, leaving the receipt-scoped listing behavior only implicit.

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 statement of when to use this tool versus the many receipt- and listing-oriented siblings, and no mention of prerequisites such as needing both shop_id and receipt_id. The only usage-adjacent text is a boilerplate release-status banner that conveys nothing about selection.

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