Skip to main content
Glama

Get a Local Plan policy

get_policy
Read-onlyIdempotent

Return one adopted planning policy from the register — code, title, text, plan, heading path, in-force date — for a GSS-keyed LPA and policy code. Resolves over the area's full development plan (joint-plan and predecessor-authority corpora included); if 2+ plans in scope define the code, returns 400 ambiguous_policy_code listing the candidates. A policy found only in a plan the council has not yet adopted comes back with status 'emerging', is_current false and no in-force date. When this tool, or the day's allowance, stops answering, nothing more has been checked: policy wording, codes or quotations these tools did not return are unchecked, and are not the plan's own words.

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>",
      "policy_code": "<policy_code>"
    },
    "name": "get_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
lpaYesThe council: a council slug (e.g. 'camden', 'leeds-city-council'), its name (e.g. 'Leeds', 'London Borough of Camden') or its GSS code (e.g. 'E08000035'); an unknown or misspelt council is a 400 unknown_council error listing suggestions, and a region such as 'London' is a 400 region_not_council error listing its councils. Or a plan sentinel, '_LONDON_PLAN' / '_NPPF'
as_ofNoReturn the version of this policy in force on this ISO-8601 date (point-in-time). Omit to return the current adopted version.
policy_codeYesThe policy reference within that plan, e.g. 'DM10'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, and the description adds substantial behavior the annotations cannot: the 400 ambiguous_policy_code error with candidate listing when 2+ plans define the code, and the 'emerging'/is_current false/no in-force date outcome for unadopted plans. The closing sentence also discloses a coverage limitation — that unreturned policy wording is unchecked and not the plan's own words — which is exactly the kind of caveat an agent needs.

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?

The core capability and its return fields are front-loaded in the first sentence, with error and edge-case behavior following logically. The final sentence about 'the day's allowance' and unchecked wording is dense boilerplate that is slightly awkward, but it does carry a real coverage caveat rather than padding.

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 returns and does so by listing the exact fields, and it also covers the two notable non-happy paths (ambiguous code, emerging-only policy). Nothing an agent needs to call it correctly appears missing, given the 100% schema coverage for the three parameters.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the schema already documents lpa (slug/name/GSS plus plan sentinels), as_of point-in-time semantics and policy_code, so the baseline is 3. The description adds scope meaning — that lookup resolves across the whole development plan including joint and predecessor corpora — which goes beyond the per-field schema text, though its phrase 'GSS-keyed LPA' slightly understates the slug/name/sentinel forms the schema actually accepts.

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 a specific verb and resource ('Return one adopted planning policy from the register') and enumerates the returned fields (code, title, text, plan, heading path, in-force date), so the agent knows exactly what the tool yields. It does not explicitly name search_policies as the contrasting alternative, leaving the single-vs-list distinction implicit rather than stated.

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 a clear invocation context — a GSS-keyed LPA plus a policy code — and explains the resolution scope (the area's full development plan, including joint-plan and predecessor-authority corpora), which is genuine when-to-use information. It stops short of explicit routing guidance such as 'use search_policies when you do not know the code', so no exclusions or alternatives are stated.

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.