Skip to main content
Glama
eil-mcp

eil-mcp

Official

category_breakdown

Read-onlyIdempotent

Calculate spend per category for an inclusive date range, ranked largest first, with each category's share of total spending.

Instructions

Spend per category for a date range (inclusive), largest first, with each category's share.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "category_breakdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateYesYYYY-MM-DD
start_dateYesYYYY-MM-DD

Output Schema

NameRequiredDescriptionDefault
sourceNofinance.expenses
currencyNoUSD
end_dateYes
categoriesYes
start_dateYes
total_amountYes
metric_versionNofinance-metrics/1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive behavior, so the safety profile is covered. The description adds value beyond that by disclosing ordering ('largest first') and the inclusive nature of the date range, both of which shape results but are not visible in annotations.

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?

A single compact sentence that front-loads the metric and scope, then layers ordering and share. No filler or redundant restatement of the title.

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?

For a two-parameter read-only aggregation with full schema coverage, complete annotations, and an output schema, the definition supplies everything needed to call it correctly. Minor omissions such as timezone or tie-breaking are not material at this complexity.

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

Parameters4/5

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

Schema coverage is 100% and both dates already carry YYYY-MM-DD format notes, so the baseline is 3. The description adds real meaning by specifying the range is inclusive, clarifying boundary behavior that the schema does not state.

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 states a specific aggregation ('spend per category') scoped to a date range, which is enough to tell it apart from trend or comparison tools in practice. It stops short of explicitly naming a sibling or contrasting its output with expense_summary.

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 by the phrase 'spend per category for a date range' — an agent can infer this is the tool for category-level totals. There is no explicit when-to-use or when-not-to-use guidance, and no alternative is named despite siblings like compare_periods and spending_trend existing.

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