Expenses by category
query_expense_breakdownGet expenses broken down by category for a period.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | Yes | Time period to query. |
query_expense_breakdownGet expenses broken down by category for a period.
| Name | Required | Description | Default |
|---|---|---|---|
| period | Yes | Time period to query. |
Changes observed during successful MCP inspections.
No schema history has been recorded yet.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds that results are grouped by category and scoped to a period, but says nothing about whether the response is totals only or per-category rows, nor about currency or zero-expense categories. Useful but thin beyond annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One short, front-loaded sentence with zero filler. Brevity is appropriate, though it leaves the reader wanting a little more on what a 'breakdown' contains.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema exists, so the description is the only place to hint at return shape, and it omits whether results are an aggregated total per category, a list of line items, or a chart-ready series. For an aggregation tool whose output is the whole point, that is a meaningful gap.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% and the single parameter is a fully enumerated 'period' field, so the schema does the work. The phrase 'for a period' merely restates the parameter and adds no interpretation such as calendar vs fiscal quarter boundaries.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Get expenses broken down by category') plus scope ('for a period'), which clearly distinguishes it from detail-oriented siblings like query_expense_detail. It does not name any sibling explicitly, so differentiation must be inferred from the word 'breakdown'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no statement of when to use this versus query_expense_detail, query_financials, or query_btw, all of which plausibly overlap. The agent must guess that 'breakdown' means aggregated-by-category rather than itemized.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.