Skip to main content
Glama

Server Details

Search bills, legislators, committees, and events across all 50 US states, DC, and 5 US territories.

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL
Repository
cyanheads/openstates-mcp-server
GitHub Stars
1

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.
Tool DescriptionsA

Average 4.6/5 across 10 of 10 tools scored.

Server CoherenceA
Disambiguation5/5

Each tool targets a distinct resource or action (e.g., get vs search for bills, committees, events; list jurisdictions vs get jurisdiction; legislators by location vs search people). No two tools have overlapping purposes.

Naming Consistency5/5

All tools follow the consistent pattern 'openstates_<verb>_<noun>' with verbs get, list, or search. No mixing of styles or vague verbs.

Tool Count5/5

10 tools cover the main legislative data resources (bills, committees, events, people, jurisdictions) without being too few or too many. The scope is well-defined.

Completeness5/5

The server provides comprehensive read operations: get details for individuals, search across all entities, list jurisdictions, and location-based legislator lookup. Includes support for nested includes (votes, sponsorships, etc.). No obvious gaps for a read-only legislative data API.

Available Tools

10 tools
openstates_get_billGet BillA
Read-onlyIdempotent
Inspect

Fetch full detail for a specific state bill. Accepts either the three-part path (jurisdiction + session + bill_id) or a direct OCD bill ID (openstates_id from search results). Use include to request votes, actions, sponsorships, documents, and versions in one call rather than searching again. include=votes returns the full vote tally and per-legislator positions. include=actions returns the complete action history. Prefer openstates_id when available to avoid session identifier lookup.

ParametersJSON Schema
NameRequiredDescriptionDefault
bill_idNoBill identifier as used by the legislature (e.g., "HB 1000", "SB 42"). Required with jurisdiction + session.
includeNoRelated data to inline. "sponsorships", "actions", "votes" are most commonly needed. "versions" and "documents" provide links to bill text and fiscal notes.
sessionNoSession identifier. Required with jurisdiction + bill_id.
jurisdictionNoState name, abbreviation, or OCD-ID. Required when using path-based lookup with session + bill_id.
openstates_idNoOCD bill ID from openstates_search_bills results (e.g., "ocd-bill/..."). Preferred over the three-part path when available.

Output Schema

ParametersJSON Schema
NameRequiredDescription
idYesOCD bill ID.
titleYesBill title.
votesNoVote events when include=votes is requested.
actionsNoFull action history when include=actions is requested.
sessionYesLegislative session identifier.
sourcesNoSource documents when include=sources is requested.
subjectYesSubject tags.
versionsNoBill text versions when include=versions is requested.
abstractsNoBill abstracts when include=abstracts is requested.
documentsNoBill documents (fiscal notes, etc.) when include=documents is requested.
identifierYesBill identifier as used by the legislature.
jurisdictionYesOriginating jurisdiction.
other_titlesNoAlternate titles when include=other_titles is requested.
sponsorshipsNoSponsorships when include=sponsorships is requested.
related_billsNoRelated bills when include=related_bills is requested.
classificationYesBill classifications.
openstates_urlNoOpen States URL for this bill.
first_action_dateYesDate of first recorded action.
from_organizationYesOriginating chamber.
other_identifiersNoAlternate identifiers when include=other_identifiers is requested.
latest_action_dateYesDate of most recent action.
latest_passage_dateYesDate bill passed (when applicable).
latest_action_descriptionYesMost recent action description.
Behavior5/5

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

Annotations already indicate readOnlyHint, openWorldHint, and idempotentHint, so the tool is known to be safe and idempotent. The description adds valuable detail on the behavior of include parameters, e.g., 'include=votes returns the full vote tally and per-legislator positions', which goes beyond annotations. No contradiction.

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 concise, front-loaded with the main purpose, and every sentence provides necessary information. There is no redundancy or filler, and the structure flows logically from purpose to usage to parameter details.

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?

Given the presence of an output schema and comprehensive annotations, the description covers all needed contextual aspects: input methods, parameter usage, include options, and preference for openstates_id. No gaps remain for an agent to select and invoke the tool correctly.

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

Parameters5/5

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

