Skip to main content
Glama

Openparliament Ca Get Bill

openparliament_ca_get_bill
Read-onlyIdempotent

Fetch full detail for a Canadian Parliament bill by session (e.g. "44-1") and bill number (e.g. "C-318"), returns title, sponsor, status, and legislative history.

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": {
      "number": "C-318",
      "session": "44-1"
    },
    "name": "openparliament_ca_get_bill"
  }
}

Input Schema

NameRequiredDescriptionDefault
numberYesBill number (e.g. "C-318")
sessionYesSession (e.g. "44-1")

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/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 the shape of the payload (title, sponsor, status, legislative history), but says nothing about rate limits, error behavior for invalid session/number, or whether unknown bills return empty versus an error.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler; the identifiers and the return fields are stated compactly. It is slightly comma-spliced but readable and efficient.

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?

With an output schema present, the description needn't enumerate return values, and the annotations plus full schema coverage carry most of the remaining burden. It is complete enough to call correctly, missing only failure-mode guidance for malformed or nonexistent bill identifiers.

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 both parameters already carry their own examples, so the inline examples ('44-1', 'C-318') in the description are largely redundant. No additional meaning about formats, casing, or validity constraints is added beyond the schema.

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 names a specific verb ('Fetch') and resource ('full detail for a Canadian Parliament bill') plus the two identifying keys, so an agent knows exactly what it retrieves. It does not distinguish itself from the sibling list_bills, so it stops short of a 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 phrase 'full detail' implies this is the detail lookup as opposed to a listing, but there is no explicit when-to-use guidance or named alternative (e.g. list_bills). Usage 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.