Skip to main content
Glama

Price trends by factor

price_trends
Read-onlyIdempotent

What freehold or leasehold, new build or resale, energy rating and floor area are worth per square metre in one postcode district, for one property type (D detached, S semi-detached, T terraced, F flat), by whole calendar year, against the national picture. Property type is always held constant because it is the confounder that makes the naive comparison lie. Every figure is a median of at least a minimum number of sales; no per-address data. For a plain summary of a district across all its property types use area_overview.

Use it for "is a leasehold flat cheaper here", "what is an A-rated house worth over a D", "do bigger homes cost less per m2". For several districts use compare_areas; for one home use price_check. When a district has too few sales of that type the tool fails and names the property types it does have, so ask again with one of those.

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": {
      "outcode": "<outcode>"
    },
    "name": "price_trends"
  }
}

Input Schema

NameRequiredDescriptionDefault
factorNoall
outcodeYesPostcode district (outcode) such as 'SW19', 'BS7', 'M6'. A full postcode is accepted; only the district is used.
property_typeNoT

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), yet the description still adds real substance: medians with a minimum-sales threshold, no per-address data, property type held constant as a confounder, and the specific failure mode that names the property types actually available. The only missing element is any hint about result shape or size, which is modest given no output schema.

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 core measurement before any caveats, and the alternatives are grouped at the end where a routing decision is made. Slightly padded by rhetorical phrasing such as 'the confounder that makes the naive comparison lie', which costs a little density but still carries information.

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?

For a three-parameter, read-only query with no output schema, the description supplies everything an agent needs: what is measured, what is held constant, the statistical caveat, the per-address exclusion, and the exact failure-and-retry behaviour. Nothing material is missing.

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?

Schema coverage is only 33% (outcode alone is documented), so the description must compensate, and it largely does: it decodes D/S/T/F and enumerates the dimensions that the factor enum abstracts (tenure, newbuild, epc, size). The mapping from those dimensions to the literal enum strings 'all'/'tenure'/'newbuild'/'epc'/'size' is left implicit, and the default factor of 'all' is never discussed.

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 opening sentence names the exact measurement (price per square metre), the dimensions varied (tenure, new-build vs resale, EPC, floor area), the geography (one postcode district) and the property-type codes. It is immediately distinguishable from area_overview, compare_areas and price_check, which are named explicitly.

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

Usage Guidelines5/5

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

Gives concrete example questions it answers, states the exclusions ('For a plain summary ... use area_overview', 'For several districts use compare_areas; for one home use price_check'), and even explains the recovery path when the tool fails. Nothing about when to choose this tool is left to inference.

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