Skip to main content
Glama

woo_sales_report

Retrieve completed and processing order sales for a WordPress site by preset period or custom date range to review store performance.

Instructions

Get sales report (completed + processing orders)

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": {
      "site": "<site>"
    },
    "name": "woo_sales_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesSite id (see list_sites)
periodNoPreset range (default month); ignored when both date_min and date_max are given
date_maxNoEnd date (YYYY-MM-DD); only used together with date_min
date_minNoStart date (YYYY-MM-DD); only used together with date_max

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv3.14.0
    • changedInput schema / properties / date_max / description
      Previous value: -"End date (YYYY-MM-DD)"New value: +"End date (YYYY-MM-DD); only used together with date_min"
    • changedInput schema / properties / date_min / description
      Previous value: -"Start date (YYYY-MM-DD)"New value: +"Start date (YYYY-MM-DD); only used together with date_max"
    • removedInput schema / properties / period / default
      Removed value: -"month"
    • addedInput schema / properties / period / description
      Added value: +"Preset range (default month); ignored when both date_min and date_max are given"
  2. Changed2 schema fields changedv3.4.0
    • addedInput schema / properties / site
      Added value: +{
      +  "description": "Site id (see list_sites)",
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[
      +  "site"
      +]
  3. First observedv2.0.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose one genuinely useful behavioral fact — that only completed and processing orders are included — but says nothing about read-only nature (only implied by "Get"), aggregation granularity, currency, or what the response contains.

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 short sentence, front-loaded with the verb and resource, with no wasted wording. It is efficient but borders on under-specification rather than crispness.

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

Completeness2/5

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

For a 4-parameter reporting tool with no annotations and no output schema, the description is too thin: it never explains what the report returns (totals, per-day breakdown, per-product lines) or how the date presets affect the output. The schema covers the inputs, but the agent still cannot anticipate the result shape.

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%, so every parameter (site, period, date_min, date_max, including the default and override rules) is already documented in the schema. The description adds no parameter detail beyond the implied order-status filter, so the baseline 3 applies.

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?

States a specific verb and resource ("Get sales report") and sharpens scope with "completed + processing orders", so an agent knows which order statuses are counted. It does not differentiate itself from the sibling woo_stock_report or explain how the report differs from order-listing tools, so it falls short of a 5.

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?

There is no explicit when-to-use guidance, no mention of alternatives such as woo_stock_report, and no prerequisites. The only implied usage comes from the tool name itself, which is not real guidance.

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

Deploy Server

Other Tools