Skip to main content
Glama

UK property & area data

UK Geography Codes: Find a code by name

uk-geography__search
Read-onlyIdempotent

Search ward, local-authority, county, region, constituency or parish names for their ONS codes. Free within the daily allowance, then $0.001 USDC per call via x402.

Input Schema

NameRequiredDescriptionDefault
nameYesName or part of it
typeNoward (default) | local-authority | county | region | constituency | parish

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/openWorld/non-destructive, so the safety profile is covered. The description adds genuinely useful non-schema context: the free daily allowance and the $0.001 USDC x402 pricing after that, which matters for an agent deciding whether to call it. It omits result limits and ranking behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero filler, purpose front-loaded ahead of the pricing note. Nothing here is redundant with the title.

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?

An output schema exists, so return values need no explanation. Purpose, covered entity types, and cost are all present; for a simple two-parameter read-only search this is complete enough to call correctly.

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 both parameters are already documented, including the 'ward (default)' enumeration for type. The description restates the same type list in prose and adds nothing about matching syntax or partial-name behavior beyond what the schema says.

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?

Clear verb+resource: 'Search ... names for their ONS codes', and it enumerates the six geography types covered. It implicitly complements the type-specific siblings (uk-geography__ward, uk-geography__county, etc.), but never names or contrasts them explicitly, so sibling 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives cost context (free allowance, then paid) but says nothing about when to use this search vs. the per-type lookup tools, nor about partial-match expectations. Usage is implied by 'search ... names' rather than stated as guidance.

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.

Resources