Skip to main content
Glama

Appeals on an application

get_application_appeals
Read-onlyIdempotent

Appeal decisions linked to one UK planning application by stable id '{lpa_slug}:{app_ref}' (or lpa + lpa_app_no) — Planning Inspectorate (England), PEDW (Wales), DPEA (Scotland), PAC (Northern Ireland): each appeal's type, procedure, decision, date, and whether we hold the decision letter. Joins the application corpus to PINS on the LPA application reference, and adds appeals known from the decision letters councils published with their applications (decades older than the Inspectorate's five-year casework data; source=council_archive). Coverage states the span of appeals held for the LPA per source and the captured-letter fraction, and coverage_note says it in one sentence. 404 if the LPA is not in our roster; an empty list means no appeal linked to the application is on record (a recent one may not be yet).

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": "get_application_appeals"
  }
}

Input Schema

NameRequiredDescriptionDefault
lpaNoLPA slug — alternative lookup, with lpa_app_no
lpa_app_noNothe LPA's application number — with lpa
application_refNostable public id '{lpa_slug}:{app_ref}' (e.g. 'camden:2019/5945/P')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare a read-only, idempotent, non-destructive closed-world read, and the description adds substantial context beyond them: the data provenance (PINS join plus council_archive letters, decades older than the five-year casework data), the coverage and coverage_note fields, and the precise meaning of 404 versus an empty list. That is exactly the operational nuance an agent needs and cannot get from the annotations.

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?

Purpose and key are front-loaded in the first clause, then provenance, return contents, and edge-case semantics follow in a logical order. It is dense and long for one paragraph, with the coverage/coverage_note explanation bordering on verbose, but nearly every clause carries information an agent would otherwise have to guess.

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?

There is no output schema, so the description must describe return values — it does, listing appeal type, procedure, decision, date, decision-letter availability, plus coverage and coverage_note. Combined with the provenance and empty-result semantics, an agent can call this and interpret the response correctly without further information.

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%, so all three parameters are already documented, including the composite-id example. The description reinforces that the id form and the lpa + lpa_app_no form are alternatives, but adds no format, validation, or precedence rules (e.g. what happens if both are supplied) beyond the schema. 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?

States a specific verb and resource — appeal decisions linked to one UK planning application, keyed by the stable id '{lpa_slug}:{app_ref}' — and names the four appeal bodies covered. It implicitly separates itself from list_appeals (a listing) and get_appeal (one appeal), but never names a sibling, so the differentiation is left to inference.

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 context for use: fetch appeals for a known application via composite id or via lpa + lpa_app_no, with the two lookup paths spelled out. It also pre-empts the two ambiguous outcomes (404 means the LPA is not in the roster; an empty list means no linked appeal on record, possibly not yet captured). No explicit when-not-to-use or named alternative is given.

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.