Skip to main content
Glama

revenue_report

Read-only

Compare invoiced versus collected revenue by month, track outstanding balances, and identify top clients over a chosen date range.

Instructions

Invoiced vs collected by month (drafts and voids excluded), money still outstanding, top clients.

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

Input Schema

NameRequiredDescriptionDefault
endNoYYYY-MM-DD; defaults to today
startNoYYYY-MM-DD; defaults to 6 months ago

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 and openWorldHint=false, so safety is covered. The description adds a genuinely useful data-scope rule — drafts and voids are excluded from invoiced figures — which an agent could not infer otherwise. It says nothing about computation timing, currency handling, or authorization needs.

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 terse sentence with zero waste, leading with the primary metric pair before the secondary ones. It is a noun-phrase list rather than a verb-led statement, which slightly slows comprehension but costs no length.

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 an output schema present and full parameter documentation, the description only needs to convey what the report contains and its data-scope rules, which it does. The exclusion note and metric inventory are the key facts; minor gaps around default range behavior are already covered by the schema.

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%, with both start and end documented including format and defaults, so the schema carries parameter meaning fully. The description adds no additional semantics about the date range or how it affects the monthly buckets.

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?

Names the specific metrics produced (invoiced vs collected by month, outstanding balance, top clients) and scopes the data with exclusions, so it is clearly a revenue analytics report. It never explicitly distinguishes itself from siblings like overdue_report, which also touches outstanding money.

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 pick this over overdue_report or recent_activity, and no mention of prerequisites or typical use cases. The reader must infer from the metric list that this is the month-by-month financial rollup.

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