Skip to main content
Glama

List, create, test or delete webhooks

manage_webhooks

Manage the key's webhook subscriptions (/v1/webhooks). action:'list' is read-only. 'create' REGISTERS a URL that Delilah will POST to on the chosen events — it changes the account, so it requires confirm:true and the user's explicit go-ahead. 'test' queues a sample delivery to an existing subscription. 'delete' removes one (confirm:true). Events: bill_introduced, status_change, vote_recorded, text_updated, passed, vetoed, signed, amendment_added. Optional filters: states (postal codes), subjects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
eventsNocreate: at least one event type.
statesNocreate: only fire for these jurisdictions.
confirmNoRequired true for create and delete.
subjectsNocreate: only fire for these subjects.
webhook_idNotest/delete: the subscription id from list.
webhook_urlNocreate: HTTPS URL to deliver to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and largely succeeds: it discloses that create mutates the account and requires confirmation, delete also requires confirm, and list is read-only. It also explains test queues a sample delivery. It does not mention error responses or rate limits, but the key behavioral traits (mutation vs read-only, confirmation requirements) are clearly covered.

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 a single dense paragraph, but every sentence contributes: it states the purpose, explains each action, lists events and filters. It is front-loaded with the resource and action enumeration. While it could be bulleted for readability, it is appropriately concise given the number of actions and parameters.

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?

For a 7-parameter tool with no output schema and no annotations, the description covers the essential usage: all actions, required parameters per action (via schema plus description), and optional filters. It does not describe the response format or error cases, but for a webhook management tool these are secondary. The description, combined with the schema's 86% parameter coverage, provides sufficient guidance for correct invocation.

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 86% and the description adds meaning beyond it: it clarifies that states are postal codes and subjects are optional filters, that webhook_id is used for test/delete, and that confirm is required for create/delete. It also lists the event enum values in the description, though they are in the schema. This adds context for action-specific parameter usage.

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 'Manage' and the resource 'webhook subscriptions', then enumerates the four actions (list, create, test, delete) with concise explanations for each. This distinguishes it from all sibling tools, which are exclusively read/list/search operations, making the purpose unambiguous.

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 per-action context (e.g., create requires confirm:true and user go-ahead, list is read-only), but does not explicitly contrast with alternatives. However, given the sibling list contains only read-only tools, the usage context is implicitly clear. It lacks an explicit 'use this when you need to modify webhooks' statement, but the action descriptions adequately guide selection.

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