Skip to main content
Glama

Store Manager for WooCommerce

AddSynapse: sales report

sales_report
Read-onlyIdempotent

AddSynapse: Revenue/orders summary or best sellers for a period (today, 7d, 30d, month, or custom with date_from/date_to). No customer data. Read-only.

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_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoWhich connected site: its address or site_id from addsynapse_list_sites. Omit when the account has only one site.
periodNotoday, 7d (last 7 days incl. today), 30d, month (this calendar month) or custom (needs date_from and date_to). Store timezone.
reportNo
date_toNoEnd date YYYY-MM-DD (custom period, inclusive; at most 366 days).
date_fromNoStart date YYYY-MM-DD (custom period, inclusive).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and openWorldHint=false, so 'Read-only' in the text is largely redundant. What the description does add beyond the annotations is the privacy guarantee that no customer data is returned and the fact that results are period-scoped in the store timezone. It says nothing about response shape, row limits, or aggregation granularity, which matters given there is no output schema.

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 dense sentence with the resource and period options front-loaded and no filler. The only waste is the 'AddSynapse:' prefix, which merely repeats the title, and the redundant 'Read-only' given the annotations.

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 read-only reporting tool with five mostly optional params and no output schema, the definition covers scope, period semantics and privacy well. However, with no output schema an agent gets no indication of what fields a sales_summary or best_sellers result contains, which is the main missing piece.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 80% and the schema itself documents site, period, date_from and date_to well. The description adds real meaning the schema does not: it maps the undocumented report enum values to plain language ('Revenue/orders summary' = sales_summary, 'best sellers' = best_sellers) and restates the custom-period dependency. That closes most of the remaining gap.

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 a specific verb-plus-resource: a revenue/orders summary or best-sellers report over a defined period. It also draws a scope boundary ('No customer data') and lists the concrete report types, so an agent can tell it apart from a sibling like stock_report without opening the schema. It stops short of explicitly naming the alternative tool, which keeps it from 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 Guidelines3/5

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

Usage context is implied rather than stated: it tells the agent which periods are valid and that custom requires date_from/date_to, and 'No customer data' implicitly marks the boundary against customer-level analytics. There is no explicit when-to-use/when-not or named alternative, so the guidance is adequate but incomplete.

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