Skip to main content
Glama

Get Webhook Guide

get_webhook_guide
Read-only

Read this before writing webhook rules. Explains how GitHub or GitLab events become Push Notifications, Live Activities, and Lock Screen Widget values: the setup steps, the rule format, CEL filters and templates, the useful events and fields, and ready rules for common use cases (CI failures, CI runs as Live Activities, reviews, merges, releases, new stars, bug reports, deployments).

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

Input Schema

NameRequiredDescriptionDefault
providerNoThe service sending the webhooks: github or gitlab.github

Output Schema

NameRequiredDescriptionDefault
guideYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / provider / description
      Previous value: -"The service sending the webhooks. Only github for now."New value: +"The service sending the webhooks: github or gitlab."
    • changedInput schema / properties / provider / enum
      Previous value: -[
      -  "github"
      -]New value: +[
      +  "github",
      +  "gitlab"
      +]
  2. Added

TDQS

A4.4/5.0
Behavior4/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 useful workflow context beyond that: this is authoritative reference material that should precede rule authoring, and it spans multiple providers. It does not discuss response format, but an output schema exists so that burden is lifted.

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 imperative opener is front-loaded and the second sentence is content-rich rather than filler. However, the long parenthetical list of use cases (eight items) is somewhat over-stuffed and could be trimmed without losing routing value.

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 read-only one-parameter documentation tool with an output schema and full annotation coverage, nothing an agent needs to decide to call it is missing. The description covers provider scope, content breadth, and the intended workflow position.

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 100% and the single provider parameter has an enum with its own description, so the baseline is 3. The description earns a bump by pairing 'GitHub or GitLab events' with the guide's content, implying the returned material differs meaningfully by provider, which reinforces why the parameter matters.

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 states a specific verb and resource — a documentation resource to be read before writing webhook rules — and enumerates exactly what it covers (setup steps, rule format, CEL filters/templates, events/fields, ready-made rules). An agent can distinguish this knowledge-base tool from action siblings like create_webhook or preview_webhook_rules without inspecting any schema.

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?

'Read this before writing webhook rules' gives an explicit when-to-use trigger tied to a concrete task. It does not name an alternative tool or state when-not to read it (e.g., when only listing or deleting webhooks), so it falls short of full when/when-not/alternatives guidance.

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