Schema coverage is 100%, but the description adds meaning beyond schema: it explains the purpose of openstates_id vs path parameters, and details what each include value returns (e.g., 'versions' and 'documents' provide links). This adds significant value for selecting and invoking the tool.

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 clearly states the verb 'Fetch full detail' for a 'specific state bill', and distinguishes the tool from sibling search tools by focusing on bill detail retrieval. It explicitly mentions two input methods and the include parameter for related data.

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?

The description provides clear guidance on when to use openstates_id over the three-part path ('Prefer openstates_id when available to avoid session identifier lookup') and advises using include to avoid multiple searches. It lacks explicit when-not scenarios, but the context is clear for the intended use.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

openstates_get_committeeGet CommitteeA
Read-onlyIdempotent
Inspect

Fetch committee detail by OCD organization ID. Returns name, classification, and membership roster when include=memberships is requested. Experimental — not all states have committee data in Open States. Obtain the committee_id from openstates_search_committees.

ParametersJSON Schema
NameRequiredDescriptionDefault
includeNoRelated data to inline. "memberships" includes the full roster with member roles. "links" includes the committee homepage and reference links, and "sources" the provenance URLs behind the record.
committee_idYesOCD organization ID (from openstates_search_committees results).

Output Schema

ParametersJSON Schema
NameRequiredDescription
idYesOCD organization ID.
nameYesCommittee name.
linksNoCommittee homepage and reference links when include=links is requested.
sourcesNoProvenance sources when include=sources is requested.
parent_idYesOCD ID of parent committee, or null for top-level committees.
membershipsNoMembership roster when include=memberships is requested.
classificationYesCommittee classification: "committee" or "subcommittee".
Behavior4/5

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

Annotations already indicate read-only, open-world, and idempotent behavior. Description adds context about experimental status and incomplete state coverage, which is useful for setting expectations.

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?

Four well-structured sentences, each serving a distinct purpose: core action, optional parameters, experimental warning, prerequisite. No redundant 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?

Output schema exists, annotations cover safety/idempotency. Description adds prerequisites and limitations. Adequate for a simple read tool; no need for error details.

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% (baseline 3). Description adds meaning beyond schema by explaining committee_id source and detailing what each include option returns (roster, links, sources).

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?

Clearly states 'Fetch committee detail by OCD organization ID' and specifies return fields (name, classification, membership roster). Distinguishes from sibling 'openstates_search_committees' which returns search results.

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?

Provides clear instruction to obtain committee_id from openstates_search_committees. Also notes experimental nature and data availability limitations across states. Lacks explicit when-not-to-use but sufficient for tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

openstates_get_eventGet EventA
Read-onlyIdempotent
Inspect

Fetch full event detail by OCD event ID. Returns agenda, participants, media links, and associated documents when requested via include. Experimental — event coverage is limited in Open States. Obtain the event_id from openstates_search_events.

ParametersJSON Schema
NameRequiredDescriptionDefault
includeNoRelated data to inline. "agenda" and "participants" are most useful; "links", "media", and "documents" add related URLs, recordings, and files, and "sources" the provenance URLs behind the record.
event_idYesOCD event ID (from openstates_search_events results).

Output Schema

ParametersJSON Schema
NameRequiredDescription
idYesOCD event ID.
nameYesEvent name.
linksNoEvent links when include=links is requested.
mediaNoMedia links when include=media is requested.
agendaNoAgenda items when include=agenda is requested.
statusYesEvent status.
sourcesNoProvenance sources when include=sources is requested.
end_dateNoEvent end datetime. Absent when not recorded.
locationNoEvent location when available.
documentsNoDocument links when include=documents is requested.
start_dateYesEvent start datetime.
descriptionYesEvent description.
jurisdictionYesHosting jurisdiction.
participantsNoParticipants when include=participants is requested.
classificationYesEvent classification.
Behavior5/5

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

Adds critical behavioral context beyond annotations: experimental status, limited coverage, and details on what each include option returns. Annotations already mark readOnly, openWorld, and idempotent, so no contradiction.

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?

Two sentences with no filler: first states purpose and return types, second gives data source and experimental warning. Every word adds value.

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 full schema coverage, annotations, and output schema, the description still adds essential context (experimental, limited coverage, data source). No gaps remain for an agent to misuse the tool.

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 covers 100% of parameters with descriptions. The description enhances meaning by noting the source for event_id and clarifying which include values are most useful (agenda, participants).

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?

