Skip to main content
Glama

finance_rent_vs_buy

Read-only

Rent vs buy calculator — Rent or buy a home? Month-by-month net-worth simulation over years= (default 7): mortgage, property tax, insurance, HOA, maintenance, PMI under 20% down, appreciation, rent increases, buying/selling costs and the opportunity cost of the down payment invested at invest_return. Returns both net worths, verdict BUY / RENT / TOSS-UP, break-even rent, break-even year and a yearly table. Required: price=, rent= (monthly). Optional: years, down (%), rate, term, property_tax (%), insurance ($/yr), hoa ($/mo), maintenance (%), appreciation, rent_increase, invest_return, closing_buy, selling_cost, pmi (all %). Offline math. Price: $0.003 USDC (Base, via x402).

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": {
      "price": "<price>",
      "rent": "<rent>"
    },
    "name": "finance_rent_vs_buy"
  }
}

Input Schema

NameRequiredDescriptionDefault
rentYes2400
priceYes450000

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the simulation model, output set (both net worths, verdict, break-even rent, break-even year, yearly table), that the math is offline/deterministic, and the price ($0.003 USDC on Base via x402). There is a mild tension with openWorldHint=true since the description stresses 'Offline math', though the on-chain payment plausibly explains the open-world hint; no hard contradiction.

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?

Purpose, output, required and optional inputs, and price are delivered in a front-loaded order with no filler sentences. It is a single dense run-on paragraph, and the long optional-parameter roll call bloats it with content the schema does not support.

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?

With no output schema, the description does the necessary work of enumerating the return payload (net worths, verdict, break-even rent/year, yearly table) and the cost. Remaining gaps are minor: it does not define what makes a result a 'TOSS-UP' or the currency/units of the returned figures.

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 100%, so baseline is 3, and the description does add real meaning by clarifying rent is monthly and price is the home price (the schema descriptions are only bare examples '2400' and '450000'). However, it then lists roughly fifteen optional parameters (years, down, rate, term, property_tax, hoa, etc.) that do not exist in the input schema, which misleads an agent about what it can actually pass.

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?

Names a specific tool (rent-vs-buy net-worth simulation) with a concrete method ('month-by-month net-worth simulation over years= (default 7)') and enumerates the modeled cost components. It is clearly distinguishable from siblings like finance_home_affordability or finance_break_even, which do not produce a BUY/RENT verdict and break-even rent.

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

Usage Guidelines3/5

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

The framing question 'Rent or buy a home?' implies the decision context, but the description never states when to prefer this over finance_home_affordability, finance_break_even, or finance_invest_calc. Usage is inferable from the tool's nature rather than guided.

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