Skip to main content
Glama
eil-mcp

eil-mcp

Official

spending_trend

Read-onlyIdempotent

Track monthly or quarterly spend and period-over-period change, including zero-spend periods and flags for periods only partly within the selected range.

Instructions

Spend per month or quarter with period-over-period change. Periods with no spend are included as zero; periods only partly inside the range are flagged is_partial.

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

Input Schema

NameRequiredDescriptionDefault
categoryNoExact category name, case-insensitive
end_dateYesYYYY-MM-DD
start_dateYesYYYY-MM-DD
granularityNo'month' or 'quarter'month

Output Schema

NameRequiredDescriptionDefault
sourceNofinance.expenses
periodsYes
categoryYes
currencyNoUSD
end_dateYes
start_dateYes
granularityYes
metric_versionNofinance-metrics/1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description still earns credit by disclosing non-obvious result semantics an agent could easily misread: empty periods are zero-filled rather than omitted, and boundary periods carry an is_partial flag. That is genuine behavioral context beyond the annotations, though it does not mention currency, rounding, or result-size limits.

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?

Two sentences, zero filler, with the core output shape stated first and the edge-case behavior second. Every clause carries information an agent needs, and nothing is restated from the name or 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?

With an output schema present, the description need not explain return values, and the parameters are fully documented in the schema. It covers the two things an agent cannot infer from structured data: zero-filled gaps and the is_partial flag. Minor omissions such as currency handling or aggregation of the category filter keep it from a 5.

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%, including the granularity enum and date formats, so the schema carries the parameter burden. The description only reinforces that granularity selects month or quarter bucketing and adds no new meaning for category or the date bounds. That matches the baseline 3 when the schema does the heavy lifting.

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 a specific verb-resource pair: aggregated spend bucketed by month or quarter, returned as a time series with period-over-period change. An agent can tell this produces a trend series rather than a breakdown or a transaction list. It stops short of naming the closest sibling (compare_periods) to disambiguate.

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 only implied: the phrase 'spend per month or quarter' signals a time-series question rather than a point comparison or itemized list, and 'period-over-period change' implies the caller wants directionality. There is no explicit statement of when to prefer this over compare_periods or expense_summary, and no stated prerequisites.

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