Skip to main content
Glama

get_listings_by_shop

Read-only

Retrieve listings that belong to an Etsy shop and filter them by state, such as active, inactive, sold_out, or draft, to review shop inventory and track listing status.

Instructions

Endpoint to list Listings that belong to a Shop. Listings can be filtered using the 'state' param.

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

Input Schema

NameRequiredDescriptionDefault
limitNoThe maximum number of results to return.
stateNoWhen _updating_ a listing, this value can be either `active` or `inactive`. Note: Setting a `draft` listing to `active` will also publish the listing on etsy.com and requires that the listing have an image set. Setting a `sold_out` listing to active will update the quantity to 1 and renew the listing on etsy.com.
offsetNoThe number of records to skip before selecting the first result.
shop_idYesThe unique positive non-zero numeric ID for an Etsy Shop.
sort_onNoThe value to sort a search result of listings on. NOTES: a) `sort_on` only works when combined with one of the search options (keywords, region, etc.). b) when using `score` the returned results will always be in _descending_ order, regardless of the `sort_order` parameter.
includesNoAn enumerated string that attaches a valid association. Acceptable inputs are 'Shipping', 'Shop', 'Images', 'User', 'Translations', 'Videos', 'Inventory' and 'Personalization'.
sort_orderNoThe ascending(up) or descending(down) order to sort listings by. NOTE: sort_order only works when combined with one of the search options (keywords, region, etc.).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.4/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 behavioral beyond that — the remaining text is HTML boilerplate about production readiness and a bug-report link, not information about scope, pagination, or result shape.

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?

The description is dominated by raw HTML divs, badge markup, and a bug-report link that carry no meaning for an agent. The single substantive sentence is buried at the end rather than front-loaded.

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?

For a seven-parameter listing tool with no output schema, the description should at least explain pagination (limit/offset), sorting caveats, and the includes association. None of that is present, leaving the agent dependent entirely on the schema.

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 the schema already documents all seven parameters, including enums for state, sort_on, sort_order, and includes. The description only echoes the state filter and adds no syntax or semantics beyond the schema, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The sentence 'Endpoint to list Listings that belong to a Shop' gives a clear verb and resource, but it does not distinguish this tool from siblings like get_featured_listings_by_shop or find_all_active_listings_by_shop, which also return shop listings. An agent cannot tell from the description alone which of these to pick.

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?

The only usage hint is that listings 'can be filtered using the state param.' There is no guidance on when to use this tool versus the featured/active/section variants, no mention of pagination expectations, and no exclusions.

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