Skip to main content
Glama

Analyse a buy-to-let deal

analyse_buy_to_let_deal
Read-onlyIdempotent

Full UK buy-to-let analysis for a purchase price and monthly rent: gross and true net yield after service charge, ground rent, agent fees, repairs, voids and mortgage interest, Section 24 tax, monthly cashflow before and after tax, break-even mortgage rate, a 0 to 100 deal score, and stress scenarios such as a rate shock, a recession and extended voids. Agent fee, repairs and voids the user has not given take standard assumptions, listed in assumptions_applied. Returns a link that opens the same deal in the calculator.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tax_bandNoThe landlord's income tax band: basic (20%), higher (40%) or additional (45%).higher
monthly_rentYesExpected monthly rent in GBP.
mortgage_rateNoAnnual mortgage interest rate as a percentage, for example 4.5.
ownership_typeNoHeld personally (Section 24 applies) or through a limited company.personal
purchase_priceYesPurchase price in GBP.
valuation_basisNoBase yields on the purchase price or the current market value.purchase_price
mortgage_balanceNoMortgage amount borrowed in GBP. Omit or 0 for a cash purchase.
utilities_monthlyNoMonthly utilities paid by the landlord in GBP.
ground_rent_annualNoAnnual ground rent in GBP.
repairs_percentageNoRepairs and maintenance allowance as a percentage of rent. Omitted means the standard 5%.
agent_fee_percentageNoLetting agent fee as a percentage of rent. Pass 0 if the landlord self-manages; omitted means the standard 12%.
corporation_tax_rateNoCorporation tax rate percentage, used for company ownership.
current_market_valueNoCurrent market value in GBP, if yields should be based on value rather than purchase price.
void_months_per_yearNoExpected empty months per year. Omitted means the standard 1 month.
service_charge_monthlyNoMonthly service charge in GBP (leasehold flats).
agent_fee_vat_applicableNoWhether VAT at 20% is added to the agent fee.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description adds genuinely new behavior: unspecified agent fee, repairs and voids fall back to standard assumptions, which are surfaced in assumptions_applied, and the tool returns a link that reopens the same deal in the calculator. This is useful beyond the structured hints, though it does not cover rate limits or failure modes.

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?

A single dense sentence that front-loads the resource and then lists outputs, plus a short second sentence on assumptions and the return link. Every clause carries information (yield types, tax, cashflow, stress scenarios), though the output enumeration is long enough to test readability.

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 16 parameters, no output schema and only safety annotations, the description usefully compensates by enumerating what the analysis returns (deal score, break-even rate, stress scenarios) and by explaining how missing inputs are handled. A note on the units/scale of the score or the link's expiry would make it fully self-sufficient.

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%, so the schema already documents all 16 parameters, their defaults and enums. The description only restates the default-assumption behavior for agent fee, repairs and voids, adding marginal meaning beyond the schema. Baseline 3 is appropriate when the schema does the heavy lifting.

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

Purpose4/5

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

States a specific verb and resource ('Full UK buy-to-let analysis for a purchase price and monthly rent') and enumerates the outputs (yields, Section 24 tax, cashflow, deal score, stress scenarios). An agent can tell it is a comprehensive single-deal analysis. However, it never names the sibling it is not, so the boundary against calculate_section_24_tax, calculate_btl_mortgage or check_deal is left implicit.

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?

Usage is only implied: the breadth of outputs signals 'use this when you want an end-to-end deal view'. There is no explicit when-to-use or when-not-to-use, and no routing guidance toward the narrower sibling calculators that cover single components (Section 24, mortgage, capital gains).

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