Skip to main content
Glama
mAd-DaWg

mcp_calculator

by mAd-DaWg

finance_tvm

Solve time-value-of-money problems: given any four of N, I, PV, PMT, FV, compute the missing variable for loans or annuities.

Instructions

When: time-value-of-money (loan/annuity) — solve one of N,I,PV,PMT,FV. Params: solve_for=N|I|PV|PMT|FV; provide the other four; I is annual %; P_Y payments/year (default 1); C_Y compounds/year (default=P_Y); begin=True for BGN. Signs: outflow negative / inflow positive, kept consistent. Example: solve_for="PMT", N=12, I=6, PV=-1000, FV=0.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
INo
NNo
FVNo
PVNo
C_YNo
PMTNo
P_YNo
beginNo
solve_forYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations are provided, so the description carries the behavioral burden. It discloses sign conventions ('outflow negative / inflow positive'), defaults (P_Y=1, C_Y=P_Y, begin=False), and the fact that I is an annual percentage, which are non-obvious behavioral details. It does not mention error handling or exact return shape, but the core behavior is well covered.

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?

The description is compact and front-loaded, using a 'When' clause to immediately orient the agent. Each sentence adds distinct value—purpose, parameters, sign convention, defaults, and an example—without any repetition or fluff.

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?

Given the tool's nine parameters and lack of annotations, the description covers the main behavioral rules, defaults, and sign convention, while the output schema handles return values. It could be more complete by specifying invalid-input behavior or edge cases, but it is sufficient for routine TVM problems.

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

Parameters5/5

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

With 0% schema description coverage for 9 parameters, the description fully compensates by naming every relevant parameter and adding meaning: solve_for allowed values, 'provide the other four', annual I, payment/compounding frequencies, and begin flag. The example further maps variables to concrete values, making the parameters actionable.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with 'When: time-value-of-money (loan/annuity) — solve one of N,I,PV,PMT,FV', clearly identifying the domain and the action. This differentiates it from sibling math tools by naming its unique TVM variables and purpose.

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?

The description explicitly states the intended use case ('When: time-value-of-money') and gives concrete invocation guidance: 'solve one of... provide the other four'. It does not name sibling alternatives or exclusions, but the context is clear enough for tool selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mAd-DaWg/mcp_calculator'

If you have feedback or need assistance with the MCP directory API, please join our Discord server