Skip to main content
Glama

x402 agent toolkit: service finder, payment safety, Solana & web tools

APR ↔ APY & compounding

apr_apy
Read-onlyIdempotent

Convert APR to APY (or back) for any compounding frequency, project earnings over N days with optional performance fee, doubling time. Free: 10 calls/day; then $0.001/call via x402 (MCP params._meta["x402/payment"] or HTTP) or X-API-Key credits. [served by tools.moneytools.dev]

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "apr_apy"
  }
}

Input Schema

NameRequiredDescriptionDefault
aprNoAPR %
apyNoAPY % (instead of apr)
daysNodays
principalNoamount
feePercentNoperformance fee %
compoundingNodaily|weekly|monthly|hourly|block or times/year

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds non-obvious operational context the annotations lack: the free tier of 10 calls/day, then $0.001/call via x402 in params._meta['x402/payment'] or an X-API-Key, plus the serving host. Missing detail includes what happens on payment failure or what error looks 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?

The functional purpose is front-loaded in the first sentence and the pricing/billing sentence comes second, which is the right order. The billing sentence is long but contains concrete, non-redundant facts; no filler.

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?

Because an output schema exists, return values need not be explained. However, the tool declares zero required parameters, and the description never says that at least one of apr/apy is needed to produce a conversion, so the agent cannot tell whether a parameterless call is valid or what would happen.

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 100% with per-parameter descriptions and examples, so the schema is doing the heavy lifting. The description adds only the semantic tie between 'N days' and `days`, and 'optional performance fee' and `feePercent`, which is helpful but marginal. It does not clarify that all six parameters are optional or which combination is required.

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 specific verbs and resources: 'Convert APR to APY (or back)', 'project earnings over N days', 'doubling time'. The scope is clear from the opening phrase, though 'doubling time' is mentioned without a corresponding input, and the description does not distinguish itself from near-neighbors such as currency_convert.

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

Usage Guidelines3/5

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

Usage is only implied through the opening phrase 'Convert APR to APY (or back)': the agent can infer that apr and apy are alternative inputs, but nothing says whether earnings projection requires principal and days, or what the tool does differently from related calculators. There are no explicit when-not-to-use conditions or defaults.

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