Skip to main content
Glama
CRM MCP Server

CRM MCP Server

sales_report

Read-onlyIdempotent

Generate a CRM report of revenue, order count, top customers, and revenue by product and segment for the last N days.

Instructions

Revenue, order count, top customers and revenue by product and segment for the last N days.

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
period_daysNoReport on the last N days

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered elsewhere. The description adds the metric set and the lookback window as behavior, but never states aggregation granularity, whether results are cached, or timezone/day-boundary handling for 'last N days'.

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 short sentence with zero filler, and the metric inventory is front-loaded before the scoping clause. It is a fragment rather than a complete statement, but nothing is wasted.

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 need not be described, and annotations carry the safety profile. What remains missing is guidance on when this tool is the right choice versus the per-customer siblings, which matters for a reporting tool sitting among customer-management tools.

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 coverage is 100% and the single parameter already documents itself as 'Report on the last N days' with default 30 and bounds 1-365. The description merely restates 'for the last N days', adding no syntax or interpretation beyond the schema, 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?

The sentence names the concrete contents of the report (revenue, order count, top customers, revenue by product and segment) and its scope (last N days), so an agent can tell this is an aggregated sales-metrics read rather than a customer lookup. It is a noun phrase without an explicit verb, and it does not name how it differs from siblings such as get_customer_summary, 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 when-to-use guidance, no prerequisites, and no mention of alternatives. The agent must infer from the metric list alone that this is the aggregate-reporting tool to pick over the per-customer siblings.

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