Skip to main content
Glama

Webhooks

list_webhooks
Read-only

The workspace's webhooks: each endpoint's id, address, the events it receives and whether it is active, and every event CodeGene can send with what it means. Secrets are never shown again after they are made. Only owners and admins can see them. Adding one is add_webhook.

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
workspace_idNoWorkspace id from whoami; omit when there is one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already establish read-only, non-destructive, non-open-world behavior. The description adds meaningful context beyond that: the authorization restriction to owners/admins, the fact that secret values are not shown after creation, and the specific return content including event meanings.

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 front-loaded and mostly efficient: it states what is returned, then adds auth and secret caveats, then routes to add_webhook. The first sentence is somewhat dense but every clause carries useful 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?

For a simple read-only listing tool with one optional parameter and no output schema, the description provides enough return-value context plus auth and secret-handling constraints. It omits minor details such as ordering, but nothing critical for correct invocation.

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

Parameters3/5

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

There is only one optional workspace_id parameter, and the schema already documents it at 100% coverage. The description does not add any further parameter meaning, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies the resource as the workspace's webhooks and enumerates the returned fields (id, address, events, active status, event catalog). It also names add_webhook as the sibling for adding one, though the listing verb itself is implied rather than stated explicitly.

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?

It gives a clear usage context: only owners and admins can see webhooks, and adding one is handled by add_webhook. It does not explicitly say when to use this tool versus other inspection tools, but the guidance is strong for the main alternative.

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