Skip to main content
Glama

WhereToLive London open data

Compare London postcode districts

compare_london_districts
Read-onlyIdempotent

Side-by-side open-data figures for 2 to 6 London postcode districts and London as a whole: median sold price of existing houses, residential crime per 1,000 residents, Outstanding state schools, share of postcodes in flood zone 3, Band D council tax, the main borough's ONS official rent, the share of residents in England's most deprived 20% of areas, Census 2021 tenure, and optionally commute minutes to one hub.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hubNoAdd typical commute minutes to this work hub.
bedroomsNoBedrooms for the official rent column: all (default), 1, 2, 3 or 4+.
districtsYes2 to 6 outward codes or postcodes, e.g. ["E17", "E10", "N17"].

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description adds data provenance ('open-data figures') and clarifies that the hub/commute column is optional, but omits freshness, aggregation caveats (e.g. 'main borough's' rent roll-up), and any rate/coverage limits.

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 scope (side-by-side, 2-6 districts, London baseline) before the metric list, and every token is informative. It is a single long run-on sentence, which slightly hurts scannability of the metric list but wastes nothing.

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?

With no output schema, the description carries the return-value burden and does so well by enumerating the metric columns, the London-wide baseline, and the optional commute column. It would be stronger with a note on output shape (per-district rows) and data recency, but it is largely sufficient for correct invocation.

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%: districts, hub and bedrooms are all documented inline, including the 2-6 item bound and the enum values. The description only echoes '2 to 6 districts' and the optional hub commute, adding no syntax or format meaning 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.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb 'compare' (side-by-side) plus resource 'London postcode districts' is specific, and the enumeration of metrics leaves no doubt what the tool computes. It implicitly separates itself from single-district tools like get_district_profile and ranking tools like rank_london_districts via the '2 to 6 districts and London as a whole' scope, but never names a sibling explicitly.

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

Usage Guidelines3/5

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

Usage is only implied: the side-by-side framing and multi-district scope suggest this is the tool for cross-district comparison. There is no explicit when-to-use/when-not, and no pointer to get_district_profile (single area) or rank_london_districts (ordered ranking) as the alternatives an agent should weigh.

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