Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as minia2a — hosted x402 API marketplace (HTTP). If you published it, claim ownership there.

x402-irr-calc

IRR Calc: Calculate the Internal Rate of Return (IRR) from a cashflow series. Provide cashflows or flows as an array (e.g. [-1000,300,300,300,300]); returns the rate. 🆓 5 free trial calls per signed wallet

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": {
      "cashFlows": "<cashFlows>",
      "cashflows": "<cashflows>",
      "flows": "<flows>"
    },
    "name": "x402-irr-calc"
  }
}

Input Schema

NameRequiredDescriptionDefault
flowsYes
cashFlowsYes
cashflowsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "cashFlows",
      +  "cashflows",
      +  "flows"
      +]
  2. Changed3 schema fields changed
    • removedInput schema / properties / cashFlows / description
      Removed value: -"CashFlows to process"
    • removedInput schema / properties / cashflows / description
      Removed value: -"Cashflows to process"
    • removedInput schema / properties / flows / description
      Removed value: -"Flows to process"
  3. First observed

TDQS

B3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses the commercial constraint ('5 free trial calls per signed wallet'), which an agent cannot learn from the schema. However, it says nothing about behavior on non-convergence, whether the returned rate is a decimal or a percentage, or what errors look like.

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?

Three short sentences, front-loaded with the core purpose and the example and pricing note after. Little waste, though the emoji/promo tail could be trimmed and the naming guidance is muddled rather than merely brief.

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?

For a straightforward calculation tool with no output schema, the description covers input shape, example, and cost. It falls short on output interpretation (rate units) and on resolving the three-required-alias ambiguity created by its own schema, which an agent needs before calling.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate and it only partly does. It gives an array example ([-1000,300,300,300,300]) but the schema declares all three of cashFlows, cashflows, and flows as required strings, while the description implies 'cashflows or flows' as alternatives — the agent is left unsure whether to duplicate the series across three string fields or how to serialize the array into a string.

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 states a specific verb and resource: 'Calculate the Internal Rate of Return (IRR) from a cashflow series.' That is unambiguous and distinguishes it from most siblings. It does not differentiate itself from the closely related x402-npv-calc, which is the main sibling an agent could confuse it with.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance. The only usage-like sentence ('Provide cashflows or flows as an array') describes how to fill the parameters rather than when to select this tool over x402-npv-calc or other financial siblings.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources