Skip to main content
Glama

nestegg-calculators

Loan APR

loan-apr
Read-onlyIdempotent

Effective APR including upfront fees: the note-rate payment priced against the net proceeds (amount - fees). Annual percent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
feesNoOptional. Upfront fees / points in currency (default 0).
amountYesLoan amount.
ratePctYesNote (nominal) annual rate in percent.
termMonthsYesTerm in months.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
aprPctNoEffective APR, percent (null if degenerate).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already establish read-only and idempotent behavior; the description adds transparency about the calculation method (pricing note-rate payment against net proceeds), which helps the agent understand the formula without contradicting the 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 a single sentence that front-loads the purpose ('Effective APR including upfront fees') and provides the formula in a compact manner with no filler.

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 schema coverage, output schema, and annotations, the description is sufficient to understand the tool's scope; the formula detail covers the behavioral nuance, making it complete for an AI agent.

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

Parameters4/5

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

While the schema fully documents each parameter, the description adds relational semantics by explaining how fees reduce the amount to net proceeds, which clarifies the interplay between amount, fees, and the resulting APR.

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 identifies the tool's function: calculating effective APR that includes upfront fees, and distinguishes it from simpler effective-rate tools by specifying the net proceeds calculation (amount - fees).

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 implies the tool is for loans with upfront fees, but does not explicitly compare to alternatives like effective-rate or state when not to use it, so it earns a 4.

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.