Skip to main content
Glama

Mortgage Rates Today MCP

Calculate mortgage payment

calculate_mortgage_payment
Read-onlyIdempotent

Monthly principal and interest and total interest for a fixed-rate loan. Without a rate it uses this week's Freddie Mac average for 30-year or 15-year terms, and compares it with the average a year earlier. Taxes, insurance and PMI are not included.

Input Schema

NameRequiredDescriptionDefault
rateNoAnnual rate in percent. Default: the latest Freddie Mac average for the term.
term_yearsNoTerm in years. Default 30.
loan_amountYesLoan amount in dollars, for example 400000.
compare_rateNoA second rate to compare. Default: the Freddie Mac average a year earlier.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), and the description adds real value on top: the external Freddie Mac data dependency for defaults, the built-in year-over-year comparison, and the explicit exclusion of taxes, insurance and PMI. It does not mention latency or failure behavior if the external rate fetch fails, which keeps it from a 5.

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?

Three tight sentences ordered output-first, then default behavior, then scope caveat. The opening sentence is slightly elliptical (no explicit verb) but nothing is wasted.

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?

With no output schema, the description correctly states what is returned and what is excluded, and it explains the defaulting and comparison logic for the two optional rate parameters. An agent has enough to call it correctly without guessing at semantics.

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 schema already documents rate and compare_rate defaults, term_years default of 30, and units for loan_amount. The description reinforces the default behavior and clarifies that the comparison is against the year-earlier average, but adds little beyond the 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 names the concrete outputs (monthly principal and interest, total interest) for a fixed-rate loan, which clearly distinguishes this from the rate-lookup siblings. The calculating verb is implied rather than stated, and no sibling is named explicitly, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It usefully explains the default path: omit rate and it uses this week's Freddie Mac average, with an automatic year-earlier comparison. However, there is no explicit guidance on when to use this tool versus get_mortgage_rates_today or get_mortgage_rate_on_date, nor when not to use it.

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.