Skip to main content
Glama

Resolve an address, postcode or area to place refs

resolve_place
Read-onlyIdempotent
Turn an address, a postcode or an area name into canonical place refs. Call
this FIRST whenever you only have text: it is the only tool that accepts
free text. Each candidate carries a `place` ({uprn} | {postcode} | {area})
to pass to the other tools, and address candidates carry `identity`:
unit | building | street | unresolved. Treat anything but `unit` as "may be
a block, not one home": ask the user which flat, never assume. `unresolved`
means the source did not state precision.

Returns at most 10 candidates, newest page via `next_cursor`. A postcode or
district is recognised from its shape; an area name or an address is looked
up. It is always free. Set `list_addresses` with a full postcode to list the addresses at it (paged).
`near_lat` and `near_lng` (give both) rank nearest first.

Do NOT use it to value anything or for areas outside the UK. Limits: area
codes are ONS/GSS codes held for English local authorities only; Welsh and
Scottish authorities and postcode-district names return covered=false with
the reason. A call with covered=false or an upstream failure is not charged.
Free. Costs nothing.

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": {
      "text": "<text>"
    },
    "name": "resolve_place"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
limitNo
cursorNo
near_latNo
near_lngNo
list_addressesNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive behaviour, yet the description adds substantive context beyond them: a 10-candidate cap with `next_cursor` paging, the `identity` classification (unit | building | street | unresolved) and how to interpret each, nearest-first ranking when both coordinates are supplied, English-only ONS/GSS coverage with covered=false for Welsh/Scottish authorities, and that covered=false or upstream failures are not charged.

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 purpose and the FIRST-call rule, then ordered into candidates, paging, ranking, exclusions and limits. It loses a point for redundancy: the cost point is stated three times ('It is always free', 'Free', 'Costs nothing'), which wastes attention.

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 shape needn't be restated, and the description nonetheless covers the interpretive essentials an agent needs: identity semantics, candidate cap, ambiguity handling ('ask the user which flat'), and coverage failure modes. Complete for a six-parameter resolution tool.

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 description coverage is 0%, so the description must carry the parameters, and it explains most: near_lat/near_lng (with the 'give both' constraint), list_addresses (requires a full postcode), cursor/paging, and the 10-item ceiling. Gaps remain: `limit` is never mentioned by name and its interaction with the 10 cap is left implicit, and the description refers to `next_cursor` while the input parameter is `cursor`.

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 ('Turn an address, a postcode or an area name into canonical place refs') and explicitly positions itself against siblings by claiming exclusivity: 'it is the only tool that accepts free text'. An agent can identify it without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives an explicit ordering rule ('Call this FIRST whenever you only have text'), an exclusion ('Do NOT use it to value anything or for areas outside the UK'), and a conditional mode ('Set list_addresses with a full postcode to list the addresses at it'). It also names the downstream contract: pass the returned `place` to the other tools.

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