Skip to main content
Glama

Canada Represent Electoral Districts & Officials MCP

Lookup Canada representatives by postcode

lookup_canada_by_postcode
Read-onlyIdempotent

Look up Canadian federal, provincial, and municipal elected officials and electoral boundaries for a 6-character Canadian postal code.

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": "lookup_canada_by_postcode"
  }
}

Input Schema

NameRequiredDescriptionDefault
postcodeYesCanadian postal code (e.g. "K1A0A6", "M5V 3L9", "H2Y 1C6").

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 readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so safety and repeatability are covered elsewhere. The description adds useful scope information (one call returns officials at three levels of government plus boundaries), but says nothing about coverage gaps, permissions, rate limits, or result shape.

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 sentence with no filler, front-loading the verb and resource before the input constraint. Every clause carries signal about scope or required input.

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 one-parameter, read-only lookup with no output schema, the description adequately conveys both what is queried and what comes back (officials plus electoral boundaries). Minor gap: the 6-character format versus the schema's spaced example ('M5V 3L9') is left unresolved, which could cause input-format errors.

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% and the single parameter carries examples, so the schema does the heavy lifting. The description's only added constraint ('6-character') duplicates the schema's minLength of 6, and it does not resolve the ambiguity that the schema example 'M5V 3L9' contains a space and is longer than 6 characters. Baseline 3 applies.

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 ('Look up') and a precisely scoped resource ('Canadian federal, provincial, and municipal elected officials and electoral boundaries'), plus the input discriminator ('a 6-character Canadian postal code') that separates it from the coordinate-based sibling. It stops short of naming any sibling explicitly, which keeps it at 4 rather than 5.

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?

The postcode input and the enumerated return content implicitly route the agent here rather than to the coordinate or list_* siblings, but the description never states when to prefer this tool or when another is more appropriate. No exclusions or prerequisites are given, so guidance is only implied.

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.