Skip to main content
Glama

Store Manager for WooCommerce

AddSynapse: stock report

stock_report
Read-onlyIdempotent

AddSynapse: Products and variations low on stock (managed stock at or below each product's own low-stock threshold when set, else the shop setting; a given threshold overrides both) or out of stock. low_stock also lists, separately (not_tracked), products/variations that do not track stock, so they have no count. 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": "stock_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoWhich connected site: its address or site_id from addsynapse_list_sites. Omit when the account has only one site.
limitNo
reportNo
categoryNo
thresholdNo

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, idempotentHint and destructiveHint=false, so the trailing 'Read-only' is redundant. The genuinely useful additions are behavioral: the threshold precedence rule (product setting, then shop setting, then explicit override) and the disclosure that low_stock returns a separate not_tracked bucket for untracked products. Nothing is said about result ordering, pagination behavior of limit, or how site scoping affects results.

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?

The core purpose and threshold rule are front-loaded in one dense sentence, followed by the not_tracked clarification. The 'AddSynapse:' prefix and the trailing 'Read-only.' add little since the title and annotations already carry that information.

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?

With no output schema, the description must carry the return-shape burden, and it only covers the not_tracked section and the stock-condition logic. It omits what fields each row contains, ordering, how limit interacts with results, whether category filters both reports, and what site omission means beyond the schema note.

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 only 20%, so the description needs to compensate, and it only does so for threshold, whose resolution order it explains well. It adds nothing about site (which the schema does cover), limit (max 100, no default stated anywhere), category, or the report enum values. Partial compensation for a real coverage gap keeps this at 3.

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 resource (products and variations low on stock or out of stock) and defines the low-stock condition precisely, including the not_tracked separate section. It does not differentiate itself from siblings such as plan_stock_update, which is the natural follow-up action, 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 Guidelines3/5

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

Usage is implied through the explanation of what each report variant returns and how threshold overrides work, which implicitly tells the agent when to pass report=low_stock vs out_of_stock. There is no explicit when-to-use statement, no mention of the plan_stock_update alternative for acting on results, and no exclusions.

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