Skip to main content
Glama

Asking rents, rent index, LHA, yield and mortgage rates

rent_and_yield
Read-onlyIdempotent
Asking rents by bedroom band, the asking-rent index, the Local Housing
Allowance rate, the area gross yield with its basis, and mortgage rates, as
named sections (at most 30 rows). Default include is ["rents", "yield"]. area_type is postcode_district (lowercase, e.g. 'w14'), local_authority (GSS code,
e.g. 'E09000012'), county or country; area_code is that code. Free text is refused: call
resolve_place first.

Gross yield is published at ALL-bedroom level only: when you ask for one
band the yield is still the all-bedroom figure, and the reply says so; say it
too. The `lha` section needs a full `postcode` (otherwise it is named as
needs_postcode) and has no category above 4 bedrooms. A failed section is
named and absent; the call is covered if any section answered.

Do NOT use it to value a property or to appraise a deal. Free; covered=false
or an upstream failure is not charged. Free.

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

Input Schema

NameRequiredDescriptionDefault
bedsNoall
includeNo
postcodeNo
area_codeNo
area_typeNopostcode_district

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered upstream. The description still adds genuinely useful behavior: a 30-row cap, the yield-is-all-bedroom-only caveat, the needs_postcode degradation for lha, per-section failure semantics ('A failed section is named and absent'), and billing behavior (free, uncovered failures not charged), but it gives no return-format or pagination detail.

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?

The content is front-loaded – data scope first, then argument rules, then caveats – and most sentences do real work. There is some waste, notably the word 'Free' appearing both mid-paragraph and again as a clipped final sentence, plus line-broken phrasing that reads as raw notes rather than edited prose. Nothing is misleading, just slightly redundant.

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?

For a five-parameter composite tool with 0% schema coverage, the description covers prerequisites, defaults, per-section failure behavior, and the key yield caveat, and an output schema exists so return values need not be spelled out. The remaining gap is granularity on the beds enum and on the cost or latency of requesting multiple sections. Otherwise an agent could call this correctly from the description alone.

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?

With schema description coverage at 0%, the description has to carry the parameter burden and mostly does: it defines area_type values with concrete examples ('w14' for postcode_district, 'E09000012' for local_authority), explains that area_code is that code, states the include default, and ties postcode to the lha section. The beds parameter is only implicitly specified ('bedroom band', 'when you ask for one band'), leaving the exact enum-to-band mapping to the schema.

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?

The description names the exact resources returned (asking rents by bedroom band, rent index, LHA rate, gross yield, mortgage rates) and frames them as named sections, so an agent knows precisely what data comes back. It also states a negative scope ('Do NOT use it to value a property or to appraise a deal'), which sharpens the purpose further. It stops short of distinguishing itself from single-purpose siblings such as lha_rate or mortgage_rates, which keeps it at 4.

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

Usage Guidelines4/5

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

It gives a hard prerequisite ('Free text is refused: call resolve_place first'), an explicit exclusion (not for valuation or deal appraisal), a stated default (include defaults to rents+yield), and a conditional requirement (the lha section needs a full postcode). What it lacks is guidance on when to pick this composite call over a narrower single-section sibling; that omission separates a 4 from a 5.

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