Skip to main content
Glama

OpenMortgage

get area market

get_area_market
Read-onlyIdempotent

The release shows figures for all lenders in one state or metro area for each loan group beside nationwide figures.

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": {
      "area": "<area>"
    },
    "name": "get_area_market"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaYesA five-digit metro area code or a two-letter state code identifies the area.
yearNo
segmentNoLoan group id, for example purchase_first or refinance_first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuine scope context (all lenders, per loan group, with nationwide comparators), but says nothing about data freshness, coverage limits, or how the nationwide benchmark is delivered, so it goes only modestly beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single sentence with no filler, which is good, but the front-loading is weak: 'The release shows' spends the opening on an unexplained referent ('release') instead of leading with the resource being returned.

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

Completeness3/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 carries the burden of explaining return values, and it only gestures at them ('figures ... beside nationwide figures'). The year parameter and the shape of the comparison (fields, units, aggregation level) are left to inference, which is a meaningful gap for a 3-parameter data tool.

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 67%, so the schema already documents 'area' and 'segment'. The description reinforces the area semantics ('one state or metro area') and implies the segment grouping ('for each loan group'), but leaves the 'year' parameter (2018-2100) entirely unexplained in both schema and description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description conveys the data content: figures for all lenders in one state or metro area, broken out by loan group, alongside nationwide figures. However, it is framed passively as 'the release shows' rather than stating the action ('retrieve market aggregates'), and it never contrasts itself with the closest sibling get_lender_in_area, so an agent must infer that this is the all-lender aggregate rather than a per-lender lookup.

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 guidance, no prerequisites, and no mention of any alternative such as get_lender_in_area or compare_lenders. The agent must work out on its own that this is the tool for aggregate market context rather than single-lender detail.

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