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. 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.

Input Schema

TableJSON 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

TableJSON 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.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds genuinely useful behavior: the partial-input contract (unspecified fields fall back to site defaults) and the detail flag's effect on the response size. It does not cover runtime/rate considerations, but for a deterministic local model none are expected.

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 tight sentences, front-loaded with what the tool does and what it returns, then the input contract, then the sibling routing. No filler and no repetition of schema detail.

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?

Covers purpose, input convention, output toggling and alternative tools, which is everything an agent needs for a 3-param tool with a fully documented nested schema and an output schema. Nothing material 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 each input documents units, ranges and defaults, so the schema does the heavy lifting. The description only restates the partial-input convention and the 'yearly' detail mode, both of which the schema already states. 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+resource+scope: 'Runs one 30-year rent-vs-buy comparison with the rentbuy.org model.' It also enumerates what comes back (winner, net worth at year 30, break-even year), which an agent can use to distinguish it from the batch 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?

Gives explicit operating instructions ('Give only the inputs you want to change; everything else uses the site defaults') and names the alternatives with the condition for switching: 'Use rentbuy_compare_scenarios or rentbuy_sweep instead of calling this repeatedly.' This is textbook when-to-use routing.

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