Skip to main content
Glama

Get a planning appeal

get_appeal
Read-onlyIdempotent

Full detail for one UK appeal decision by its case reference — a PINS case number (England) or a PEDW, DPEA or PAC reference (Wales, Scotland, Northern Ireland): nation, LPA, appeal type and reason, procedure, decision and all key dates, the linked LPA application reference, and whether we hold the decision letter. Also serves appeals known only from the decision letter a council published with the application (source=council_archive, fields read from the letter), and such a letter by its letter_id ('letter:…', the id an appeal whose letter states no readable case number is served under). Bounded record, no inspector name. 404 if the case is not in our capture.

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": {
      "pins_case_number": "<pins_case_number>"
    },
    "name": "get_appeal"
  }
}

Input Schema

NameRequiredDescriptionDefault
pins_case_numberYesthe appeal's case reference at its appeals body: a PINS case number in England ('3247743'; 'TPO-9586' for a tree preservation order appeal), 'CAS-…' in Wales, a DPEA reference in Scotland ('PPA-270-2306'), a PAC reference in Northern Ireland ('2025/L0002') — or, for an appeal known only from a council-archive letter whose case number could not be read, the letter's id ('letter:0123456789abcdef')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile needs no restating. The description adds genuinely useful behaviour beyond that: the record is bounded, inspector name is deliberately omitted, and a missing case yields 404. It still says nothing about auth, rate limits, or payload size beyond 'bounded'.

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 verb, resource and cardinality, then the identifier variants, then failure behaviour — a sensible ordering. The parenthetical jurisdiction lists and the nested clause about letter-only appeals make the middle sentence dense and slow to parse, though every element is substantive.

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 burden of describing the return value and does so by enumerating the returned fields (nation, LPA, appeal type, procedure, decision, dates, linked application reference, decision-letter availability). Combined with the 404 note and the 'bounded record, no inspector name' caveat, an agent has what it needs, though response shape and size remain loosely specified.

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 schema's pins_case_number description already spells out PINS, CAS-, DPEA, PAC and 'letter:…' forms in detail. The description largely restates those formats while adding the council_archive provenance context, so it earns baseline rather than extra credit.

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 verb and resource ('Full detail for one UK appeal decision by its case reference') and immediately scopes it to a single record keyed by an appeals-body reference. This clearly distinguishes it from list_appeals and get_application_appeals, which would return sets or application-linked views.

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?

Gives clear conditions for use: any of the four national reference formats, a council-archive-sourced appeal, or a letter_id, plus an explicit failure condition ('404 if the case is not in our capture'). It never names an alternative tool for discovering a reference or for listing appeals tied to an application, so the exclusion side is only implied.

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.