Skip to main content
Glama

Field Service Business Platform by Doing Work

reports_revenue

Money collected between two dates (inclusive, UTC), by month: card and bank payments through Doing Work less refunds, and payments recorded as taken outside Doing Work, shown apart.

Input Schema

NameRequiredDescriptionDefault
toYes
fromYes
shop_idYes

Output Schema

NameRequiredDescriptionDefault
totalYes
monthsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

No annotations are present, so the description carries the full behavioral burden. It usefully discloses calculation semantics: inclusive UTC dates, monthly grouping, card and bank collections net of refunds, and outside payments shown separately. It does not mention authorization or read-only safety details, but the core report behavior is well covered.

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

Conciseness5/5

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

The definition is a single front-loaded sentence with no filler. Every clause contributes either report scope or accounting treatment, and the dense phrasing is appropriate for the amount of semantics conveyed.

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?

An output schema exists, so the description need not explain return shape. It covers the report calculation and date semantics well, though explicit shop_id scoping and sibling selection guidance are still absent.

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 0%, so the description must compensate. It adds meaningful semantics for from/to by stating the date range is inclusive and UTC, but it never mentions shop_id or date formatting; shop_id is only inferable from its name and UUID format.

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 description names the resource and scope clearly: money collected between two dates, grouped by month, net of refunds, with outside payments separated. It is a specific revenue report, but it does not explicitly distinguish itself from sibling report tools such as reports_owed or reports_today/week.

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?

There is no explicit when-to-use or when-not-to-use guidance, and no alternatives are named. The date-range and monthly grouping imply it is for period revenue reporting, but the agent must infer when to choose it over other report siblings.

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