Skip to main content
Glama

Bills trending in the news

get_trending_bills
Read-only

Bills with the most news coverage in the window (GET /v1/trending), optionally for one state. Use for 'what's in the news' or 'hot bills right now'. Returns bill summaries with mention counts; call get_bill for detail.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_trending_bills"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoLook-back window in days (default 7).
limitNoMax rows (default 20).
stateNoPostal code, DC, or US. Omit for all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds value beyond that by disclosing the shape of the result ('bill summaries with mention counts') and the follow-up path to get_bill. It omits defaults (7 days, 20 rows) but those are documented in the schema, so no material gap remains.

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?

Three short sentences with the ranking definition front-loaded, followed by usage triggers and a routing hint. No filler, no repetition of the title or endpoint path that doesn't earn its place.

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 simple read-only list tool with three optional scalar parameters and no output schema, the description covers what it returns, how to scope it, and where to go next. Nothing required to call it correctly is missing.

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%, with every parameter's meaning and range documented inline. The description only gestures at the same concepts ('in the window', 'optionally for one state') without adding syntax or defaults beyond the schema, so the 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?

The description states both the resource ('bills') and the precise ranking criterion ('most news coverage in the window'), and it distinguishes itself from siblings by naming get_bill as the detail endpoint. The agent can tell this apart from search_bills or list_bills_by_stage without opening a schema.

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?

It provides intent-phrased triggers ('what's in the news', 'hot bills right now') and routes the agent to get_bill for per-bill detail. There is no explicit when-not guidance (e.g., use search_bills for historical rather than current coverage), which keeps it just short of the top score.

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