Skip to main content
Glama

OpenMortgage

get benchmark rate

get_benchmark_rate
Read-onlyIdempotent

Returns the federal average prime offer rate (APOR) for a week and loan term from the FFIEC tables.

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": {
      "week": "<week>"
    },
    "name": "get_benchmark_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoFixed or adjustable rate table. The default is fixed.
termNoLoan term in years from 1 to 50. The default is 30 years.
weekYesDate in YYYY-MM-DD format. The result uses the benchmark for the week on or before this date.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds the useful provenance detail that figures come from FFIEC tables, but says nothing about units, behavior for out-of-range terms, or what happens when a requested week is unavailable.

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?

A single front-loaded sentence with no filler; the resource and its scoping come first. It is efficient, though it leaves room for one short sentence on return values.

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?

This is a simple three-parameter read-only lookup with complete schema documentation and annotations, so the definition is nearly sufficient. The main remaining gap is that it doesn't state the units or form of the returned rate, which matters when the value is used downstream.

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%, so week, term, and the fixed/adjustable enum are fully documented in the schema. The description reiterates week and term but adds no format, default, or interpretation detail beyond it, and never mentions the 'kind' parameter.

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 a specific verb ('Returns') and a concrete resource ('federal average prime offer rate (APOR)') with a source ('FFIEC tables') and scoping ('for a week and loan term'). That is enough to separate it from siblings like get_loan_limit or get_area_market, 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 guidance on when to choose this tool over alternatives such as get_loan_limit or get_area_market, and no prerequisites or exclusions are stated. Usage is only implied by the noun phrase 'benchmark rate'.

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