Skip to main content
Glama

RateZip Bank Deposit and Mortgage Rates

Get current US mortgage rates

get_mortgage_rates
Read-only

Current mortgage rates grouped by loan type: rates RateZip observed on lenders' own published rate pages, each with note rate, APR, representative-scenario conditions, observation timestamp, source, and staleness status. No third-party national-average benchmark is redistributed. Loan types include '30-year fixed' and 'HELOC'. Pass loan_type to filter to one; omit for all grouped by type. Rates are comparable within the same loan type. Factual rate data only; does not produce personalized quotes, imply approval, or endorse lenders. Pass max_results to cap the number of rows and include_provenance=false for a shorter response.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_mortgage_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateNoTwo-letter state — adds an availability/licensing note
loan_typeNoLoan type to filter to, e.g. '30-year fixed', '15-year fixed', or 'HELOC'. Omit for all.
loan_amountNoLoan amount in USD — compares with the 2026 one-unit baseline conforming loan limit; county/unit limits and eligibility require separate verification (does not fabricate a rate)
max_resultsNoCap the number of observed rows returned, in the payload's ordering. Omit for all.
credit_scoreNoFICO — returns EDUCATIONAL context only; never a fabricated credit-adjusted rate
include_provenanceNofalse omits the per-source provenance block (snapshot ids, attributions); each row keeps its own observed_at and source_url.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / loan_amount / description
      Previous value: -"Loan amount in USD — flags conforming vs jumbo (does not fabricate a rate)"New value: +"Loan amount in USD — compares with the 2026 one-unit baseline conforming loan limit; county/unit limits and eligibility require separate verification (does not fabricate a rate)"
  2. Changed2 schema fields changed
    • addedInput schema / properties / include_provenance
      Added value: +{
      +  "description": "false omits the per-source provenance block (snapshot ids, attributions); each row keeps its own observed_at and source_url.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / max_results
      Added value: +{
      +  "description": "Cap the number of observed rows returned, in the payload's ordering. Omit for all.",
      +  "maximum": 50,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the read-only, non-destructive, closed-world profile, but the description adds genuinely new behavior: rates come from lenders' own published pages, each row carries staleness status and an observation timestamp, no third-party benchmark is redistributed, and include_provenance=false shortens the response. It stops short of noting refresh cadence or coverage limits per state, which would complete the behavioral picture.

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?

Front-loaded with what the tool returns, followed by filtering behavior, then interpretation caveats, then output-size levers. The single dense opening sentence carries the field inventory efficiently and nothing is repeated from the schema verbatim.

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?

There is no output schema, and the description compensates by listing the returned fields and the provenance block, plus how include_provenance alters the shape. For a read-only lookup with no side effects and fully documented parameters, nothing an agent needs in order to call it correctly is absent.

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?

Schema coverage is 100%, so the baseline would be 3; the description earns a bump by adding cross-parameter guidance the schema lacks — pairing max_results with include_provenance=false to get a shorter payload, and the note that rates are comparable only within the same loan type. It leaves state, loan_amount, and credit_score entirely to the schema.

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 opens with a concrete verb+resource and scope: 'Current mortgage rates grouped by loan type', then enumerates the returned fields (note rate, APR, representative-scenario conditions, observation timestamp, source, staleness status). It also names the specific loan types ('30-year fixed', 'HELOC'), so an agent can tell this apart from the deposit-rate siblings at a glance.

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?

It states the filtering behavior explicitly ('Pass loan_type to filter to one; omit for all grouped by type') and sets boundaries on what the data is not ('does not produce personalized quotes, imply approval, or endorse lenders' / no redistributed national-average benchmark). What's missing is any routing guidance toward alternatives such as get_rate_watch_report or comparison tools, so use-vs-alternative is left to inference.

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