Skip to main content
Glama
canada-openparliament-bills-mcp

canada-openparliament-bills-mcp

Get Canadian bill details

get_canada_bill_details
Read-onlyIdempotent

Retrieve a specific Canadian federal bill's legislative status, short title, sponsor link, and recorded votes by parliamentary session and bill number.

Instructions

Retrieve full legislative status, short title, sponsor link, and recorded votes for a specific Canadian federal bill.

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": {
      "session": "<session>",
      "bill_number": "<bill_number>"
    },
    "name": "get_canada_bill_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionYesParliamentary session identifier (e.g. "45-1").
bill_numberYesBill number (e.g. "C-39", "C-2", "S-201").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

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 the safety profile is covered. The description adds value by naming what comes back (status, sponsor link, recorded votes), which matters because there is no output schema, but says nothing about missing-bill behavior, upstream API failures, 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?

A single sentence with no filler, front-loaded with the verb and resource and then the payload contents. Nothing repeats the name or title verbatim.

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 two-parameter read tool with full schema coverage and annotations, the main missing piece an agent would need is the shape of the response, which the description partially supplies by listing returned fields. With no output schema present, a bit more on return structure would have made it complete.

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 both parameters carry examples ('45-1', 'C-39'), so the schema does the heavy lifting. The description adds no format or constraint detail beyond that, which is the baseline case for full coverage.

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?

Specific verb ('Retrieve') plus resource ('a specific Canadian federal bill') and an enumeration of the returned data: legislative status, short title, sponsor link, recorded votes. The word 'specific' implicitly separates it from the list_* siblings, though no sibling is named.

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: an agent can infer this is the detail lookup for a single bill identified by session + bill number, versus the list/search siblings. There is no explicit when-to-use statement, no prerequisites, and no named alternative when the bill number is unknown.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.