Skip to main content
Glama

crypto_apy-apr-convert

Read-onlyIdempotent

Convert APY to APR or vice versa with adjustable compounding frequency to compute equivalent annual rates and periodic yields.

Instructions

Convert between APY and APR with configurable compounding frequency.

Use when converting between APY and APR with different compounding frequencies. Provide rate and compounding periods. Returns: equivalent APY, APR, daily/weekly/monthly rates, and effective annual rate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rateYesThe rate to convert (as decimal, e.g. 0.12 = 12%)
from_typeNoInput rate type to convert fromapr
compoundingNoCompounding frequencydaily
Behavior4/5

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

Annotations indicate readOnlyHint=true, idempotentHint=true, destructiveHint=false. The description adds that the tool returns equivalent APY, APR, daily/weekly/monthly rates, and effective annual rate, which is valuable context beyond the annotations. No contradictions with annotations.

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 two sentences: the first states the purpose, the second provides usage guidance and output summary. Every sentence contributes meaning without redundancy, achieving maximum conciseness.

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

Completeness5/5

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

Given the absence of an output schema, the description lists the returned metrics (equivalent APY, APR, daily/weekly/monthly rates, effective annual rate). All three parameters are fully documented in the schema, making the description complete for agent understanding.

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%, so the input schema already describes all three parameters, including defaults and allowed values. The description does not add significant new information about parameters, hence a baseline score of 3 is appropriate.

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 clearly states 'Convert between APY and APR with configurable compounding frequency,' specifying the verb (convert) and resource (APY/APR). This differentiates it from sibling tools which cover other financial calculations.

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 says 'Use when converting between APY and APR with different compounding frequencies,' providing clear context. It does not mention when not to use or alternatives, but for a straightforward conversion tool this is adequate.

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/QuantOracledev/quantoracle'

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