Skip to main content
Glama

calculate_loan_payment

Monthly payment, total interest and yearly amortization for a mortgage, auto or personal loan from the numbers given. Illustration only; not a quote.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "principal": "<principal>",
      "annual_rate_pct": "<annual_rate_pct>",
      "term_years": "<term_years>"
    },
    "name": "calculate_loan_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
loan_typeNo
principalYes
term_yearsYes
extra_monthlyNo
annual_rate_pctYes

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?

No annotations exist, so the description carries the full burden. It does disclose the computed outputs and adds a meaningful caveat that results are illustrative rather than a quote, but it never states that the tool is a side-effect-free pure calculation, nor what assumptions it makes about compounding, rounding, or how extra_monthly is applied.

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?

Two short sentences, front-loaded with the outputs and closing with the disclaimer, with no redundant wording. It is tight, though the brevity borders on under-specification rather than efficiency.

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

Completeness2/5

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

With five parameters, zero schema descriptions, no output schema, and no annotations, this definition is too thin to call correctly without opening the schema. It reports what is returned but not the units, assumptions, or the role of extra_monthly, which are essential for a numeric calculator.

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

Parameters2/5

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

Schema description coverage is 0%, so the description needed to explain all five parameters. It only echoes the loan_type enum values and otherwise says 'from the numbers given', leaving principal, annual_rate_pct units (percent vs decimal), term_years units (years vs months), and extra_monthly entirely undefined.

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 names the concrete outputs (monthly payment, total interest, yearly amortization) and the resource (loan payment calculation) for the three loan types matching the enum. An agent can tell this is a pure calculator rather than a rate fetcher or affordability checker, though no sibling is named explicitly.

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 when-to-use or when-not-to-use guidance and no routing to alternatives such as get_mortgage_rates or refinance_break_even. 'Illustration only; not a quote' is a disclaimer about output trust, not a usage condition, so the agent must infer selection from the name alone.

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