Get the full detail for a single US legislative bill — status, sponsors (name/party/role), subjects, and links to the bill text. Use the bill_id returned by search_bills. Example: get_bill({ bill_id: 1234567 })
AI agents call get_bill to retrieve information from Legiscan without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
_apiKey | string | — | Optional — your own LegiScan API key for higher limits; omit to use the shared Pipeworx key. |
bill_id | number | Yes | LegiScan bill_id (obtained from search_bills results). |
Parameters from the server's own tool schema.
This tool queries and retrieves publicly available legislative data without creating, modifying, deleting, or executing operations. It has no side effects and presents minimal risk of misuse — the worst outcome would be information leakage of public bills, which is not sensitive. Classified as Read with low severity.
From the tool's definition Tool retrieves 'full detail for a single US legislative bill — status, sponsors, subjects, and links'. Returns existing data with no modification or deletion capability. The example shows a simple lookup operation: get_bill({ bill_id: 1234567 }).
Attacks that exploit this kind of access
Get the full detail for a single US legislative bill — status, sponsors (name/party/role), subjects, and links to the bill text. Use the bill_id returned by search_bills. Example: get_bill({ bill_id: 1234567 }). It is categorised as a Read tool in the Legiscan MCP Server, which means it retrieves data without modifying state.
get_bill accepts 2 parameters: _apiKey, bill_id. Required: bill_id. The full parameter table on this page comes from the server's own tool schema.
Register the Legiscan MCP server in PolicyLayer and add a rule for get_bill: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Legiscan. Nothing to install.
get_bill is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the get_bill rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for get_bill. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
get_bill is provided by the Legiscan MCP server (pipeworx-io/mcp-legiscan). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →