Skip to main content
Glama

Shops

view_shops
Read-only

Show Etsy shop analytics to a person as a rich table. PREFER THIS for any user-facing shop research — 'top/best/biggest shops', 'who's selling ', 'shops doing over $X/mo', competitor discovery, and any filtered or sorted request ('shops with over 1,000 sales sorted by revenue'). Use it by default for such requests; only fall back to the raw get_shops tool when you need the JSON to compute something yourself.

DEFAULT: omit columns. The widget then shows the same default columns the EverBee app shows, which is what the user expects to see — and the set is wide, so leaving it alone is almost always right.

Pass columns ONLY when the user names the shop fields they want, or asks to add or drop one ("show me price and views", "just the keyword and its volume", "add conversion rate"). It REPLACES the default set — it does not extend it — so a partial list hides every column you leave out. Filtering or sorting on a field is NOT such a request: those fields are appended automatically, and the rest of the default set still shows.

When you do pass it, list the fields in display order. Each entry may be the EverBee app label the user says OR the backend field key — "Total Sales" and "transaction_sold_count" both resolve, and matching ignores case, punctuation and spacing. Unresolvable names are dropped silently.

Available — label (field key): "Shop Name" (shop_name), "Total Sales" (transaction_sold_count), "Total Revenue" (revenue), "Mo. Sales" (sales_30_days), "Mo. Revenue" (revenue_30_days), "Shop Age" (shop_age_month), "Shop Review Score" (review_average), "Reviews" (review_count), "Total Favorites" (num_favorers), "Category" (category), "Currency" (currency_code), "Location" (shop_location_country_iso), "Active Listings" (listing_active_count), "Digital Listings" (digital_listing_count), "Review Rate" (review_rate), "Conversion Rate" (conversion_rate), "Total Views" (views), "Average price" (average_listing_price), "Listings" (listings_count), "Est. Total Revenue" (average_calculated_revenue), "Sales per Listing" (sale_per_listing), "On Etsy since" (on_etsy_since).

Default set (what you get by omitting columns): "Shop Name", "Total Sales", "Total Revenue", "Mo. Sales", "Mo. Revenue", "Shop Age", "Shop Review Score", "Reviews", "Total Favorites", "Category", "Currency", "Location", "Active Listings", "Digital Listings".

Rows: the table always shows 20 per page with Previous / Next. When the user asks for an exact number ("51 listings", "top 5"), set limit to it; otherwise leave limit and params.per_page unset to page through every match. Use ShopsParams filters/order_by to narrow and sort the underlying query.

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": {
      "params": "<params>"
    },
    "name": "view_shops"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoSet ONLY when the user asks for an exact number of results ("51 listings", "top 5"): the table then holds exactly that many, 20 per page with Previous / Next. Omit it otherwise — every match, 20 per page.
paramsYesFilters for GET /api/v1/shops. Every field is optional and only sent when set. Range filters come in `<field>_min` / `<field>_max` pairs — set one or both to bound that metric. Use the `*_include` / `*_exclude` string filters for partial-match text search; `shop_name`, `category`, `currency_code` and `shop_location_country_iso` match exactly.
columnsNoOMIT THIS unless the user named the fields they want to see. Passing it REPLACES the view's default column set (the same columns the EverBee app shows by default) — it does not extend it — so a partial list hides every column you leave out. Filtering or sorting does NOT need it: those fields are appended to the default set automatically. See the tool description for the available labels and the default set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the readOnly/destructive annotations, it discloses rendering behavior (20 rows per page with Previous/Next), that `columns` REPLACES rather than extends the default set, that filter/sort fields are auto-appended, that unresolvable column names are dropped silently, and that fractional bounds get truncated (echoed in schema). This is genuinely operational context an agent would otherwise get wrong.

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?

Well front-loaded with the routing decision first and DEFAULT/columns guidance in labeled blocks. However, the 'columns replaces the default set, partial lists hide columns' warning is repeated in the description, the `columns` schema property, and again in the surrounding paragraphs, which costs space without new information.

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?

No output schema exists, but the description explains the returned shape (table, 20 per page, paging controls) and the default column set, so an agent knows what the user will see. Filtering, sorting, saved filters, and the limit/paging tradeoff are all covered for a 3-parameter nested tool.

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

Parameters5/5

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

Schema coverage is 100%, so the bar is higher, yet the description still adds the one thing the schema defers to it: the full label-to-field-key mapping and the enumerated default column set. It also gives behavioral semantics for `columns` (replacement, not extension) and `limit` (exact-count vs paging) that the schema alone wouldn't make obvious.

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?

States a specific verb and resource ('Show Etsy shop analytics... as a rich table') and immediately contrasts itself with the raw sibling: 'only fall back to the raw get_shops tool when you need the JSON to compute something yourself.' An agent can pick between view_shops and get_shops without opening either schema.

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

Usage Guidelines5/5

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

Explicit when-to-use with enumerated trigger phrasings ('top/best/biggest shops', 'shops doing over $X/mo', filtered/sorted requests), an explicit when-to-fall-back rule pointing at get_shops, and separate rules for when to set `columns` and `limit` versus when to omit them.

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.

Resources