Skip to main content
Glama
mcp-woocommerce

mcp-woocommerce

by zeusmyto

sales_summary

Summarize revenue, order count, average order value, and best sellers over the last N days for processing or completed orders.

Instructions

Revenue, number of orders, average order and best sellers over the last N days (orders with status processing or completed).

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

Input Schema

NameRequiredDescriptionDefault
daysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the important inclusion rule: only orders with status processing or completed are counted. It does not state whether the window is calendar days or a rolling period, whether the operation is read-only (implied), or how ties or refunds are handled.

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?

A single front-loaded sentence that enumerates the returned metrics first and puts the scoping condition in a trailing parenthetical. No filler, though the enumerated list reads as a compact catalog rather than a structured statement of return shape.

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?

For a one-parameter aggregation tool with no output schema, the description usefully enumerates what comes back and which orders qualify. Remaining gaps, chiefly window semantics and response structure, are modest for a tool of this complexity.

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?

There is one parameter at 0% schema description coverage, so the description must compensate. 'Last N days' gives the parameter meaning a bare integer named days with default 30 does not, but it leaves the unit boundary (rolling window vs. calendar days) and valid range undefined.

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?

The description names the exact metrics produced (revenue, order count, average order value, best sellers) and the aggregation window (last N days). That is concrete enough to separate it from a raw order-listing sibling such as list_orders, although it never explicitly says so.

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 implied by 'over the last N days' and by the status filter, which signals an analytics/reporting context rather than raw record retrieval. There is no explicit when-to-use or when-not-to-use statement and no named alternative for agents that need individual orders.

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