Skip to main content
Glama

Get per-state data coverage

get_coverage

Per-state depth snapshot (GET /v1/coverage): how COMPLETE each jurisdiction's data is — bill counts, the share of bills holding at least one vote, text or sponsor, and whether the legislature is currently in session. Use it before drawing conclusions from a thin result set, to tell 'no such bills' apart from 'this state is thinly covered'. Read the completeness ratios rather than the raw percentages: most bills die in committee without ever getting a roll call, so a low pct_with_votes usually reflects the legislature, not a gap in the data. Served from a materialised snapshot; computed_at gives its age.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_itemsNoCap on rows returned (default 60 — all jurisdictions).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries the full burden, and it delivers: it discloses that data comes from a 'materialised snapshot', that `computed_at` indicates its age, and that low pct_with_votes usually reflects legislative behavior rather than a data gap. This goes well beyond a bare 'get coverage' statement and helps the agent avoid misinterpreting results.

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?

The description is dense but every sentence earns its place: definition, use case, interpretation caveat, and data-freshness disclosure. It is front-loaded with the core purpose and does not repeat schema information.

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?

The tool is simple (one optional parameter, no output schema), and the description provides enough context to call it and interpret its results: what metrics are included, what the ratios mean, that it is a snapshot, and how to check its age. Nothing essential for correct usage 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% for the single optional `max_items` parameter, so the schema already fully documents it. The description does not add parameter-specific detail, but the baseline of 3 applies because the schema does the heavy lifting.

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 names a specific resource (per-state coverage) and a clear verb/function ('depth snapshot' showing how COMPLETE each jurisdiction's data is), and it enumerates concrete metrics: bill counts, share with votes/text/sponsor, and session status. This clearly distinguishes it from sibling tools like get_usage, get_session_breakdown, or list_states.

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 gives explicit guidance on when to use the tool: 'Use it before drawing conclusions from a thin result set, to tell no such bills apart from this state is thinly covered.' It also provides interpretive guidance (read ratios rather than raw percentages). It does not name alternative tools or state when not to use it, so it falls just short of a 5.

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