Skip to main content
Glama

TerraVue

affordable_price

Read-only

What's the most this buyer can afford? The reverse of affordability — 'what price can I afford?' instead of 'can I afford this specific home?'. Solves for the maximum home price under standard lender limits: a front-end DTI cap (default 28% = housing / gross income) and a back-end cap (default 36% = housing + other debts / gross income). If liquid_savings is given, also caps by the cash available for down payment + closing and reports which limit binds. Returns the affordable price, the PITI and DTIs at that price, and the cash to close. Pass address to ground property tax + insurance in the ZIP's real rates.

This is a lender-limit ceiling, not a comfort recommendation — feed the result into
`affordability` (or buy_vs_rent) to check monthly slack and whether buying pencils.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressNo
fixed_rateNo
hoa_monthlyNo
annual_incomeYes
monthly_debtsNo
insurance_rateNo
liquid_savingsNo
back_end_dti_pctNo
down_payment_pctNo
front_end_dti_pctNo
property_tax_rateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description carries the behavioral burden. It discloses the lender-limit ceiling logic, the conditional cash cap when `liquid_savings` is provided, the reporting of which limit binds, and the optional use of `address` to ground property tax and insurance in real rates. It also explicitly warns that this is not a comfort recommendation, preventing the agent from overstating the result.

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?

The description is front-loaded with the core question and then moves logically from formula to conditional behavior to outputs to the address option. The second paragraph is a single high-value caveat and routing note. Every sentence contributes information, with no filler or repetition.

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?

Even with 11 parameters and no output schema, the description tells the agent what the tool returns: affordable price, PITI, DTIs, and cash to close. It explains when the liquid-savings constraint binds, how `address` affects tax/insurance inputs, and how the result should be used with sibling tools. This is enough for an agent to select and invoke the tool 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?

Schema description coverage is 0%, so the description must compensate, and it does for the core parameters: annual income via gross income, front-end and back-end DTI caps with defaults, `liquid_savings`, and `address`. It does not explicitly define every optional parameter such as `fixed_rate`, `hoa_monthly`, `insurance_rate`, or `property_tax_rate`, though their names, defaults, and the DTI/PITI context make their roles reasonably inferable.

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 clear question and explicitly frames the tool as the reverse of `affordability`: solving for the maximum price instead of checking whether a specific home is affordable. It names the exact computation—maximum home price under front-end and back-end DTI caps—and clearly distinguishes this tool from its siblings.

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

Usage Guidelines5/5

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

The description explicitly tells the agent when to use this tool versus `affordability`: the question is 'what price can I afford?' rather than 'can I afford this specific home?'. It also gives follow-up guidance, directing the agent to feed the result into `affordability` or `buy_vs_rent` to check monthly slack, which provides clear routing and exclusion.

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