Skip to main content
Glama

Get a bill decode

get_bill
Read-only

Retrieve a plain-language decode of any federal bill by slug or citation, including AI-generated summary, official status, and key details. Understand what a bill does, why it matters, and its urgency.

Instructions

Get the full plain-language decode of a federal bill by slug (e.g. "hr-2701-119") or citation (e.g. "H.R. 2701" - resolves to the most recent Congress on a match). Returns the AI-generated summary (headline, tl;dr, what/who/why/cost - human-reviewed before publish and clearly labeled when present), the official status in plain language, an urgency band, sponsor, key dates, the official Congress.gov page, and an act_url to Oravan's on-site call flow. This tool never drafts a phone script - script generation only happens on-site, behind a human-review step, never over this API.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugNoBill slug, e.g. "hr-2701-119". Takes priority over citation when both are given.
localeNoResponse language: "en" (default) or "es".
citationNoBill citation, e.g. "H.R. 2701" or "S.J.Res. 99". Used only when slug is omitted.
Behavior5/5

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

Annotations indicate readOnlyHint=true, and the description consistently reports read-only behavior. It adds valuable context: the summary is human-reviewed and clearly labeled, citation resolution behavior, and an explicit statement that it never drafts phone scripts. No contradictions.

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?

The description is a single paragraph of about 5-6 sentences, front-loaded with the core purpose, followed by a list of return fields, and ending with a clear negative statement. No unnecessary words; each sentence adds value.

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?

Given no output schema, the description fully enumerates what the tool returns (summary components, status, urgency, sponsor, dates, Congress.gov URL, act_url). It also covers all parameter behaviors and the tool's limitations. The context is complete for an agent to understand and invoke correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All three parameters have schema descriptions (100% coverage). The tool description adds extra meaning: slug takes priority over citation, citation resolves to most recent Congress, and locale has a default. This goes beyond the schema alone.

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?

The description clearly states it gets a full plain-language decode of a federal bill by slug or citation. It lists the specific return fields (summary, status, urgency, etc.) and explicitly distinguishes from script generation, making its purpose unambiguous.

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

Usage Guidelines4/5

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

The description explains when to use the tool (to get bill details by slug or citation) and notes that citation resolves to the most recent Congress. It also states what the tool never does (drafts phone scripts), providing a negative guideline. However, it does not directly compare with sibling tools or give explicit alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cm2489/oravan'

If you have feedback or need assistance with the MCP directory API, please join our Discord server