Description clearly states the action ('fetch full event detail'), resource ('event'), and identifier mechanism ('OCD event ID'). It distinguishes from sibling tools by referencing openstates_search_events as the source for the event_id.

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?

Provides explicit requirement to obtain event_id from openstates_search_events and mentions experimental nature with limited coverage, helping the agent set expectations. Lacks explicit when-not-to-use but is still useful.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

openstates_get_jurisdictionGet JurisdictionA
Read-onlyIdempotent
Inspect

Fetch full metadata for a specific jurisdiction including all legislative sessions, their identifiers, and coverage dates. Use when you need to know the exact session identifier for a state before filtering bill searches — session formats vary widely (e.g., "2025", "2025rs", "2025s1"). Jurisdiction IDs follow OCD format: ocd-jurisdiction/country:us/state:{abbr}/government (e.g., ocd-jurisdiction/country:us/state:wa/government). State names (e.g., "Washington") and two-letter abbreviations (e.g., "wa") are also accepted.

ParametersJSON Schema
NameRequiredDescriptionDefault
includeNoRelated data to inline. "legislative_sessions" returns all historical and current sessions with identifiers and date ranges. "organizations" lists the jurisdiction's legislative chambers and executive bodies. "latest_runs" shows last scraper run metadata.
jurisdiction_idYesOCD jurisdiction ID, state name (e.g., "Washington"), or two-letter abbreviation (e.g., "wa").

Output Schema

ParametersJSON Schema
NameRequiredDescription
idYesOCD jurisdiction ID.
urlYesOfficial legislature URL.
nameYesJurisdiction name.
latest_runsNoRecent scraper runs when include=latest_runs is requested.
organizationsNoLegislative chambers and executive bodies when include=organizations is requested.
classificationYesJurisdiction type.
latest_bill_updateYesISO 8601 timestamp of most recent bill data update.
latest_people_updateYesISO 8601 timestamp of most recent people data update.
legislative_sessionsNoAll legislative sessions when include=legislative_sessions is requested.
Behavior4/5

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

Annotations already confirm readOnlyHint, openWorldHint, idempotentHint. The description adds value by explaining supported input formats (OCD ID, state name, abbreviation) and the include parameter behavior, which is not in annotations.

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 purpose, no redundancy. Every sentence adds essential information, making it efficient and easy to parse.

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 tool with 2 parameters and an output schema, the description is complete. It covers what metadata is returned, input flexibility, and usage context without needing to explain return values.

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% with descriptions for both parameters. The description goes beyond by explaining jurisdiction_id accepts multiple formats and detailing include options, adding practical context.

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 clearly states the tool fetches full metadata for a specific jurisdiction, including legislative sessions, identifiers, and coverage dates. It distinguishes from sibling tools like openstates_list_jurisdictions by focusing on a single jurisdiction and providing specific use cases.

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?

The description explicitly tells when to use this tool: when needing exact session identifiers before filtering bill searches, noting format variability. It implies not to use for listing jurisdictions (sibling), but lacks explicit exclusions or alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

openstates_get_legislators_by_locationGet Legislators by LocationA
Read-onlyIdempotent
Inspect

Find all state legislators representing a geographic coordinate. Pass latitude and longitude to get state senators and representatives (and potentially governor/executive officials) for that location. Useful for constituent-to-representative matching, address-based policy research, and electoral boundary analysis. This server does not geocode addresses — the caller must provide decimal-degree coordinates. Use include=offices to get contact information alongside the legislator list.

ParametersJSON Schema
NameRequiredDescriptionDefault
includeNoRelated data to inline. "offices" includes phone, fax, and address. "links" includes website and social links. "other_names" includes alternate/former names, "other_identifiers" cross-system IDs, and "sources" the provenance URLs behind the record.
latitudeYesLatitude in decimal degrees (e.g., 47.6062 for Seattle, WA).
longitudeYesLongitude in decimal degrees (e.g., -122.3321 for Seattle, WA).

Output Schema

