Skip to main content
Glama

numbers_summary

Read-onlyIdempotent

Total sales, orders, ad spend and return on ad spend for one period, per sales channel and per ad platform, each with its change against the comparison period, and the last 30 days by day. period: today (so far, not compared), yesterday (against the same weekday last week), last7 (the 7 days to yesterday, against the 7 before), this_month (against the same days of last month) or last_month (against the month before). Or exact dates: start and end (YYYY-MM-DD, both included, up to yesterday, at most 731 days; "how did 9 to 22 November go?"), compared with the as many days before (compare "before") or the same days a year earlier ("last_year"); its days run each day up to 92, by week past that ("to" a week's last day). A day a source still counts in another time zone (from before the owner's changed; "" not recorded) names it in other_zone.

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

Input Schema

NameRequiredDescriptionDefault
endNo
startNo
periodNoyesterday
compareNobefore

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare a safe, idempotent, closed-world read, so the description earns credit for what it adds beyond them: that 'today' is partial and not compared, that data cuts off at yesterday, the 92-day daily-then-weekly granularity switch, and the time-zone caveat surfaced through other_zone. These are real data-freshness and result-shape facts an agent could not get from the annotations or schema. It stops short of describing the change fields' sign convention or empty-data behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The metric definition is front-loaded correctly and the period/date rules follow in a usable order, but the prose is a dense hedge of parentheticals and awkward phrasing ('compared with the as many days before', 'its days run each day up to 92'). The final sentence about other_zone is close to unparseable and costs the reader real effort. Much of the content earns its place; the packaging does not.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, no required parameters and zero schema coverage, the definition still manages to specify every input's accepted values and limits, plus the date-range and granularity behavior of the result. An agent could call this correctly from the description alone. Only the shape of the returned change values and other_zone's exact payload remain underspecified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the entire burden and does: every period preset is defined along with its exact comparison basis (yesterday vs. same weekday, last7 vs. the prior 7, month-to-date vs. same days last month), compare is defined as 'before' or 'last_year', and start/end are given a format, inclusivity, upper bound and a 731-day ceiling. That is meaning well beyond the bare string properties in the schema.

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 opening clause names the concrete resources and metrics: total sales, orders, ad spend and ROAS, broken out per channel and per ad platform, with change vs a comparison period plus a 30-day daily series. That is a precise verb-and-output statement an agent can match to a reporting need. It does not, however, distinguish itself from nearby siblings such as numbers_campaigns, numbers_items or numbers_source, so an agent must infer the boundary itself.

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 rather than stated: the description teaches how to express a time window (period presets vs explicit start/end, with compare modes) but never says when to reach for this summary rather than a campaign-, item- or source-level numbers tool. There are no exclusions and no prerequisites. It is adequate for picking parameters, weak for picking the tool.

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.