Skip to main content
Glama

List Webhooks

list_webhooks
Read-only

List the account's inbound webhooks (GitHub, GitLab, Railway, Vercel, and others), with each one's hook URL, rules (for webhooks set up by an agent), the last delivery, deliveries in the last 7 days, and the repositories seen. Call it before create_webhook: one webhook per provider can serve every repository, so add rules to an existing one instead of creating another.

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": "list_webhooks"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
webhooksYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real context beyond that: a 7-day delivery window and the caveat that rules only exist for agent-created webhooks. It stops short of describing ordering, volume, or whether the call is paginated, which is a modest gap for an account-wide listing.

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?

Two sentences, front-loaded with the purpose and then the decision rule, with no filler. The enumerated return fields in sentence one partly duplicate what the output schema already exposes, which is the only thing keeping it below a 5.

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 zero-parameter, read-only listing tool with an output schema, the description covers everything an agent needs: what it returns, the scope, the time window, and the decision it enables before create_webhook. Return-value detail is properly left to the output schema.

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?

The tool takes no parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies. The description correctly implies the scope is the whole account with no filtering arguments.

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 and resource ('List the account's inbound webhooks') and enumerates the providers covered (GitHub, GitLab, Railway, Vercel), then names the concrete payload fields returned (hook URL, rules, last delivery, 7-day deliveries, repositories seen). That is enough to distinguish it from create_webhook and from list_webhook_deliveries without opening either schema.

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?

Gives an explicit precondition: 'Call it before create_webhook', then explains the reason — one webhook per provider serves every repository, so rules should be added to an existing webhook rather than a new one created. That is a concrete when-to-use rule plus the alternative it routes away from.

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