Skip to main content
Glama

Search bills

search_bills
Read-only

Search federal bills by query, topic, status, or active-only, and get urgent teasers with headline and status.

Instructions

Search Oravan's bilingual federal bill corpus by free-text query, issue topic, status, or active-only. Returns short teasers (headline, status, urgency) for matching bills, most urgent first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results (default 20, max 50).
queryNoFree-text search over the bill title and plain-language summary.
topicNoOne of the 12 issue categories.
localeNoResponse language: "en" (default) or "es".
statusNoBill status to filter to.
active_onlyNoExclude signed/vetoed (terminal) bills when true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare readOnlyHint=true, and the description aligns by describing a search operation returning teasers. It adds behavioral detail about sorting by urgency and the bilingual nature, which is helpful beyond annotations.

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?

Two sentences, no fluff. Front-loaded with action and criteria, then output format. Every word earns its place.

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?

No output schema exists, but the description explains return value format (headline, status, urgency). It covers all parameters implicitly and provides sufficient context for a search tool.

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% with all parameters described. The description adds minor context (e.g., 'bilingual' hints at locale) but mostly restates schema info. Baseline 3 is appropriate.

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 searches a bilingual federal bill corpus by multiple criteria (query, topic, status, active-only) and returns teasers ordered by urgency. It distinguishes itself from siblings like get_bill which retrieves a single bill.

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 clearly indicates when to search bills by specifying the searchable fields. It does not explicitly exclude cases or mention alternatives, but the context is sufficient to understand its use relative to sibling tools.

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