Skip to main content
Glama

TradeCheck MCP — UK & Global Trade Compliance Engine

gpdo_outbuilding_and_loft_check

Read-onlyIdempotent

[planning | $0.06/call] Deterministic England GPDO 2015 (SI 2015/596 Schedule 2, Part 1, Class E outbuildings and Class B roof/loft additions) statutory compliance engine.

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": {
      "assessmentType": "<assessmentType>",
      "dwellingType": "<dwellingType>",
      "isArticle23Land": "<isArticle23Land>",
      "isListedBuilding": "<isListedBuilding>"
    },
    "name": "gpdo_outbuilding_and_loft_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
loftNoProposed Class B loft/roof addition measurements (required when assessmentType is 'CLASS_B_LOFT' or 'BOTH').
outbuildingNoProposed Class E outbuilding dimensions and siting (required when assessmentType is 'CLASS_E_OUTBUILDING' or 'BOTH').
dwellingTypeYesHouse type governing Class B roof volume allowances ('TERRACED' 40 m3; 'DETACHED' or 'SEMI_DETACHED' 50 m3).
assessmentTypeYesWhich GPDO Part 1 statutory assessment to run: 'CLASS_E_OUTBUILDING', 'CLASS_B_LOFT', or 'BOTH'.
isArticle23LandYesTrue if the property is on Article 2(3) designated land (Conservation Area, National Park, AONB, World Heritage Site, or The Broads).
isListedBuildingYesTrue if the property is a statutory Listed Building.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and closed-world behaviour, so the safety profile is covered. The description adds two genuinely useful facts beyond the annotations — deterministic (reproducible) results and a $0.06/call price — but never says what a compliance result contains (pass/fail, failing criteria, reasoning), which for a no-output-schema tool is the main behavioural gap.

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?

A single front-loaded sentence with the category, jurisdiction, statute and price up front and no wasted wording. The bracketed price tag is a small structural blemish but aids cost-aware selection.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex two-mode assessment tool with deeply nested objects and no output schema, the description covers the legal basis and cost but leaves the result shape and the practical caveats (Article 2(3) designated land effects, listed-building override) unstated. The rich input schema compensates for the input side, but the output side is undocumented.

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%, and the nested schemas already carry the statutory limits (2.5m eaves, 20cm eaves setback, 4.0m vs 3.0m by roofType, 40/50 m3 by dwellingType). The description adds no parameter-level meaning beyond that, so the baseline of 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 description names the exact statutory instrument (GPDO 2015, SI 2015/596, Schedule 2, Part 1) and the two classes covered (Class E outbuildings, Class B roof/loft additions), and calls itself a compliance engine. That is a specific resource and scope; it implicitly separates itself from the Class A rear-extension sibling by naming different classes, though it never says so 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: an agent can infer this tool covers outbuildings and lofts rather than extensions, and the assessmentType enum lets it pick CLASS_E_OUTBUILDING, CLASS_B_LOFT or BOTH. There is no explicit statement of when to choose this over gpdo_class_a_rear_extension or when not to use it (e.g. non-England, non-dwelling, or already-permitted cases).

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.