Skip to main content
Glama

Canada Represent Electoral Districts & Officials MCP

Lookup Canada representatives by coordinates

lookup_canada_by_coordinates
Read-onlyIdempotent

Find Canadian federal, provincial, and municipal elected representatives covering a latitude and longitude coordinate pair.

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": {
      "latitude": "<latitude>",
      "longitude": "<longitude>"
    },
    "name": "lookup_canada_by_coordinates"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum representatives to return (default 15).
latitudeYesLatitude in decimal degrees (e.g. 45.4215 for Ottawa).
longitudeYesLongitude in decimal degrees (e.g. -75.6972 for Ottawa).

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 idempotency are covered structurally. The description's added value is the three-level-of-government scope, which tells the agent results span federal/provincial/municipal rather than a single tier. It does not address out-of-coverage coordinates, tier completeness, or result ordering, which are the remaining behavioral questions.

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 verb and resource first and the selection key last; there is no filler and nothing redundant with the schema or annotations.

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 three-parameter, read-only lookup with full schema documentation and rich annotations, the description is essentially sufficient. With no output schema present, a brief note on what each result contains (name, level, district) would close the last gap.

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%, with latitude/longitude documented in decimal degrees including Ottawa worked examples and limit defaulting to 15 with a max of 30. The description adds no parameter meaning beyond that, so the 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?

The description gives a specific verb ("Find") and a precisely scoped resource: Canadian federal, provincial, and municipal elected representatives, selected by a latitude/longitude pair. That distinguishes it in substance from the postcode sibling, though it never names the sibling to make the distinction explicit.

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: an agent infers this is the tool to call when it has a coordinate pair instead of a postal code. There is no explicit when-not guidance, no mention of the postcode alternative, and no note on behavior when coordinates fall outside Canada.

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.