ParametersJSON Schema
NameRequiredDescription
countYesNumber of legislators returned for this coordinate.
noticeNoPresent when no legislators were found — explains why (e.g., location outside US boundaries or unsupported territory).
legislatorsYesLegislators representing the given coordinate.
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint. The description adds context by stating the tool does not geocode and explaining the effect of the include parameter, which adds value beyond annotations.

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?

Four concise sentences, each serving a purpose: purpose, use cases, limitation, and tip. No redundancy, well front-loaded.

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?

Given the tool has an output schema, the description adequately covers input requirements and return types. It lacks mention of pagination or errors, but for a read-only, idempotent tool with good annotations, it is sufficiently 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%, so baseline is 3. The description adds extra meaning by explaining the include parameter's effect ('get contact information') and highlighting required coordinates format, which enhances the schema's descriptions.

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 clearly states the action ('Find all state legislators representing a geographic coordinate'), specifies the resource ('legislators by location'), and lists the types of officials returned. This distinguishes it from sibling tools like search_people or get_bill.

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?

Provides explicit use cases (constituent matching, policy research, boundary analysis) and a key limitation (no geocoding, caller provides coordinates). It does not explicitly state when to avoid using this tool, but sibling names imply alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

openstates_list_jurisdictionsList JurisdictionsA
Read-onlyIdempotent
Inspect

List all jurisdictions covered by Open States — all 50 states, DC, and 5 US territories (American Samoa, Guam, Northern Mariana Islands, Puerto Rico, and the US Virgin Islands): 56 in total, returned complete in a single default call. Returns coverage metadata: latest bill update time, latest people update time, and optionally all legislative sessions with their identifiers. Use this when you need to discover valid session identifiers for a state before calling openstates_search_bills with a session filter. The legislative_sessions include option returns all historical and current sessions — always check valid session identifiers here before using them in bill searches, since formats vary widely by state (e.g., "2025", "2025-2026", "2025rs", "2025s1").

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (1-indexed).
includeNoRelated data to inline. "legislative_sessions" returns all session identifiers and date ranges — required when you need to discover valid session values for bill searches. "organizations" lists the jurisdiction's legislative chambers and executive bodies, and "latest_runs" the recent scraper run history.
per_pageNoResults per page (upstream maximum 52). The default call returns the complete state inventory (56) in one response by fetching and merging the pages server-side; set a smaller value only to page manually.
classificationNoFilter by jurisdiction type. Use "state" (default) for all 50 states, DC, and the 5 US territories.state

Output Schema

ParametersJSON Schema
NameRequiredDescription
pageYesCurrent page returned.
maxPageYesTotal pages available.
resultsYesJurisdictions matching the filter.
paginationYesPagination metadata.
totalCountYesTotal jurisdictions matching the filter across all pages.
Behavior4/5

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

Annotations declare readOnlyHint, openWorldHint, idempotentHint. Description adds that results come in a single default call via server-side merge, and explains behavior of the include parameter (returns sessions, organizations, runs). No contradictions, but could note rate limits or data freshness boundaries.

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?

Single focused paragraph, front-loaded with core purpose, then usage guidance and parameter details. Every sentence adds value, no repetition or fluff.

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?

Given output schema present, 100% schema coverage, and annotations, the description is fully complete: covers all behaviors, use cases, and parameter nuances for this list tool.

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

Parameters5/5

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

Schema coverage is 100%, and description adds significant semantic value: explains per_page default merging logic, include options with use cases, classification filter purpose, and page numbering. Consistently better than schema descriptions alone.

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 clearly states the tool lists all jurisdictions covered by Open States, enumerates them explicitly (50 states, DC, 5 territories), and distinguishes from siblings like openstates_get_jurisdiction by emphasizing bulk listing and session discovery.

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

Usage Guidelines5/5

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

Explicitly provides when-to-use guidance: 'Use this when you need to discover valid session identifiers for a state before calling openstates_search_bills with a session filter.' Also explains the include option for legislative sessions, giving actionable context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

openstates_search_billsSearch BillsA
Read-onlyIdempotent
Inspect

Search state legislative bills across all covered US jurisdictions. Supports full-text search, jurisdiction/session filtering, subject tags, sponsor lookups, and sort order. Either jurisdiction or q (full-text) is required — combining both narrows results. include=sponsorships,actions returns sponsor and action history inline. sort=latest_action_desc surfaces bills currently moving. openstates_get_jurisdiction with include=legislative_sessions returns valid session identifiers for session filtering.

