Skip to main content
Glama

Get store stats

get_store_stats
Read-only

Dashboard totals across your stores: order counts by status, paid revenue, subscriber counts.

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

Input Schema

NameRequiredDescriptionDefault
store_idNoOptional: limit to one store

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/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 safety profile is covered. The description adds that results are aggregate totals spanning stores, which is useful context, but for a stats tool it omits the time window over which revenue and order counts are computed and any freshness/caching behavior — a meaningful omission not covered by annotations.

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?

A single front-loaded sentence listing the returned metrics with no filler or repetition. Every phrase conveys information an agent can act on.

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

Completeness3/5

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

For a zero-required-parameter read tool with annotations and no output schema, the description covers the metric categories adequately. However, it leaves the aggregation window and metric definitions (e.g., what counts as 'paid revenue') unspecified, which are the key details an agent needs to interpret results correctly.

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 the single optional store_id parameter is fully documented in the schema as limiting to one store. The description's phrase 'across your stores' implicitly confirms the no-parameter default (all stores), which adds a small amount of value, but no additional details on identifier format are given. Baseline 3 applies since the schema carries the weight.

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

Purpose4/5

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

Names a specific resource (store stats) and enumerates the metrics returned (order counts by status, paid revenue, subscriber counts), which is far more informative than the title alone. It is distinguishable from get_store, which fetches a single store's details rather than aggregates, though it does not name any sibling explicitly.

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

Usage Guidelines2/5

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

The word 'Dashboard' hints at a reporting use case, but there is no explicit statement of when to call this versus alternatives such as get_usage_summary or get_order, and no exclusions or prerequisites. An agent must infer the use case from the metric list.

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