Skip to main content
Glama

Natural Resources Canada GeoGratis Geolocator MCP

Geocode Canadian postal code

geocode_canada_postal_code
Read-onlyIdempotent

Geocode a Canadian 3-character FSA or 6-character postal code (e.g. "K1A0A6", "M5V 3L9") to official NRCan coordinates.

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": {
      "postal_code": "<postal_code>"
    },
    "name": "geocode_canada_postal_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum matches to return (default 5, max 10).
postal_codeYesCanadian FSA or 6-character postal code (e.g. "K1A0A6", "V6B 1A1").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so safety is covered. The description adds useful provenance (results come from official NRCan data), but it does not say what a 3-character FSA match represents in terms of precision (centroid vs. range) or how multiple matches interact with the limit parameter. Some behavioral value added, but not rich.

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?

A single front-loaded sentence with the key constraint (3-char FSA or 6-char postal code) and concrete examples. Nothing extraneous, nothing buried.

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 simple two-parameter, read-only, non-destructive lookup with full schema coverage and no output schema, the description supplies what is missing from structured fields: the data source and accepted input formats. Minor gaps are the meaning of FSA-level precision and how limit behaves with multiple matches.

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%, with both postal_code and limit documented including defaults and max. The description's format examples and FSA/6-character distinction largely restate what the schema already contains. Baseline 3 is appropriate when the schema carries the load.

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 (Geocode) and resource (Canadian FSA or 6-character postal code), plus the output (official NRCan coordinates). Examples of both accepted formats remove any ambiguity about input shape. It does not explicitly distinguish itself from siblings like locate_canada_geogratis_place, but the resource noun already separates it from place-name lookups.

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?

Usage is implied rather than stated: the reader infers this tool is for postal codes, not place names or mapsheets, from the format constraints. There are no explicit when-to-use/when-not-to-use statements or named alternatives, which is the main gap given four sibling lookup 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.