ParametersJSON Schema
NameRequiredDescriptionDefault
qNoFull-text search across bill titles, abstracts, and text. Required unless jurisdiction is provided. Combining with jurisdiction is recommended for precision.
pageNoPage number (1-indexed).
sortNoSort order. Use "latest_action_desc" for bills currently moving through the legislature.updated_desc
chamberNoFilter by originating chamber. "upper" = Senate, "lower" = House/Assembly.
includeNoRelated data to inline. "sponsorships" and "actions" cover most research needs without a separate openstates_get_bill call. "votes" adds full vote tallies and per-legislator positions.
sessionNoSession identifier (e.g., "2025", "2025-2026", "2025rs"). Use openstates_get_jurisdiction with include=legislative_sessions to discover valid values. Omit to search across all sessions.
sponsorNoFilter by sponsor name or OCD person ID.
subjectNoFilter to bills tagged with one or more subject categories.
per_pageNoResults per page. Maximum 20. Default 10.
action_sinceNoISO 8601 date — only return bills with an action after this date (e.g., "2025-01-01").
jurisdictionNoState name, two-letter abbreviation, or OCD-ID (e.g., "Washington", "wa", or "ocd-jurisdiction/country:us/state:wa/government"). Required unless q is provided.
created_sinceNoISO 8601 date — only return bills first entered in Open States after this date (e.g., "2025-01-01"). Use to find newly-introduced bills, as opposed to recently-updated or recently-acted-on.
updated_sinceNoISO 8601 date — only return bills updated after this date (e.g., "2025-01-01").
classificationNoBill classification: "bill", "resolution", "constitutional amendment", etc.
sponsor_classificationNoFilter sponsor type: "primary", "cosponsor".

Output Schema

ParametersJSON Schema
NameRequiredDescription
pageYesCurrent page returned.
noticeNoRecovery hint when results are empty — echoes the filters applied and suggests how to broaden. Absent when results are returned.
maxPageYesTotal pages available.
resultsYesBills matching the search criteria.
paginationYesPagination metadata.
totalCountYesTotal bills matching the query across all pages.
appliedFiltersYesFilters applied to this query as the server received them, for agent self-verification of zero or unexpected results.
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint. The description adds context that it is a search tool, that results can be paginated, and that inline data can be requested. It does not contradict any annotations. It does not detail the output format, but an output schema is present (not shown). Overall, the description adds useful behavioral context beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single paragraph that combines multiple pieces of information. While it is relatively concise (about 100 words), it lacks visual structure (e.g., bullet points). Every sentence adds value, but the density could be improved for quick scanning. It is adequate but not exemplary.

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?

Given the complexity (15 parameters, many filtering options), the description covers the main use cases: required parameters, common includes, sort order for active bills, and discovery of session identifiers. It does not cover every edge case but is sufficient for an agent to use the tool effectively. An output schema exists, so return value details are not required.

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 description coverage is 100%, so the baseline is 3. The description adds value by explaining the interplay between parameters (e.g., 'Either jurisdiction or q is required — combining both narrows results') and giving usage tips for include and sort. It does not repeat schema info but enhances understanding, thus scoring above the baseline.

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 clearly states it searches state legislative bills across all covered US jurisdictions. It lists supported features (full-text, jurisdiction/session filtering, subject tags, sponsor lookups, sort order) and distinguishes itself from siblings like openstates_get_bill and openstates_search_committees. The verb 'search' combined with the resource 'bills' and scope 'all covered US jurisdictions' provides a specific purpose.

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?

The description provides clear usage guidance: either jurisdiction or q is required, combining both narrows results. It recommends using include=sponsorships,actions to avoid extra calls, and sort=latest_action_desc to find moving bills. It points to openstates_get_jurisdiction for session identifiers. However, it does not explicitly state when not to use this tool (e.g., for a single bill, use openstates_get_bill), though that is implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

openstates_search_committeesSearch CommitteesA
Read-onlyIdempotent
Inspect

