Skip to main content
Glama

Retrofit candidates in an area

retrofit_candidates
Read-onlyIdempotent
Properties in an area with the most improvement headroom, ranked by
potential efficiency. Defaults to the sub-standard bands E, F and G.

A targeting tool: it returns a list to act on, not a fact about one
property. Combine with `fuel='gas'` for the fossil-heated cohort that
carries the largest retrofit case.

`area_id` is the marts area id from `area_resolve`.

UK only. Free.

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": {
      "area_id": "<area_id>"
    },
    "name": "retrofit_candidates"
  }
}

Input Schema

NameRequiredDescriptionDefault
fuelNo
bandsNo
limitNo
area_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

The annotations already establish read-only, idempotent, non-destructive, closed-world behavior, so the bar is lower; the description adds real value on top with the default band filter (E, F, G), the ranking logic, and the UK-only and free coverage constraints. It omits the default limit of 100 and any pagination/truncation behavior, which matters for a list-returning tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is short and front-loaded: what it returns, the default filter, what it is not, the key combination, then provenance and constraints. Every sentence adds information and none repeat the name or title.

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 an output schema present, return values need no explanation. The description covers defaults, area id provenance, and coverage constraints, which is enough to invoke the tool correctly. The one gap is the unexplained limit parameter and the absence of any result-size guidance for a ranked list tool.

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 0%, so the description must carry parameter meaning. It explains area_id's provenance (marts area id from area_resolve), the semantics of fuel via the 'gas' example, and the default for bands, but it never explains the limit parameter or the accepted format of fuel beyond one example value. It compensates partially, leaving limit undocumented in both places.

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 gives a specific resource and ranking criterion (properties in an area ranked by retrofit potential), and it explicitly distinguishes itself from a single-property lookup: 'returns a list to act on, not a fact about one property'. This allows an agent to tell it apart from siblings such as property_energy_retrofit 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 clear context for use: targeting a cohort to act on, and using fuel='gas' for the fossil-heated segment. It also states the geographic constraint (UK only) and that it is free, plus where area_id comes from (area_resolve). It does not state exclusions — e.g. when to prefer area_profile or area_stock_profile — but the positive guidance is strong.

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