Skip to main content
Glama

Get per-state data coverage

get_coverage
Read-only

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.

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_coverage"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/non-destructive, so the safety profile is covered. The description adds genuinely new behavioral context: results come from a materialised snapshot whose age is exposed via computed_at, plus a caveat that low pct_with_votes reflects committee deaths rather than missing data. Minor gaps remain (no pagination or error semantics beyond the max_items cap).

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 purpose and endpoint, then usage, then interpretation, then freshness — a logical funnel with no filler. The ratio-interpretation sentence is the longest but earns its place by preventing a common misreading. Slightly dense, but nothing is redundant.

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 no output schema, the description carries the return-value burden and does so by naming the reported fields (bill counts, pct_with_votes, text/sponsor ratios, in-session flag, computed_at). Combined with full parameter coverage and annotation-declared safety, an agent has everything needed to call and interpret this tool.

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 and the schema documents it fully (100% coverage, default and max of 60 spelled out). The description never references max_items, so it adds no meaning beyond the schema — the baseline 3 is appropriate.

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+resource ('Per-state depth snapshot (GET /v1/coverage)') and enumerates exactly what it reports: bill counts, share of bills with a vote/text/sponsor, and in-session status. This is clearly distinguishable from the many retrieval siblings (get_bill, search_bills, get_usage) because it describes metadata about data coverage, not the underlying records.

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?

Gives a concrete decision rule: 'Use it before drawing conclusions from a thin result set, to tell no such bills apart from this state is thinly covered.' That is explicit when-to-use guidance tied to a diagnostic scenario. It stops short of naming which sibling to call first (e.g. search_bills) or when not to bother, so it is strong but not complete.

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