Skip to main content
Glama

RateAPI — live US mortgage, auto, HELOC, personal & deposit rates

assess_rate_lock

Read-only

Lock-window-aware lock-vs-float-down recommendation for a deal already in the pipeline. Given a known lock-expiration date, the currently locked rate, and the float-down cost, returns a defensible hold-lock vs exercise-float-down call a loan officer can document — combining recent market movement (1w/2w/4w) with payment and break-even math on this loan. Builds on the same recent-movement signal as assess_buy_timing but framed around the lock window/expiration. Not a rate forecast.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sinceNomovement window; default 4w
stateYes2-letter state code
loan_amountYes
locked_rateYes% already locked
term_monthsNodefault 360
product_typeYes
float_down_bpsNooptional improvement in bps if float_down_rate omitted
float_down_costNo$ to exercise float-down; default 0
float_down_rateNooptional explicit floated rate %
lock_expiration_dateYesISO date YYYY-MM-DD

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
lockNoThe borrower's existing rate lock and how much time is left on it.
noteNoA caveat about the inputs or data behind this call, not an error — e.g. the supplied lock-expiration date is already in the past, so the economics assume a fresh re-lock at current market. Present only when such a caveat applies; carry it into any answer.
stateNoTwo-letter US state code the result is scoped to (e.g. 'CA'). Null means the result was not filtered by state.
windowNoLookback period used for the comparison, expressed as a short duration string such as '4w', '90d', or '180d'.
movementNoHow the market has moved over the comparison window, from the earlier snapshot to now.
rationaleNoPlain-English explanation of why this recommendation was reached; safe to quote to the user as the reasoning.
confidenceNoQualitative confidence in the recommendation — 'high', 'medium', or 'low' — driven by how much data and how large the margin is.
float_downNoEconomics of exercising a float-down to today's market rate.
market_nowNoBest deal currently available in the market, for comparison against the locked rate.
disclosuresNoCaveats and assumptions that must accompany any answer built from this result; surface them rather than dropping them.
next_actionsNoSuggested follow-up tools that would deepen this answer; offer them as next steps, not as results.
product_typeNoLoan or deposit category this result covers, e.g. 'mortgage', 'auto_loan', 'heloc', 'savings'.
recommendationNoThe suggested move, e.g. 'exercise_float_down', 'hold_lock', or 'relock'.
assumed_defaultsNoInputs the caller did not supply that were filled in with defaults. State these explicitly to the user, since they drive the numbers.

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already mark it read-only and non-destructive, so the description's job is to add context. It adds useful behavioral disclosure: the tool combines recent market movement windows (1w/2w/4w) with payment and break-even math, and produces a documentable recommendation rather than a forecast. No contradiction with annotations is present.

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?

Three sentences with no filler. The core purpose and scope are front-loaded, the relationship to a sibling is stated succinctly, and the key exclusion ('Not a rate forecast') is a single short closing sentence. Every sentence adds value.

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?

For a complex 10-parameter tool, the description covers the decision context, required inputs, analytical approach, output nature, and sibling differentiation. The presence of an output schema and rich property descriptions means the description does not need to enumerate return fields or defaults; what remains is adequate for an agent to invoke correctly.

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?

With 80% schema description coverage, the schema carries most parameter documentation. The description adds meaning by identifying which parameters drive the decision (lock-expiration date, locked rate, float-down cost) and by explaining the analytical intent (payment and break-even math on this loan). This goes beyond raw schema labels.

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 states a specific resource ('lock-vs-float-down recommendation') and audience/context ('deal already in the pipeline'), with a clear verb-like outcome ('returns a defensible hold-lock vs exercise-float-down call'). It explicitly differentiates from sibling assess_buy_timing by noting it builds on the same signal but is framed around the lock window/expiration.

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 gives clear context for when to use the tool: when a deal is already in the pipeline, a lock-expiration date is known, and the analyst needs a documented hold-lock vs float-down decision. It also says what it is not ('Not a rate forecast') and distinguishes it from assess_buy_timing, though it does not explicitly list exclusions or name the exact alternative condition.

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.

TDQS

A3.6/5.0
Disambiguation3/5

Many tools occupy closely related decision and rate-lookup spaces—get_financing_decision, rate_sanity_check, compare_products, batch_decisions, and simulate_decision can all appear relevant to a shopping question. The descriptions work hard to disambiguate them, and some pairs are explicitly cross-referenced, but the boundary between tools like create_monitor and create_competitor_monitor or rate_sanity_check and check_competitive_position still requires careful reading.

Naming Consistency4/5

The set mostly follows a clear snake_case verb_noun pattern: create_*, update_*, delete_*, get_*, list_*, scan_*, simulate_*, send_*. Minor deviations like max_loan, rate_sanity_check, and refinance_break_even break the verb-led convention, and get_ vs list_ is used somewhat loosely, but the overall pattern remains predictable.

Tool Count1/5

At 80 tools, this is an extremely large surface for a rates API. Even though the server spans rate data, financing decisions, membership eligibility, email campaigns, monitors, digests, and documentation, 80 tools is excessive and will overwhelm agents with selection overhead.

Completeness4/5

The core domain is covered thoroughly: raw rate lookup, benchmarks, history, financing decisions, affordability, refinance analysis, eligibility, campaigns, monitors, cohorts, scenarios, and shares all have lifecycle support. Minor gaps exist—there is no update_cohort or update_scenario, and raw deposit-rate listing is less explicit than mortgage/auto rate listing—but agents can work around these.

Resources