Skip to main content
Glama

Shoprocket MCP by usefulapi

Get store stats

shoprocket_get_store_stats
Read-only

Sales statistics for a date range, compared with the previous period: orders, revenue, visitors, abandoned carts, conversion rate, average order value, a daily sales graph, regions, sources and popular products. GET /v1/store/stats.

Input Schema

NameRequiredDescriptionDefault
toYesLast day, yyyy-mm-dd.
fromYesFirst day, yyyy-mm-dd.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds real value by disclosing that results are compared against the previous period and enumerating the metric set, which the annotations do not convey. It omits nothing critical for an aggregate read endpoint.

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?

One front-loaded sentence: scope first, then the metric enumeration, then the endpoint. Every clause carries information, and the length is justified because no output schema exists to describe the returned fields.

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 no output schema, the description compensates by naming the returned metrics and the comparison behavior, which is what an agent needs to know before calling. Minor gap: it does not state whether the date range is inclusive or how the previous period is derived.

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 coverage is 100% and both from/to are documented with the yyyy-mm-dd pattern in the schema. The description only restates 'date range' without adding format, inclusivity, or default guidance, so it adds little beyond the schema.

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 (get sales statistics) and resource (store stats over a date range, compared with the previous period). The enumeration of returned metrics plus the endpoint path make it unambiguously distinct from siblings like list_sales or list_orders.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the aggregate analytics tool versus the listing tools, but the description never says when to prefer it over shoprocket_list_sales or shoprocket_list_orders. No exclusions or prerequisites are stated.

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.