get_bill

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 })

Server Legiscan pipeworx-io/mcp-legiscan
Category Read
Risk class Low
Parameters 21 required

What get_bill does on Legiscan

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.

ParameterTypeRequiredDescription
_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.

Why get_bill needs a policy

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 }).

Questions about get_bill

What does the get_bill tool do? +

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.

What parameters does get_bill accept? +

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.

How do I enforce a policy on get_bill? +

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.

What risk level is get_bill? +

get_bill is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit get_bill? +

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.

How do I block get_bill completely? +

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.

What MCP server provides get_bill? +

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.

// LOOK UP ANOTHER 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 →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.