Skip to main content
Glama

Read Kash sales summary

sales_summary
Read-onlyIdempotent

Get shop sales totals and breakdowns for an inclusive range of Kash business dates. Monetary amounts are decimal strings in the reported currency.

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "sales_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesLast business date, inclusive (YYYY-MM-DD).
fromYesFirst business date, inclusive (YYYY-MM-DD).
cash_register_idNoFilter on a Kash cash register ID.

Output Schema

NameRequiredDescriptionDefault
periodYes
totalsYes
currencyYes
timezoneYes
business_dayYes
by_business_dayYes
by_cash_registerYes
by_payment_methodYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior3/5

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

The annotations already declare the full safety profile (readOnly, idempotent, non-destructive, closed-world), so the description need not repeat it. It does add genuinely useful behavioral context beyond the annotations—that amounts are decimal strings in the reported currency—but leaves 'breakdowns' undefined as to what is actually broken down or whether results are aggregated or grouped.

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?

Two short sentences with no filler, and the core capability is front-loaded before the data-format note. Nothing in the text is redundant with what a reader needs to decide whether to call it.

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?

An output schema exists, so return shapes need not be explained, and the parameter contract is fully specified in the schema. The remaining gap is conceptual: 'breakdowns' is never defined, so an agent cannot tell whether results are split by payment mode, department, or register—information that matters given the many data_list_* catalog siblings.

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 all three parameters are already documented, including the inclusive YYYY-MM-DD semantics of from/to and the cash register filter. The description adds only a slight reinforcing note about inclusive business-date ranges, which is the baseline 3 for a schema that does the heavy lifting.

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 uses a specific verb and resource ('Get shop sales totals and breakdowns') scoped to 'an inclusive range of Kash business dates', which is far more informative than the title alone. It does not, however, contrast itself with the one clearly related sibling, export_sales_async, so an agent must infer the difference between a summary read and an async export.

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 or when-not-to-use guidance, and no alternative is named. The phrase 'inclusive range of Kash business dates' implies the reporting use case, but the agent gets no signal about when this summary is preferable to exporting sales data.

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