Skip to main content
Glama
AdvancedExpenseTracker

AdvancedExpenseTracker

process_recurring_expenses

Generates actual expense entries from recurring templates up to a target date, letting you refresh or check for new bills and keep expense records current.

Instructions

Generate actual expense entries from recurring templates up to the target_date. Run this when the user asks to 'refresh' or 'check for new bills'.

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": {
      "target_date": "<target_date>"
    },
    "name": "process_recurring_expenses"
  }
}

Input Schema

NameRequiredDescriptionDefault
target_dateYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the core behavior: it materializes real expense entries from templates rather than just reading them. It says nothing about idempotency, whether re-running creates duplicates, what permissions are needed, or what happens to entries already generated — all material for a write operation.

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?

Two short sentences, front-loaded with what the tool does and followed by the trigger condition. No filler; slightly more detail on re-run safety would have earned the space it takes.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and the single required parameter is at least characterized as a bound. For a no-annotation mutation tool, however, the definition omits the safety-relevant behavior an agent needs before invoking it.

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 0% for the single target_date parameter, so the description must compensate; 'up to the target_date' usefully establishes it as an inclusive upper bound rather than a single-day filter. It adds no format or timezone guidance for the date string, leaving the most error-prone detail undocumented.

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?

States a specific verb and resource: 'Generate actual expense entries from recurring templates,' which is clearly distinct from siblings like add_recurring_expense (template creation) and add_expense (single entry). It does not explicitly name a sibling it is not, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

Gives a concrete triggering condition ('when the user asks to refresh or check for new bills'), which is genuinely useful for routing against add_expense or list_expenses. It offers no exclusions or prerequisite conditions (e.g., what happens if templates were already processed), so it is clear context rather than full when/when-not guidance.

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