Skip to main content
Glama

Amaltash Investment & Retirement Calculators

APR to APY Calculator

convert_apr_to_apy
Read-onlyIdempotent

APR to APY Calculator with a chart, the same math as the web page. What is my APR as an APY? APR is a yearly rate that leaves out interest on interest. APY counts it, so it shows what the rate adds up to in a year. It turns an APR into an APY by adding interest on interest as often as you pick. It can also go the other way. It does not count fees, which can change what a loan really costs. People ask for it as "apr vs apy", "how is apy calculated" or "apr to apy calculator".

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": "convert_apr_to_apy"
  }
}

Input Schema

NameRequiredDescriptionDefault
nNoHow often interest is added. Default: 365.
fromNoThe rate you have. Default: apr.
rateNoYour rate. A percent: 5 means 5%. From your statement, loan papers or bank. Default: 20.
balanceNoBalance, owed or saved. US dollars. Optional. Shows one year of interest. Default: 1000.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already establish that this is a read-only, idempotent, closed-world calculation, so the safety profile needs no restatement. The description does add genuine behavioral context: the math matches the web page, conversion works in both directions, and fees are excluded so results understate true loan cost. It says nothing about output shape or how balance affects the result, leaving some behavioral gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded, but the text is padded with repetition ('APR is a yearly rate... APY counts it') and closes with an SEO keyword list of query phrasings that carries no operational value for an agent. Several sentences could be cut without losing any information an agent needs to call the tool correctly.

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?

The tool is simple, has a fully documented four-parameter schema, and carries complete annotations, so the description is nearly sufficient. What it lacks is routing information against near-identical siblings and any note on what the response contains, which matters slightly given there is no output schema.

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 description coverage is 100%, so the baseline is 3 and the schema already explains the enum values and defaults. The description reinforces two of them ('as often as you pick' for the compounding frequency and 'the other way' for the direction), but adds no format or unit detail for rate or balance beyond the schema. Marginal added meaning over structured fields.

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: it converts APR into APY (and back again) by compounding interest at a chosen frequency. That bidirectionality does help separate it from a plain 'calculate_apy' sibling, but it never names or contrasts any alternative, so the differentiation is only implicit.

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 when-to-use or when-not-to-use guidance, and no reference to the sibling tools like calculate_apy or compound_interest that overlap heavily with this math. The only constraint offered is a caveat that fees are excluded, which is a data caveat rather than usage direction. The rest is question phrasing aimed at search queries, not agent routing.

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