List committees for a jurisdiction. Experimental — Open States is actively working to restore committee support and not all states have data. Use chamber to scope to upper (senate) or lower (house) committees. Use classification=subcommittee to find subcommittees of a parent. Use include=memberships to get the full roster with member roles. The coverageNote field in the output will always note the experimental coverage limitations.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (1-indexed).
parentNoOCD organization ID of a parent committee to retrieve its subcommittees.
chamberNoFilter by chamber. "upper" = Senate, "lower" = House/Assembly.
includeNoRelated data to inline. "memberships" includes the full roster with member roles. "links" includes the committee homepage and reference links, and "sources" the provenance URLs behind the record.
per_pageNoResults per page. Maximum 20.
jurisdictionNoState name, abbreviation, or OCD-ID. Omitting returns no committees rather than searching all states — supply a jurisdiction to get results.
classificationNoFilter to parent committees or subcommittees only. Omit for all.

Output Schema

ParametersJSON Schema
NameRequiredDescription
pageYesCurrent page returned.
maxPageYesTotal pages available.
resultsYesCommittees matching the search criteria.
paginationYesPagination metadata.
totalCountYesTotal committees matching the query across all pages.
coverageNoteYesCommittee data is experimental — not all states have coverage in Open States. Empty results may indicate the state lacks data, not that no committees exist.
appliedFiltersYesFilters applied to this query as the server received them, for agent self-verification of zero or unexpected results.
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint. The description adds valuable behavioral context: the tool is experimental, state data coverage varies, and the coverageNote field will indicate limitations. This goes beyond annotations without contradicting them.

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 concise: three sentences plus a note. The main purpose is front-loaded. Each sentence is informative and none are redundant. No filler.

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 7 parameters all fully described in the schema and an output schema existent, the description completes the picture by explaining parameter combinations and the experimental coverage. It covers the key behavioral notes needed for correct usage.

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 description coverage is 100%, so baseline is 3. The description adds meaning by explaining use cases (e.g., 'Use chamber to scope to upper/senate or lower/house committees', 'Use classification=subcommittee to find subcommittees'). It clarifies that omitting jurisdiction returns no committees, which is crucial semantics beyond the schema.

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 clearly states 'List committees for a jurisdiction', which is a specific verb and resource. It distinguishes from sibling tools (e.g., search_bills, get_committee) by focusing on listing committees. The experimental note adds context without muddying the purpose.

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?

The description provides explicit guidance on when to use parameters like chamber, classification, and include. It advises supplying a jurisdiction to get results, which is a key constraint. However, it does not explicitly mention when not to use this tool vs alternatives, but given sibling tools cover different resources, this is acceptable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

openstates_search_eventsSearch EventsA
Read-onlyIdempotent
Inspect

Search hearings, floor sessions, and committee meetings. Experimental — most states do not publish event data to Open States. Use after and before to scope to a date range. Set require_bills=true to filter to events with bills on the agenda, which is the most useful filter for tracking legislation through committee. Use include=agenda,participants for full meeting context. Empty results often indicate the state lacks event data rather than no events occurring.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (1-indexed).
afterNoISO 8601 datetime — events starting after this time. Use to find upcoming hearings.
beforeNoISO 8601 datetime — events starting before this time.
includeNoRelated data to inline. "agenda" includes the meeting agenda with bill references. "participants" includes the committee or chamber hosting the event. "links" and "media" add related URLs and recordings, "documents" the attached files, and "sources" the provenance URLs behind the record.
per_pageNoResults per page. Maximum 20.
jurisdictionNoState name, abbreviation, or OCD-ID. Required — the Open States events endpoint has no all-states search and rejects requests that omit it.
require_billsNoWhen true, only return events with at least one bill on the agenda. Most useful for tracking legislation through committee.

Output Schema

ParametersJSON Schema
NameRequiredDescription
pageYesCurrent page returned.
noticeNoRecovery hint when results are empty. Absent when results are returned.
maxPageYesTotal pages available.
resultsYesEvents matching the search criteria.
paginationYesPagination metadata.
totalCountYesTotal events matching the query across all pages.
coverageNoteYesEvent data is experimental — most states do not publish event data to Open States. Empty results may indicate the state lacks data, not that no events occurred.
appliedFiltersYesFilters applied to this query as the server received them, for agent self-verification of zero or unexpected results.
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint. The description adds valuable context: experimental state, most states lack event data, and the meaning of empty results. It also explains the behavioral effects of `require_bills` and `include` parameters.

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?

