Skip to main content
Glama

EPC for a property, or an area's EPC band mix

energy
Read-onlyIdempotent
Give exactly one of `uprn` or `area`. For a UPRN: its EPC (current and
potential rating, fabric, heating, retrofit gap) newest first. For an area
(postcode district or local authority): the EPC band mix and fuel mix of the
certificated stock.

Percentages are of properties that HOLD an EPC (lodged on sale or let), not
of all stock; say so. An EPC is a survey of the dwelling, not a value and
not a cost. With an area, `include=["retrofit_candidates"]` adds up to 25
properties in `bands` (default E, F, G) ranked by improvement headroom; that
list costs 30 credits, charged only when it returns rows; the rest is free.
Do NOT use it to estimate a value or an installation cost.
Free.

The UPRN answer carries `identity` (unit | building | street | unresolved).
UK only. Limits: 10 certificates, 25 candidates, 8 KB. Free text is refused: resolve_place first.
A call with covered=false or an upstream failure is not charged. Keyed on a UPRN, not an address: call `address_autocomplete` (free) to narrow, then `address_resolve` to get one.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "energy"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaNo
uprnNo
bandsNo
limitNo
includeNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (which already state read-only/idempotent/closed-world), the description discloses cost structure (30 credits for the retrofit_candidates list, charged only when rows return; the rest free), hard limits (10 certificates, 25 candidates, 8 KB), non-billing on covered=false or upstream failure, and a UK-only scope. It also flags a data-semantics trap the agent would otherwise misreport: percentages are of properties holding an EPC, not all stock.

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?

Telegraphic but dense with earning content, and the mode selection rule is front-loaded in the first sentence. It reads as stacked fragments ('Free.', 'UK only.', 'Limits: ...') rather than a structured flow, which costs a little readability but wastes no words.

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?

The tool returns rich objects, but an output schema exists so return values need not be explained; the description instead covers what the schema can't: coverage caveats, credit behavior, ceilings and the `identity` resolution field. For a dual-mode, metered, UK-scoped tool, nothing essential for a correct call 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 description coverage is 0%, so the description has to carry the load and largely does: it defines the two mutually exclusive modes, explains `include=["retrofit_candidates"]`, its default bands (E, F, G) and the 25-candidate cap. Two gaps remain: `bands` is only described in the retrofit-candidate context, not as a filter on the main answer, and `area.type` is described as 'postcode district or local authority' although the enum also accepts county and country.

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 names two specific modes with their resources and outputs: a UPRN yields current/potential rating, fabric, heating and retrofit gap; an area yields EPC band mix and fuel mix. It also states what the tool is not (a value or a cost estimate), so an agent can distinguish it from valuation siblings without opening the 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?

It gives explicit routing rules: exactly one of `uprn` or `area`, free text is refused so resolve_place first, and a UPRN must be obtained via address_autocomplete then address_resolve. Explicit exclusions are present ('Do NOT use it to estimate a value or an installation cost'). The gap is that overlapping EPC siblings such as epc_certificates or retrofit_candidates are never positioned against this tool, so the agent must infer which EPC entry point to call.

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