An LLM agent with finance tools (tool use), exposed both as a CLI agent and as an MCP server.
Finance-agent-mcp has well-structured tool definitions with complete JSON schemas and clear descriptions. All 5 tools follow a consistent pattern: verb_noun naming (compound_interest, cagr, loan_payment, future_value_of_savings, convert_currency), descriptions 50-150 chars, and full parameter schemas with types and descriptions. However, naming lacks action verbs (calculate_compound_interest would be clearer), output schemas are not formally documented, and error handling is minimal. Tools are read-only and deterministic, which is good for reliability. Parameter descriptions are adequate but could be more prescriptive about ranges and constraints. No security concerns (no secrets exposed). Composition is clean, each tool does one thing. Baseline: avg tool description ~100 chars (within 10-1024 range), all params typed and described, but output structure inferred rather than documented.
Compound annual growth rate (CAGR), in percent, between a starting and ending value.
Future value of a one-time lump sum under compound interest.
Convert an amount between currencies using static sample FX rates. Supported: USD, EUR, BRL, GBP, JPY, CAD, AUD.
Future value of regular monthly contributions (an ordinary annuity).
Fixed monthly payment for an amortizing loan (mortgage-style).
Tool names lack action verbs. 'compound_interest' and 'cagr' are nouns; should be 'calculate_compound_interest', 'calculate_cagr'. LLMs infer intent from verb-first names.
Output schemas are not formally documented. Tools return dicts with fields like 'future_value', 'interest_earned', 'inputs', but LLMs cannot see the schema structure. Document return types in tool descriptions or via schema annotations.
Parameter descriptions lack numeric constraints. 'annual_rate_pct' and 'years' have no min/max guidance. Should specify: 'annual_rate_pct: 0-100', 'years: 0.1-100', 'principal: >0'. Prevents LLM from passing absurd values.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 57 | 2026-07-28+ | v2 |
Error handling is minimal. convert_currency raises ValueError for unsupported currencies, but other tools (cagr) raise ValueError for invalid inputs without guidance. Errors should tell LLM what to do next: 'begin_value must be > 0. Retry with positive values.'
Tool descriptions do not explain when to use each tool vs. alternatives. E.g., when should an agent call compound_interest vs. future_value_of_savings? Descriptions should clarify: 'Use for one-time lump sum; use future_value_of_savings for recurring monthly deposits.'