Skip to main content
Glama

geocode_uk_postcode

Geocode a UK postcode into coordinates and admin areas. ($2.00)

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": {
      "postcode": "<postcode>"
    },
    "name": "geocode_uk_postcode"
  }
}

Input Schema

NameRequiredDescriptionDefault
paymentNoOptional payment: x402 base64 payment payload, or MPP voucher (mpp.v1...). Without it, the tool returns a payment_required challenge.
postcodeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose one genuinely useful fact not present in the schema: the call costs $2.00. It says nothing about accuracy, partial-match behavior for invalid postcodes, rate limits, or how the payment handshake plays out beyond the price tag.

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?

Two short sentences, front-loaded with the core purpose, with essentially no filler. The "($2.00)" parenthetical is terse to the point of being cryptic about whether it is a per-call price, but it does not waste space.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter lookup with no annotations and no output schema, the description covers what the tool produces at a high level and discloses cost. It leaves the payment-required flow, invalid-postcode behavior, and precise output fields unexplained, which is a meaningful gap given no structured metadata carries that information.

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

Parameters2/5

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

Schema coverage is only 50%: the payment parameter is documented in the schema, but postcode has no description anywhere. The description does not compensate by specifying accepted formats (spacing, case, e.g. "SW1A 1AA") or what happens with malformed input, so the most important parameter remains underspecified.

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?

"Geocode a UK postcode into coordinates and admin areas" names a specific verb (geocode), a specific resource (UK postcode), and the shape of the result (coordinates plus admin areas). No sibling in the list performs geocoding, so the tool is unambiguously distinguishable, though the description does no explicit routing work.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no mention of alternatives or prerequisites, and no hint about what to do when a postcode is ambiguous or non-existent. Usage is only inferable from the verb and resource.

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