Skip to main content
Glama

Get shops

get_shops
Read-only

Raw JSON shop analytics — for programmatic use, NOT for showing a user.

Prefer view_shops for anything a person will see ("top shops selling X", "biggest sellers in ", competitor discovery): it renders the same data as a rich sortable table with a KPI summary. Use THIS tool only when you need the raw records to compute/aggregate/filter further yourself, or to feed another tool — not to present results.

Filters: text match on shop_name (exact) / shop_name_include (partial) / category / currency_code / shop_location_country_iso, plus a <field>_min / <field>_max pair for every shop metric — Total Sales (transaction_sold_count), Total Revenue (revenue), Shop Age (shop_age_month), Reviews, Total Favorites, Active Listings and the rest. Sort with order_by + order_direction — see the order_by field description for the accepted metrics and the EverBee app label each one maps to.

Returns: {current_page, total_count, total_pages, results: [shop, ...]} with shop_name, sales_30_days, revenue_30_days, review_count, conversion_rate, listings_count, shop_age_month, and more. Use get_shop(shop_name) for detail and get_shop_listings(shop_name) for its catalog.

Three returned fields are DERIVED per row rather than indexed, so they cannot be sorted or filtered by: listings_count, average_calculated_revenue, on_etsy_since. Bound listing_active_count, revenue and shop_age_month instead.

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": "get_shops"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the description carries a lower burden, yet it still adds real behavior: three returned fields are derived per row and therefore unsortable/unfilterable, and raw get_* tools cap at 50 per page. Minor duplication with the output schema in the 'Returns' sentence keeps it from a 5.

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

Conciseness5/5

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

Front-loads the decisive usage rule (raw vs rendered) in the first two sentences, where an agent will read it, and the remaining paragraphs are short scannable blocks. The derived-field caveat is placed last, exactly where a caller would look before building a sort.

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

Completeness4/5

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

An output schema exists, so return values needn't be spelled out, but the description still names the envelope and key fields, and it flags the paging cap and derived-field restrictions that the schema does not. Coverage is essentially complete for a 40+ filter read tool.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3; however the description adds meaning beyond the schema by explaining the <field>_min/_max convention across every metric, the exact-vs-partial text filter split, and the workaround of bounding listing_active_count instead of the derived listings_count. The order_by mapping itself is delegated to the schema, which is a reasonable but partial hand-off.

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+resource (raw JSON shop analytics) and immediately qualifies its scope as programmatic/compute-oriented rather than user-facing. It explicitly names view_shops as the rendering alternative, so an agent can distinguish the two 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?

Gives an explicit when-to-use ('need the raw records to compute/aggregate/filter further yourself, or to feed another tool') and when-not ('not to present results'), plus routes to view_shops for human-visible output and to get_shop / get_shop_listings for drill-down. Nothing is left to inference.

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