Skip to main content
Glama

Loan Calculator

loan_calculator
Read-onlyIdempotent

A loan calculator for the monthly payment, and how much of it is interest. A HelpySelf tool (helpyself.com).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rateYesNominal annual interest rate as a percentage, so 5.5 means 5.5% a year. 0 is a real case: an interest-free loan repaid in equal instalments.
yearsYesLength of the loan in years. Fractions are allowed and rounded to whole months, so 2.5 is 30 monthly payments.
amountYesThe principal borrowed, in whatever currency you are working in. Every figure in the answer is in the same units.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / amount / description
      Added value: +"The principal borrowed, in whatever currency you are working in. Every figure in the answer is in the same units."
    • addedInput schema / properties / rate / description
      Added value: +"Nominal annual interest rate as a percentage, so 5.5 means 5.5% a year. 0 is a real case: an interest-free loan repaid in equal instalments."
    • addedInput schema / properties / years / description
      Added value: +"Length of the loan in years. Fractions are allowed and rounded to whole months, so 2.5 is 30 monthly payments."
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

The description does not contradict the annotations (readOnlyHint=true, idempotentHint=true, destructiveHint=false), which already establish this as a safe, non-mutating computation. Since the safety profile is covered by annotations, the bar is lower; the description adds the scope of what is computed (monthly payment and interest portion) but nothing about behavioral detail such as amortization assumptions, rounding behavior, or whether payments are equal installments.

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

Conciseness3/5

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

The first sentence is efficient and front-loaded with the tool's purpose. However, the second sentence ('A HelpySelf tool (helpyself.com)') is branding noise that adds no value for tool selection or invocation and does not earn its place in the description.

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

Completeness4/5

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

For a purely computational tool with fully documented parameters (100% schema coverage) and complete safety annotations, the description covers the essential remaining gap: what the output contains (monthly payment and interest portion), which matters because there is no output schema. An agent has enough to call it correctly and interpret the result.

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% and each parameter is already well documented (rate as a percentage with 0 as a real case, years rounded to whole months, amount in any currency). Per the rubric, the baseline is 3 when the schema carries the load; the description adds no parameter-level meaning beyond what the schema already states.

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-object pair: calculating the monthly payment and the interest portion of it. Among many sibling calculators (BMI, calorie, compound_interest, salary, tip), this clearly identifies what distinguishes this tool as a loan repayment calculator. It doesn't explicitly name any sibling it is not, but the output specification ('monthly payment, and how much of it is interest') is enough to disambiguate.

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?

No guidance is given for when to use this tool versus alternatives. The sibling list contains many calculators, some conceptually adjacent (compound_interest, salary_calculator, ratio_calculator), and the description gives no indication of when loan_calculator is the right choice, what prerequisites exist, or which situations it is not suited for.

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