Skip to main content
Glama

Get Legislative Process

get_legislative_process
Read-onlyIdempotent

How a bill actually moves through one country's congress, derived from Dapper's own tramitación records rather than recalled from memory. Returns the chambers (which also answers unicameral vs. bicameral), the bill types currently in use, and the ordered sequence of stages bills pass through — each with how many updates and how many distinct bills were observed at that stage.

Use this for 'what happens next', 'what are the stages', 'how many debates', 'is it bicameral' questions. Two important limits, which you should pass on rather than paper over: this describes OBSERVED PRACTICE in the ingested record, not the text of the reglamento — it will not give you deadlines, majority thresholds, or article numbers, and for those you should say so and point to the chamber's own reglamento. A stage missing here means Dapper has not recorded it in the window, not that it does not exist.

window_days (default 730) bounds how far back the observation goes; widen it for a country with a thin recent record.

Input Schema

NameRequiredDescriptionDefault
min_updatesNoDrop stages seen fewer than this many times in the window. Raise it to cut one-off or mis-labelled steps out of the sequence.
window_daysNoHow far back to observe, in days (30-3650). Widen it for a country with a thin recent record; narrow it to describe current practice after a rule change.
country_codeYesOne ISO alpha-2 country code, e.g. 'PA'. Only the first is used — the legislative process is a per-country answer.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover the safety profile (read-only, idempotent, closed-world), and the description adds substantial context beyond them: results reflect OBSERVED practice in the ingested record, not the reglamento; a missing stage means 'not recorded in the window', not 'doesn't exist'; and window_days bounds the observation. These epistemic caveats materially change how an agent should present results.

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?

Front-loaded: purpose and return shape come first, then usage triggers, then caveats. Dense and mostly waste-free, though the window_days sentence at the end repeats schema guidance and the length is near the upper bound for comfortable scanning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter tool with a full output schema, the description covers everything an agent needs: what the answer contains, which questions it answers, how far back the observation reaches, and the interpretive limits to pass on to users.

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%, so the baseline is 3. The prose reiterates window_days' default and the widening advice already present in the schema, and never mentions min_updates, which the schema documents on its own. It adds little semantic value beyond the structured fields.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (retrieves a country's legislative process) and enumerates exactly what comes back: chambers, in-use bill types, and an ordered stage sequence with update and distinct-bill counts. It also names the data source (Dapper's tramitación records), which distinguishes it from descriptive/legal-text siblings like get_explainer or get_bill_breakdown.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete trigger questions ('what happens next', 'how many debates', 'is it bicameral') so the agent knows when to reach for it. Explicitly states what it is NOT for — deadlines, majority thresholds, article numbers — and names the alternative source (the chamber's own reglamento), which is exactly the when-not guidance most definitions lack.

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.

Resources