Skip to main content
Glama

lifemobility__uk_postcode_lookup

Look up a UK postcode, e.g. query "SW1A 1AA": district, county, region, country, coordinates and NHS area. The query must contain the postcode. Source: postcodes.io (Open Government Licence data). License: Open Government Licence v3.0 (GB data via postcodes.io); Northern Ireland BT postcodes excluded.

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": {
      "query": "<query>"
    },
    "name": "lifemobility__uk_postcode_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results, 1-20 (default 5).
queryYesSearch term for this source (see the tool description for what it expects).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does disclose meaningful behavior beyond the schema: the upstream data source (postcodes.io), licensing, and a hard coverage limitation (NI BT postcodes excluded). It omits rate limits, error behavior, and result ordering/pagination semantics, which is the main remaining gap.

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?

Front-loads the verb, resource, and a concrete example before the field list, then closes with source and license attribution. Every clause earns its place and nothing is redundant.

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?

For a two-parameter read-only lookup with no output schema, the description supplies the return field list, the required input shape, and the data coverage caveat. It is sufficient to call the tool correctly, with only operational details (limits, errors) missing.

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%, so both parameters are already documented, giving a baseline of 3. The description adds only a format hint via the example query ("SW1A 1AA") and the requirement that the postcode appear in the query; the limit parameter's behavior is left entirely to the schema.

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 ("Look up a UK postcode") and even enumerates the returned fields: district, county, region, country, coordinates and NHS area. The "UK" qualifier implicitly separates it from siblings like japan_postal_lookup or the generic postal_code_lookup, though no sibling is named explicitly.

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?

Provides a usage constraint ("The query must contain the postcode") and a scope exclusion (Northern Ireland BT postcodes excluded), which tells the agent when this will fail. However it gives no guidance on when to prefer this over the neighboring postal/geocode lookup tools or what to do for non-UK or BT addresses.

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.