Skip to main content
Glama

Get an application's full record

get_application_record
Read-onlyIdempotent

The capture ledger's record for one planning application, as the LPA published it: the stable 13-key canonical projection plus surfaces — every field-value pair the register surface stated, keyed by the portal's own labels and grouped per surface/tab, with repeated records (documents, constraints, dates) as arrays. The surfaces key set is per-LPA by design (source-shaped, METADATA_TOTALITY.md): different authorities publish different fields, and this operation returns whatever the authority stated, verbatim, without renaming or narrowing. surfaces is null for applications captured before source-totality shipped (2026-07-30 — the archive is write-once and totality is forward-only) and {} where the surfaces were read but the portal published nothing. Look up by LPA slug + the authority's own application number; 404 when the ledger holds no such capture. Person names and contact details (applicant, agent, case officer; their addresses, phones and emails) are withheld as "[withheld: personal data]" — the site address is kept.

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": {
      "lpa": "<lpa>",
      "reference": "<reference>"
    },
    "name": "get_application_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
lpaYesLPA slug (e.g. 'croydon').
referenceYesThe LPA's own application number, exactly as published (e.g. '26/02032/FUL').

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the read-only, idempotent, closed-world profile, yet the description still adds substantial context: `surfaces` is per-LPA source-shaped by design, null for pre-2026-07-30 captures, {} when the portal published nothing, and PII is redacted with the site address retained. The only real gap is that it does not say anything about the 13-key canonical projection's contents, which is a large part of the response.

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 dense paragraph that front-loads what is returned before qualifying behavior and caveats. Some words repeat the same idea ('verbatim, without renaming or narrowing') and the METADATA_TOTALITY.md citation is noise an agent cannot use, but nearly every clause carries decision-relevant information.

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?

With no output schema, the description carries the full burden of explaining the response and does so: canonical keys, the surfaces structure, array treatment for repeated records, null-vs-empty semantics, and redaction rules. For a two-parameter read tool this is complete enough to call blind.

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 both parameters already carry descriptions with examples ('croydon', '26/02032/FUL'). The description reinforces that the reference must be the authority's own number exactly as published, but adds no format or validation detail the schema does not already supply.

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: returns the ledger's capture record for one planning application, described as the stable 13-key canonical projection plus a `surfaces` block. The shape of the return is unusually well specified. It does not, however, contrast itself with the sibling `get_application`, so an agent must infer which of the two to call.

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?

Gives the lookup key (LPA slug + the authority's own application number) and the failure mode (404 when no capture exists), which is actionable invocation guidance. It stops short of saying when to prefer this over `get_application` or the search tools, leaving the main sibling choice to inference.

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.