Skip to main content
Glama

Tillhub MCP by usefulapi

Revenue total for a period

tillhub_revenue_sum
Read-only

Total revenue between two points in time, optionally for one branch number. GET /api/v0/analytics/{account}/aggregates/revenues/sum.

Input Schema

NameRequiredDescriptionDefault
endYesEnd of the period. ISO 8601 date (2026-10-01) or date-time (2026-10-01T00:00:00Z).
startYesStart of the period. ISO 8601 date (2026-10-01) or date-time (2026-10-01T00:00:00Z).
next_queryNonext_query from the previous reply to get the following page. It already contains the filters, so the other arguments are ignored.
branch_numberNoBranch number (not the id).

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=true, so the safety profile is covered. The description adds only the underlying REST path, and says nothing about aggregation semantics that matter for a revenue total (currency handling, whether refunds/taxes are included) or about paging limits, so it adds modest value beyond structured fields.

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 front-loaded sentence plus the endpoint path; there is no filler. The raw path adds little for an agent but is short and does hint at the account scoping not present in the schema.

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 read-only aggregation over 4 fully-documented params with no output schema, the definition is workable but thin: it does not indicate what the sum returns (a scalar vs. a per-branch/per-currency breakdown) or how paging via next_query interacts with the totals, which are the facts an agent would most want before trusting the number.

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%, so start/end formats, the branch_number 'not the id' caveat, and next_query's 'other arguments are ignored' behaviour are already documented in the schema. The description only re-states that branch_number is optional, which is marginal added 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 computed resource (total revenue) with its scope (between two points in time, optionally one branch), which is clearly distinct from the list/get siblings. It does not explicitly differentiate itself from the closer analytics siblings such as tillhub_sales_aggregate or tillhub_transactions_report, so an agent must infer which aggregate to pick.

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 description never says when to use this versus tillhub_sales_aggregate, tillhub_top_products, or tillhub_transactions_report, nor does it state prerequisites or exclusions. Usage is only implied by the phrase 'total revenue between two points in time'.

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.