Skip to main content
Glama

Donation stats

donation_stats
Read-only

Donation totals and counts: overall, by status, and grouped by period (month or year).

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": "donation_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoISO date upper bound (optional)
fromNoISO date lower bound (optional)
periodNomonth|year (default month)
target_tenant_idNoPlatform super-admins only: operate on this tenant instead of your own.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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, destructiveHint=false and openWorldHint=false, so the safety profile is clear. The description adds aggregation semantics (overall / by status / grouped by period) but says nothing about tenant scoping behavior, boundaries of the date range, or what the aggregates look like. With annotations carrying the safety burden, a 3 fits.

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 compact sentence that front-loads the resource and the aggregation outputs. No filler, though 'by status' introduces a dimension the schema does not expose, which costs a bit of precision.

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 simple read-only aggregation tool with all-optional parameters this covers the essentials, but there is no output schema and the description never characterizes the result shape (e.g. per-status breakdown vs per-period buckets), which matters for an agent deciding how to consume it.

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 both date bounds, the period enum, and the super-admin tenant override are already documented. The description's 'grouped by period (month or year)' echoes the period parameter and 'by status' implies a grouping not present in the schema, adding little new meaning.

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 specific resource (donations) and the aggregation performed (totals and counts), with the grouping modes named. It is distinguishable from a single-record get_donation or the broader get_dashboard_stats, though it does not explicitly contrast itself with those siblings.

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 guidance on when to prefer this over get_dashboard_stats or get_donation, and no mention of prerequisites for date ranges. The mention of 'by status' hints at a reporting use case but never states when to use it.

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