Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-compound-interest

Compound Interest: Computes compound interest from principal, rate, time and compounding, returning amount, interest and effectiveAnnualRate 🆓 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": {
      "principal": "<principal>"
    },
    "name": "x402-compound-interest"
  }
}

Input Schema

NameRequiredDescriptionDefault
nNo
pNo
rNo
tNo
rateNo
timeNo
yearsNo
principalYes
compoundingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "principal"
      +]
  2. Changed9 schema fields changed
    • removedInput schema / properties / compounding / description
      Removed value: -"Compounding to process"
    • removedInput schema / properties / n / description
      Removed value: -"N to process"
    • removedInput schema / properties / p / description
      Removed value: -"P to process"
    • removedInput schema / properties / principal / description
      Removed value: -"Principal to process"
    • removedInput schema / properties / r / description
      Removed value: -"R to process"
    • removedInput schema / properties / rate / description
      Removed value: -"Rate to process"
    • removedInput schema / properties / t / description
      Removed value: -"T to process"
    • removedInput schema / properties / time / description
      Removed value: -"Time to process"
    • removedInput schema / properties / years / description
      Removed value: -"Years 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 provided, so the description carries the full burden. It usefully discloses the return fields (amount, interest, effectiveAnnualRate) and mentions a free-trial quota tied to a signed wallet, but it does not explain units, defaults, error behavior, or whether the operation is purely computational.

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 a single front-loaded sentence that states the computation and return values, followed by a brief quota note. It is efficient and contains no unnecessary explanatory bulk.

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

Completeness2/5

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

For a tool with 9 parameters, only 1 required parameter, no schema descriptions, and no output schema, the definition is insufficiently complete. It explains the return values in brief but leaves critical input semantics and aliases unexplained, which is a major gap for correct invocation.

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% across 9 parameters, so the description must compensate and does so only partially. It names the conceptual inputs principal, rate, time, and compounding, but does not map them to aliases such as n, p, r, t, and years, nor explain formats, units, or accepted compounding values.

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 uses a specific verb and resource ('Computes compound interest') and lists the inputs and outputs, so the tool's core purpose is clear. It does not explicitly distinguish itself from siblings such as x402-simple-interest or x402-compound, so it falls 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 Guidelines2/5

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

There is no explicit guidance on when to use this tool versus alternatives like simple-interest or other compound-related tools. The name and description imply it is for compound interest calculations, but the definition provides no when-to-use, when-not-to-use, or alternative-routing guidance.

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.