Skip to main content
Glama

Monitored Shop Listing Sales

get_monitored_shop_sales
Read-onlyIdempotent

Retrieve per-listing real sales and revenue for a monitored shop’s current period to identify which products are selling; requires a shop with a public sold page.

Instructions

Per-listing real sales and revenue of a monitored shop during its current monitoring period: shows exactly which products are selling. Only for shops with a public sold page (have_sold_page = 1 in list_shop_monitors). Free. If you get 404, the shop is not currently monitored; check list_shop_monitors.

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_name": "<shop_name>"
    },
    "name": "get_monitored_shop_sales"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, starting at 1. Default 1.
order_byNoSort field.
per_pageNoRecords per page (1-100). Default 10.
directionNoSort direction. Default `desc`.
shop_nameYesExact shop name as returned in `name` by list_shop_monitors.

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 the safety profile (readOnly, idempotent, non-destructive), so the bar is lower; the description still adds real value by disclosing cost ('Free'), the failure semantics of a 404, and the prerequisite that the shop must expose a public sold page. It stops short of describing result volume or pagination behavior.

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?

Three terse, front-loaded statements: what it returns, the eligibility constraint, and the failure path. No filler, and the most decision-relevant constraint appears before the error handling.

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?

With five parameters and no output schema, the description needs to convey the shape of the result, and it does ('per-listing real sales and revenue'). Combined with the precondition and 404 guidance, an agent can call this correctly; only the pagination/sort implications of the three optional params are left entirely to 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% and both enums (order_by, direction) are documented inline, so the schema does the heavy lifting. The description adds no meaning about shop_name format, sort options, or paging beyond what is already structured, which is the correct baseline for full coverage.

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: per-listing real sales and revenue for a monitored shop during its current monitoring period, plus the added clarifier 'shows exactly which products are selling'. This distinguishes it from sibling aggregates like get_monitored_shop and get_shop_daily_stats without needing the schema.

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?

Gives an explicit eligibility precondition (only shops with have_sold_page = 1, cross-referenced to list_shop_monitors) and a recovery path for 404s that routes back to list_shop_monitors. It does not explicitly contrast itself with get_monitored_shop or get_shop_trend, so the when-to-prefer-this guidance is clear but not fully enumerated.

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