Skip to main content
Glama

lifemobility__postal_code_lookup

Look up a postal code (US ZIP or Canadian FSA), e.g. query "B4B": place name, province/state and coordinates. Source: Zippopotam.us (GeoNames data). License: CC BY (underlying data: GeoNames).

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__postal_code_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.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the return fields (place name, province/state, coordinates) and the data source and license, which is genuinely useful provenance context. It says nothing about error handling, result multiplicity or rate limits, and the presence of a 'limit' parameter hints that queries can match many places without explaining that.

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?

Three compact segments, front-loaded with what the tool does and an example, with no filler sentences. The license/attribution clause is the only part that doesn't help an agent decide or invoke, though it is defensible provenance metadata.

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 correctly steps in to list the returned fields, and it states the input format scope. For a simple two-parameter lookup this is close to complete; the remaining gap is how multiple matches are ordered and capped by 'limit', which an agent would have to discover by calling it.

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%, so baseline is 3, but the schema's own 'query' description explicitly defers to the tool description ('see the tool description for what it expects'). The description fills that gap by naming the two accepted code formats and giving a concrete Canadian FSA example. 'limit' is still only explained by 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?

The description opens with a specific verb and resource ('Look up a postal code') and immediately narrows scope to 'US ZIP or Canadian FSA', which implicitly separates it from the Japan, UK, India and Brazil lookups in the sibling list. It stops short of naming an alternative for non-US/Canadian codes, so the differentiation is inferred from coverage 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 Guidelines3/5

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

Coverage ('US ZIP or Canadian FSA') plus a worked example ('query "B4B"') imply when this tool applies, and the format hint helps an agent pick the right country tool. There is no explicit when-not or named alternative for other countries, and nothing about what to do with ambiguous or partial codes.

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.