Skip to main content
Glama

Local authority profile

get_area_profile
Read-only

Get aggregated sold price, population, income, deprivation, and live listing figures for a named English or Welsh local authority, summed across its postcode districts.

Instructions

Figures for a whole local authority (a council area such as Leeds, Manchester or Hackney), added up over the postcode districts that sit mostly inside it: median sold price over all their sales and its 12-month change, population, household income, deprivation, and live sale and rent listings. The result says how many districts it covers. Takes a local authority name. For one postcode district, postcode or town use get_area_overview. England & Wales only. It describes the authority as it is and does not forecast prices.

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": {
      "authority": "<authority>"
    },
    "name": "get_area_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
authorityYesA local authority (council area) name, e.g. "Leeds", "Manchester", "Hackney"

Output Schema

NameRequiredDescriptionDefault
authorityYes
districtsNo
sales_12mNo
populationNo
rent_listingsNo
sale_listingsNo
authority_codeNo
district_countYes
price_change_pctNo
household_income_gbpNo
median_sold_price_gbpNo
deprivation_average_decileNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description still adds genuine context beyond them: the aggregation is by majority-overlap districts, the response reports how many districts were included, geographic scope is England & Wales, and the data is descriptive rather than predictive.

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 what is measured and how it is aggregated, then input, then the sibling alternative, then scope caveats. Every sentence carries information, though the metric enumeration and example names are slightly dense and partially duplicate the schema.

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?

An output schema exists, so return-shape details are unnecessary; the description still notes the district-count field. For a single-parameter read tool, the aggregation methodology, geographic limit and non-forecast nature cover everything an agent needs to call it correctly.

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 100% and the single parameter already carries a description with example values, so the schema does the heavy lifting. The description repeats that it 'takes a local authority name' and gives the same style of examples (Leeds, Manchester, Hackney) without adding format rules or edge-case handling, so the 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?

States a specific resource (aggregated figures for a whole local authority) and the exact aggregation rule ('added up over the postcode districts that sit mostly inside it'). It names the metrics returned and explicitly contrasts itself with get_area_overview, so an agent can distinguish it from siblings 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 Guidelines5/5

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

Explicitly routes the agent: use get_area_overview for a single postcode district, postcode or town. It also bounds applicability with 'England & Wales only' and rules out a use case with 'does not forecast prices', leaving little to infer.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.