Every sentence adds value, with no fluff. The description is front-loaded with the core purpose and then provides targeted guidance. It is appropriately sized for the tool's complexity.

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?

Given 7 parameters, 100% schema coverage, output schema exists, and annotations are present, the description covers all key aspects: experimental limitations, date scoping, useful filters, required jurisdiction, and the meaning of empty results. It is fully complete for the tool's context.

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

Parameters5/5

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

Schema coverage is 100%, but the description adds significant meaning: it explains the purpose of `after`/`before` for date scoping, the utility of `require_bills` for tracking legislation, the implications of each `include` value, and the essential nature of `jurisdiction` despite not being in the required array.

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 clearly states it searches 'hearings, floor sessions, and committee meetings', using the verb 'Search' with a specific resource. It distinguishes from siblings like `openstates_get_event` (which gets a single event) and `openstates_search_bills` (bills).

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?

The description provides explicit guidance: use `after` and `before` for date ranges, `require_bills=true` for tracking legislation, and `include=agenda,participants` for full context. It also warns about experimental nature and empty results meaning lack of data. It lacks explicit when-not-to-use versus alternatives but is still strong.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

openstates_search_peopleSearch PeopleA
Read-onlyIdempotent
Inspect

Search state legislators and officials by name, jurisdiction, chamber, district, or party. Supports name substring matching (case-insensitive). org_classification targets a role type: "upper" for Senate, "lower" for House/Assembly, "executive" for governors and executive officials, and "legislature" for every legislator — both chambers merged into one paginated set (all upper members, then all lower), which excludes executive-branch officials. Omitting org_classification is not the same as "legislature": it returns every officeholder, executive officials included. include=offices adds phone, fax, and address. include=links adds website and social links. Omitting jurisdiction searches across all states and may return a large result set.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameNoName or partial name to match (case-insensitive substring).
pageNoPage number (1-indexed).
includeNoRelated data to inline. "offices" includes phone, fax, and address. "links" includes website and social links. "other_names" includes alternate/former names, "other_identifiers" cross-system IDs, and "sources" the provenance URLs behind the record.
districtNoDistrict label (e.g., "1", "37", "At-Large"). Formats vary by state.
per_pageNoResults per page. Maximum 20.
jurisdictionNoState name, abbreviation, or OCD-ID. Omitting searches across all states.
org_classificationNoFilter by role type. "upper" = Senate, "lower" = House/Assembly, "executive" = governors and executive officials, "legislature" = every legislator (both chambers merged into one paginated set, all upper members then all lower, excluding executive officials). Omitting this filter returns every officeholder including executive ones — it is not equivalent to "legislature".

Output Schema

ParametersJSON Schema
NameRequiredDescription
pageYesCurrent page returned.
noticeNoRecovery hint when results are empty. Absent when results are returned.
maxPageYesTotal pages available.
resultsYesLegislators matching the search criteria.
paginationYesPagination metadata.
totalCountYesTotal legislators matching the query across all pages.
appliedFiltersYesFilters applied to this query as the server received them, for agent self-verification of zero or unexpected results.
Behavior5/5

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

Annotations already indicate safe read-only behavior. The description adds valuable details: substring matching, case-insensitivity, precise behavior of org_classification values, and include options, all without contradicting annotations.

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?

The description is slightly long but front-loaded with purpose. Every sentence adds necessary detail; no redundancy.

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 7 parameters and high complexity, the description covers all behavioral aspects. Output schema exists, so return values are not needed. Complete enough for correct agent invocation.

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

Parameters5/5

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

Schema coverage is 100% but description adds meaning beyond the schema: explains that omitting org_classification is not equivalent to 'legislature', warns about jurisdiction omission, and clarifies include sub-options.

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 clearly states it searches state legislators and officials by name, jurisdiction, chamber, district, or party. This distinguishes it from sibling tools like search_bills or search_committees.

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?

Provides guidance on using filters like org_classification and include, and warns about large results when omitting jurisdiction. However, it does not explicitly state when to avoid using this tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.