Skip to main content
Glama

Recent sold prices in an area

recent_sales
Read-onlyIdempotent

What sold in an area, newest first: "what sold near here this year", "flats sold in SW19 since January for under £500k". HM Land Registry price paid data for a postcode district, postcode, street or small town, filtered by property type, date range, price range, floor area, tenure and new build. Each sale has the address, price, date, type, freehold or leasehold, and the price per square metre where the home has a floor area on its Energy Performance Certificate. Market-value sales only. Sales reach the register two weeks to two months after completion, so the last few weeks are always incomplete. For one home's own history use sale_history.

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": {
      "area": "<area>"
    },
    "name": "recent_sales"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaYesWhere to look: a postcode district ('BS7'), a full postcode ('SW19 1AB'), a town ('Wimbledon'), or a street with its district or town ('Elm Road, BS7'). A town of more than six postcode districts must be narrowed to a district.
pageNoPage number, 20 sales a page.
tenureNoAs recorded on the sale.
sold_toNoLatest sale date, 'YYYY-MM-DD', or a year ('2025' means to 31 December 2025).
new_buildNoNew-build sales only, or leave them out.
sold_fromNoEarliest sale date, 'YYYY-MM-DD', or a year ('2026' means from 1 January 2026).
max_price_gbpNo
min_price_gbpNo
property_typeNoD detached, S semi-detached, T terraced, F flat (the Land Registry's own classes).
min_floor_area_m2NoOnly sales of homes at least this big. Needs a floor area on an Energy Performance Certificate; with this filter the total is not counted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare safety (readOnly, idempotent), so the description carries real behavioral weight and does: market-value sales only, EPC-derived price-per-m², and the crucial two-week-to-two-month registration lag that makes recent weeks incomplete. That lag warning is exactly the kind of context an agent would otherwise get wrong.

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?

Front-loaded with the one-line purpose and concrete query examples, then filters, then returns and caveats. Dense but every sentence does work given there is no output schema to explain return fields; slight redundancy between the filter list and the schema keeps it from a 5.

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 10-parameter read tool with no output schema, the description covers source, filter set, returned fields, data-quality caveat and the sibling handoff. Only minor gaps remain, such as pagination behaviour (20 per page) and how area narrowing works, both of which the schema handles.

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 80%, so the schema already documents area formats, date patterns, property-type codes and the floor-area/EPC caveat. The description's filter enumeration largely restates the schema; its only added value is indicating price per square metre is returned when a floor area exists.

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?

Opens with a precise verb+resource ('What sold in an area, newest first') and pins the data source ('HM Land Registry price paid data'), then names the sibling it is not ('For one home's own history use sale_history'). An agent can distinguish it from sale_history or price_trends without opening a schema.

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?

Embedded example queries ('what sold near here this year', 'flats sold in SW19 since January for under £500k') show the intended use, and the closing sentence routes single-property lookups to sale_history. It stops short of explicit exclusions against other analysis siblings, but the usage context is clear enough to act on.

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