Skip to main content
Glama

Recent sales near a postcode

nearby_sold
Read-onlyIdempotent

Recent standard sales registered with HM Land Registry near a UK postcode, newest first, with price, date, address, property type, tenure and distance. Use it for 'what have houses on this street / near this postcode sold for?'. Land Registry records usually appear 1–3 months after completion. Only covers areas Homedex has loaded.

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": {
      "postcode": "<postcode>"
    },
    "name": "nearby_sold"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMost sales to return (default 20)
monthsNoHow far back (default 24 months)
postcodeYesA full UK postcode, e.g. CT20 3TZ
radius_kmNoSearch radius in km (default 1, max 3)
property_typeNoOnly this property type

Output Schema

NameRequiredDescriptionDefault
noteNo
salesNo
monthsNo
licenceNo
messageNoSet instead of the other fields when nothing was found
locationNo
postcodeNo
radius_kmNo
attributionNoAttribution to show alongside this data

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and non-destructive status, so the bar is lower. The description adds two operationally important facts the annotations cannot convey: HM Land Registry records usually appear 1–3 months after completion, and results are limited to areas Homedex has loaded. It does not mention response size, pagination, or what happens when the postcode falls outside loaded coverage.

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?

Three tight sentences: what it returns, when to use it, then the caveats. Nothing is wasted apart from slight overlap between the title and the opening clause, but the caveats are correctly placed after the core definition.

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?

With an output schema present and full annotation coverage, the description need only supply the non-structured operational context, and it does: data lag, geographic coverage limits, ordering, and field set. An agent has everything required to decide whether to call this tool and how to interpret a sparse result.

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 every parameter including defaults and the 3 km radius cap is documented in the schema itself. The description only implies postcode-based filtering and ordering, adding no syntax, format or default detail beyond the schema, so baseline 3 applies.

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?

The description states a specific verb+resource (recent standard sales from HM Land Registry near a postcode), the ordering (newest first), and the returned fields (price, date, address, property type, tenure, distance). That scope clearly separates it from aggregate siblings like area_stats and single-property tools like get_listing or search_listings.

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 an explicit use case in the user's own words ('what have houses on this street / near this postcode sold for?'), which tells an agent exactly what intent should route here rather than to area_stats. It stops short of naming sibling tools or stating when not to use it (e.g. for rental or listing data).

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