Skip to main content
Glama

Openparliament Ca Get Politician

openparliament_ca_get_politician
Read-onlyIdempotent

Fetch a Canadian MP profile from OpenParliament.ca by politician slug, returns name, party, riding, province, election history, and links to their debate contributions.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "slug": "justin-trudeau"
    },
    "name": "openparliament_ca_get_politician"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesPolitician slug

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

Annotations already declare readOnly, idempotent, non-destructive and open-world behavior, so the safety profile is fully covered without the description. The description adds useful scope detail (concrete return fields, external source site), but says nothing about error behavior for invalid slugs or rate limits.

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?

One sentence, front-loaded with the action and source, followed by the returned fields. No filler and no repetition beyond the necessary key mention.

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 tool with full annotations and an output schema, the description covers purpose, source, key and return shape adequately. The only shortfall is the absence of any failure-mode hint for an unknown or ambiguous slug.

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% and the single parameter is documented with an example ('justin-trudeau') in the schema, so the baseline is 3. The description's 'by politician slug' restates the schema rather than adding format or resolution rules.

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 (Fetch), a specific resource (Canadian MP profile), the source (OpenParliament.ca), the key (politician slug), and the returned fields. It reads as a single-entity lookup, so it is distinguishable in practice from list-style siblings, though no sibling is named explicitly.

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 only implied: 'by politician slug' signals a single-record lookup rather than a search or list, but the description never says when to prefer this tool over list_politicians or a search tool, nor what to do when the slug is unknown.

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.