Skip to main content
Glama
eil-mcp

eil-mcp

Official

expense_summary

Read-onlyIdempotent

Summarize expenses for any date range: get totals, counts, averages, largest spend, vendor counts, and missing receipts, optionally filtered by category.

Instructions

Total, count, average and largest expense, vendor count and missing receipts for a date range (inclusive), optionally for one category.

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

Input Schema

NameRequiredDescriptionDefault
categoryNoExact category name, case-insensitive
end_dateYesYYYY-MM-DD
start_dateYesYYYY-MM-DD

Output Schema

NameRequiredDescriptionDefault
sourceNofinance.expenses
categoryYes
currencyNoUSD
end_dateYes
start_dateYes
total_amountYes
vendor_countYes
average_amountYes
largest_amountYes
metric_versionNofinance-metrics/1
transaction_countYes
missing_receipt_countYes
missing_receipt_amountYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world behavior, so the safety profile is covered. The description adds useful semantics — the date range is inclusive and the category filter is optional — but says nothing about timezone handling, currency, or data freshness, which matter for date-bounded aggregation.

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 well-formed sentence that front-loads the metric list before the scoping constraints. No filler or redundant phrasing, though the parenthetical '(inclusive)' is slightly awkwardly placed.

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, the description needn't explain return values, and it still enumerates the metrics for orientation. Combined with full parameter coverage and clear annotations, the only notable gap is date/timezone semantics for the range, which is minor for a read-only summary tool.

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 all three parameters are already documented in the schema. The description only adds that the range is inclusive and that category is optional; it does not add format or edge-case detail beyond what the schema provides, so the baseline 3 applies.

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 specific metrics produced (total, count, average, largest expense, vendor count, missing receipts) and the scope (date range, optional category), so the operation is unambiguous. It does not differentiate itself from siblings like category_breakdown or spending_trend, which also summarize spending, leaving the agent to infer which 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by 'for a date range (inclusive), optionally for one category,' which conveys the filtering context but gives no explicit when-to-use guidance or when to prefer an alternative such as category_breakdown or compare_periods. No prerequisites or exclusions are stated.

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