Skip to main content
Glama
Local Business Data & Report Analyst

Local Business Data & Report Analyst

sales_summary

Retrieve gross and net revenue, profit and margin, orders, units, and average order value for an optional date range to assess sales performance.

Instructions

Get Gross & Net revenue, Gross & Net profit/margin, orders, units, and AOV for an optional YYYY-MM-DD range.

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
end_dateNo
start_dateNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It discloses the metric set and that the date range is optional, implying a default scope, but never says what that default is, what aggregation grain the numbers use, or how a partial range (only start or only end) is 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?

One dense sentence that front-loads the returned metrics and ends with the input qualifier; nothing is redundant. The metric enumeration is list-like but each item earns its place by telling the agent what comes back.

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 the return shape needs no explanation, and the input format is covered. What remains missing for a reporting tool is the default time window and aggregation level, which materially affect interpretation of the numbers.

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 0% — the two date parameters are bare strings with no format or semantics — so the description's 'optional YYYY-MM-DD range' supplies both the format and the optionality that the schema omits. It still leaves open the behavior when only one bound is supplied.

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 concrete verb ('Get') and enumerates the exact metrics returned — Gross/Net revenue, profit/margin, orders, units, AOV. An agent can tell this is a sales performance rollup, though it never explicitly contrasts itself with siblings like monthly_trend or target_vs_actual.

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?

The only usage signal is that the date range is 'optional'; there is no statement of when to prefer this over compare_regions, monthly_trend, or target_vs_actual, and no prerequisites or exclusions. An agent must infer the routing decision entirely from the metric list.

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