Skip to main content
Glama

BallotWatch

Fetch a record

fetch
Read-onlyIdempotent

The full text of one record from search, as Markdown with its sources: a member's record (seat, votes cast this Congress, ten most recent votes), a bill (plain-English explanation, official summary, recorded votes), or a roll call (question, tally, party split and how every member voted). Takes an id from search (member:P000197, bill:119-hr-1, vote:house-119-1-145) or a ballotwatch.io record URL. Returns { id, title, text, url, metadata } as JSON.

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": "fetch"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesAn id returned by search, or a ballotwatch.io record URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. Beyond that, the description discloses output format (Markdown with sources) and the exact response envelope { id, title, text, url, metadata } as JSON, which is genuinely additive since no output schema exists. It stops short of covering failure behavior for malformed or unknown ids.

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?

Front-loaded with the core statement of what is returned, then grouped by the three record types, then the id formats, then the response envelope. Dense but no filler; the three-way content enumeration is long but each clause carries distinct information.

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?

For a one-parameter read tool with no output schema, the definition covers input formats, per-type content, and the return envelope, which is close to everything needed to call it correctly. The only real omission is behavior on invalid or stale ids, which would make it complete.

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

Parameters4/5

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

Schema coverage is 100% for the single parameter, so the baseline is 3. The description exceeds that by giving concrete id shapes per record type (member:P000197, bill:119-hr-1, vote:house-119-1-145) plus URL acceptance, which tells the agent how to construct valid values rather than just naming the field.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource ('The full text of one record from search') and then enumerates exactly what a member, bill, and roll call record contains, so the agent knows precisely what comes back. It does not distinguish itself from the type-specific siblings (get_member_record, get_bill, get_roll_call), which overlap heavily with this tool, so it falls short of a 5.

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?

'Takes an id from search ... or a ballotwatch.io record URL' implies the search-then-fetch workflow, which is useful contextual guidance. However, there is no explicit when-not guidance and no reference to the overlapping siblings (get_member_record, get_bill, get_roll_call), leaving the agent to infer which tool to pick when it already knows the record type.

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.