Skip to main content
Glama

BallotWatch

Explain bill

explain_bill
Read-onlyIdempotent

A plain-English explanation of a bill for readers with no background in government: a one-sentence summary, short paragraphs and key points, written by AI from the bill's official text (or the CRS summary when the text is not published). Says which text version it read. Nothing is inferred from the title; when Congress.gov has no text yet, plain_english is null.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
idYesBill id such as 119-hr-1, or a bill number such as "H.R. 1"

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / id / description
      Added value: +"Bill id such as 119-hr-1, or a bill number such as \"H.R. 1\""
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered; the description adds genuinely new behavioral facts: content is AI-generated, the source is the official text with fallback to the CRS summary, the version read is disclosed, nothing is inferred from the title, and plain_english is null when no text exists. The null/fallback behavior in particular is non-obvious and valuable; only a note on latency or caching of the AI generation is missing.

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 sentences, front-loaded with the purpose, then output shape, then sourcing and edge-case behavior. The colon list efficiently enumerates the return structure, and no clause is filler — even the audience framing doubles as scope definition.

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?

With a single parameter, no output schema, and full annotation coverage, the remaining burden on the description is to explain what comes back and what happens when source text is absent. It does both (summary/paragraphs/key points, version disclosure, null on missing text), so an agent has everything needed to call it and interpret the result.

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?

Only one parameter exists and the schema fully documents it (bill id such as 119-hr-1 or "H.R. 1") at 100% coverage, so the baseline applies. The description adds no further constraints on the id, such as behavior for invalid or ambiguous bill numbers.

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 ("plain-English explanation of a bill") and immediately pins down the output shape (one-sentence summary, short paragraphs, key points), which inherently separates it from raw-record siblings like get_bill or search_bills. An agent can tell what it produces without opening the schema.

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

Usage Guidelines3/5

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

Usage is implied through the audience framing ("readers with no background in government") and the derivation note (AI-written from official text), which suggests it is for comprehension rather than retrieval. However, it never explicitly says when to prefer this over get_bill, nor does it name any alternative or exclusion, leaving the routing decision to inference.

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.