Skip to main content
Glama

RentBuy.org

Run a rent vs buy scenario

rentbuy_run_scenario
Read-onlyIdempotent

Runs one 30-year rent-vs-buy comparison with the rentbuy.org model and returns the winner, the net worth of both households at year 30, the break-even year, totals, year-1 monthly cash and the fully resolved inputs. Hosts that support MCP Apps also show the result card. Give only the inputs you want to change; everything else uses the site defaults. Set detail to "yearly" to also get the 30 year-by-year rows. Use rentbuy_compare_scenarios or rentbuy_sweep instead of calling this repeatedly.

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": "rentbuy_run_scenario"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailNo"summary" (default) or "yearly" for the 30 annual rows.
inputsNoAny subset of the inputs; missing fields use the rentbuy.org defaults. Money in USD, rates in percent points.
oneTimeCostsNoUp to 20 one-time costs.

Output Schema

NameRequiredDescriptionDefault
metaYes
year1YesMonthly cash in year 1; ownership includes mortgage, property tax, insurance, maintenance and HOA.
totalsYes
winnerYesWhich household has more net worth after 30 years, after selling costs on the buy side.
yearlyNoPresent when detail is "yearly". Net worth figures here are before selling costs.
advantageYesAbsolute net worth gap between the two households at year 30, USD.
differenceYesSigned gap: buyNetWorthAfterSale minus rentNetWorth, USD.
oneTimeCostsYes
rentNetWorthYesRenter portfolio at year 30.
breakEvenYearYesFirst year in which the buyer is ahead before selling costs, or null if never within 30 years.
resolvedInputsYesThe full input set the calculation used, after defaults and tax pre-fill, in the same units as the request.
buyNetWorthAfterSaleYesBuyer net worth at year 30 after selling costs (home equity plus buyer investments minus selling costs).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds real context beyond that: it discloses the return contents, that unspecified inputs resolve to site defaults, that a result card is rendered on MCP Apps hosts, and that detail controls output granularity. It stops short of mentioning error modes or any limits, but for a pure compute tool this is solid.

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?

Four tight sentences, front-loaded with purpose and output contents, then defaults behavior, then the detail flag, then alternatives. Minor redundancy: enumerating return fields when an output schema already exists, but it is compact and earns its place as a quick orientation.

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 tool with a nested 25-field inputs object, an array parameter, and an output schema, the description covers the essentials an agent needs: partial-input/default behavior, the detail toggle, sibling routing, and what the run returns. Nothing required to invoke it correctly is missing.

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% and the nested inputs object already documents every field with units, bounds and defaults, including the sparse-input semantics. The description's 'give only the inputs you want to change' and its detail explanation restate what the schema already says, so baseline 3 is appropriate.

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?

States a specific verb and resource ('Runs one 30-year rent-vs-buy comparison with the rentbuy.org model') and enumerates what comes back (winner, net worth at year 30, break-even year, totals, year-1 monthly cash, resolved inputs). It also names the sibling tools it is not, so an agent can differentiate it from rentbuy_compare_scenarios and rentbuy_sweep without opening any schema.

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?

Explicitly says to supply only the inputs to change (rest fall back to site defaults), tells the agent to set detail to "yearly" for the 30 annual rows, and routes repeated runs to rentbuy_compare_scenarios or rentbuy_sweep. Both when-to-use and when-to-use-something-else are stated.

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