Skip to main content
Glama

Get Recent Bills

get_recent_bills
Read-onlyIdempotent

List the most recent congressional bills, newest first by introduction date or by latest update, from congress.gov. This tool takes NO subject or keyword: it returns whatever Congress touched most recently, so it can only answer OPEN-ENDED recency questions, "what bills were introduced this week", "latest bills in Congress", "what is Congress working on now", "recent activity on bills". PREFER OVER congress_search_bills for exactly those (it ranks by keyword relevance and surfaces older bills). If the question NAMES a bill, act, or subject, "status of the NDAA", "the defense authorization bill", "bills about crypto", use congress_search_bills instead, even when it asks for the CURRENT status: a named subject cannot be found in an unfiltered recency list, which is mostly routine post-office namings. Returns bill type, number, title, status, sponsor, and dates. Requires an API key (see get_bill).

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": {
      "by": "introduced"
    },
    "name": "get_recent_bills"
  }
}

Input Schema

NameRequiredDescriptionDefault
byNoRecency basis: "introduced" (default, newest introductions) or "activity" (most recent update / latest action).
limitNoNumber of bills to return (default: 20, max: 100)
congressNoCongress number to filter by (e.g., 119 for 2025-2026). Omit for all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / congress / description
      Previous value: -"Congress number to filter by (e.g., 119 for 2025–2026). Omit for all."New value: +"Congress number to filter by (e.g., 119 for 2025-2026). Omit for all."
  2. Changed1 schema field changed
    • changedInput schema / properties / by / description
      Previous value: -"Recency basis: \"introduced\" (default, newest introductions) or \"activity\" (most recent status change / latest action)."New value: +"Recency basis: \"introduced\" (default, newest introductions) or \"activity\" (most recent update / latest action)."
  3. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "by": "introduced"
      +  },
      +  {
      +    "by": "activity",
      +    "congress": 119,
      +    "limit": 30
      +  }
      +]
  4. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld, idempotent, non-destructive, so the safety profile is covered. The description adds value beyond that: it discloses the critical absence of any subject/keyword filter, warns that the unfiltered list is mostly routine post-office namings, lists the returned fields, and notes the API key requirement. It omits pagination and rate-limit behavior, keeping it short of a 5.

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?

The negative constraint (takes NO subject) and the alternative routing are front-loaded, which is the right structure for a disambiguation-heavy tool. Some quoted example queries are near-redundant restatements of the same open-ended recency case, slightly padding the middle.

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 three optional parameters, no output schema, and read-only annotations, the definition covers routing, filter limits, return fields, and auth. A reader has everything needed to call it correctly; only pagination/result-cap behavior on the return side is left implicit.

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 `by`, `limit`, and `congress` are already fully documented in the schema. The description's phrase 'newest first by introduction date or by latest update' loosely mirrors the `by` enum values but adds no syntax or format detail beyond what the schema provides. Baseline 3 applies.

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 (list recent congressional bills, newest first) plus the data source (congress.gov) and the ordering dimension (introduction date or latest update). It explicitly distinguishes itself from the sibling congress_search_bills by ranking basis, so an agent can choose between them without opening either schema.

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 explicit when-to-use cases with concrete example questions ("what bills were introduced this week", "what is Congress working on now") and explicit when-not-to-use cases (any named bill, act, or subject, including current-status asks like "status of the NDAA"). It names the alternative tool and explains why that alternative wins for named subjects.

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.