Skip to main content
Glama
mcp-server-github

mcp-server-github

by DebuggingMax

setup_webhook

Configure GitHub repository webhooks to receive real-time event notifications for automated responses to repository activity. Requires a Pro plan.

Instructions

🔒 PRO FEATURE: Set up webhooks for real-time events. Upgrade to Pro for this feature.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "owner": "<owner>",
      "repo": "<repo>",
      "events": "<events>"
    },
    "name": "setup_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesRepository name
ownerYesRepository owner
eventsYesEvents to listen for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose one real behavioral fact — the feature is gated behind a Pro subscription — but says nothing about required permissions, whether a signing secret is generated, whether existing webhooks are replaced, or what the response contains.

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 short sentences, front-loaded with the gating status and then the action; nothing is padded. The brevity borders on under-specification, but not through wasted wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a mutating setup tool with no annotations and no output schema; the description should at least say what gets created and returned, or what permissions are needed. With only a paywall notice and full schema coverage of parameters, an agent still cannot predict the side effects or the failure modes of calling it.

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?

Schema description coverage is 100%, with owner, repo, and events each documented in the schema itself, so the baseline is 3. The description adds no meaning beyond the schema — notably, the expected event vocabulary for the events array is left entirely unaddressed.

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?

States a specific verb and resource: "Set up webhooks for real-time events," which tells an agent exactly what the tool does. It does not distinguish itself from any sibling, but no sibling in the list is a webhook tool, so the operation is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only usage guidance is a subscription gate ("Upgrade to Pro for this feature"); there is no statement of when an agent should prefer this over other tools, what preconditions must hold, or what to do if the account is not Pro. An agent learns it may be blocked, but not when calling it is appropriate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.