Skip to main content
Glama

Search Closed Etsy Shops

search_closed_shops
Read-onlyIdempotent

Find closed Etsy shops and their sales before closing to uncover niches where successful sellers exited, revealing demand without an active supplier.

Instructions

Search Etsy shops that have closed, with their sales before closing: useful for finding niches where a successful seller left (demand without that supplier). Filters: sales, sales in the 30 days before closing, reviews, favorites, price, listing count, rating, country, product type, opening and closing dates. COST: 1 Credit per returned shop. Returned shops are unlocked for 3 days for the free shop stats tools.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_closed_shops"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoKeywords that must all appear in the shop name or headline (fuzzy). Pass an array or a comma-separated string.
order_byNoSort field. Default sold_count_30 (sales in the 30 days before closing).
directionNoSort direction. Default `desc`.
page_sizeNoRecords per page (1-100). Default 10. Each returned record costs 1 Credit, so request only what you need.
country_codeNoShop country/region codes (ISO 3166-1 alpha-2), e.g. US, GB, DE. Pass an array or a comma-separated string.
current_pageNoPage number, starting at 1. Default 1.
is_real_saleNotrue = only shops with real (verified) sales data.
product_typeNoFilter by product type(s): Handmade, Digital, Vintage, Customizable, Others.
avg_price_endNoMaximum average product price (USD).
close_time_endNoShop closed on or before this date. Format YYYY-MM-DD.
sold_count_endNoMaximum total sales.
avg_price_startNoMinimum average product price (USD).
create_date_endNoShop opened on or before this date. Format YYYY-MM-DD.
close_time_startNoShop closed on or after this date. Format YYYY-MM-DD.
sold_count_startNoMinimum total sales.
create_date_startNoShop opened on or after this date. Format YYYY-MM-DD.
sold_count_30_endNoMaximum sales in the 30 days before closing.
average_rating_endNoMaximum shop rating (0-5).
favorites_count_endNoMaximum total favorites.
sold_count_30_startNoMinimum sales in the 30 days before closing.
average_rating_startNoMinimum shop rating (0-5).
favorites_count_startNoMinimum total favorites.
total_product_num_endNoMaximum number of listings.
total_rating_count_endNoMaximum total reviews.
total_product_num_startNoMinimum number of listings.
total_rating_count_startNoMinimum total reviews.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, and open-world behavior, and the description adds the traits that matter most for this paid search: a per-record credit cost and a 3-day unlock window on results. It does not disclose result fields, pagination limits, or what happens when no filters are supplied.

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

Conciseness4/5

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

Three front-loaded sentences: purpose plus use case, then filters, then cost. The filter enumeration is somewhat redundant with the schema but is short and scannable; the credit warning is correctly placed last as the decision-relevant caveat.

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?

For a 26-parameter, zero-required search tool with no output schema, the definition covers purpose, cost model, result persistence, and filter surface. An agent can decide whether to call it and how to scope page_size without further information.

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 every one of the 26 parameters is already documented. The description's filter list mirrors the schema rather than adding syntax, defaults, or interaction rules, so it meets the baseline without exceeding it.

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

Purpose5/5

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

The description states a specific verb and resource with an inherent scope qualifier: 'Search Etsy shops that have closed, with their sales before closing.' The word 'closed' alone distinguishes it from the sibling search_shops tool, and the parenthetical use case ('demand without that supplier') confirms what the result set represents.

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

Usage Guidelines4/5

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

It gives a clear motivating scenario (finding niches where a successful seller left) and a follow-up path (returned shops are unlocked for 3 days for the free shop stats tools). It does not explicitly say when not to use it or name the active-shop alternative, so it stops short of full routing guidance.

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