Skip to main content
Glama
cPanel MCP Server
by akashjamali

create_github_webhook

Creates a GitHub push webhook that triggers automatic cPanel redeployment when repository changes, linking GitHub updates to deployment endpoints.

Instructions

Create a push webhook on a GitHub repository to trigger automatic redeployment on cPanel

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>",
      "webhook_url": "<webhook_url>"
    },
    "name": "create_github_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesGitHub repository name (e.g. 'my-app')
ownerYesGitHub owner/organization (e.g. 'my-org')
secretNoOptional webhook secret
webhook_urlYescPanel deployment webhook URL or custom endpoint
github_tokenNoGitHub PAT (if not already configured)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses almost nothing: not whether duplicate webhooks are created on repeat calls, what permissions the token needs, whether the call fails when github_token is omitted and no stored token exists, or how errors surface. For a mutating external-integration call this is a significant gap.

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?

A single well-formed sentence that front-loads the action and resource with no filler. It is efficient, though the brevity borders on under-specification rather than disciplined concision.

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 5-parameter mutation tool with no annotations and no output schema, so the description is the only place to convey permission requirements, idempotency/duplicate behavior, and failure modes — none of which appear. What is present is accurate but far short of complete for the complexity.

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%, so the schema already explains every parameter including that secret is optional and github_token is only needed if not preconfigured. The description adds no additional meaning beyond the schema, making the baseline 3 appropriate.

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 ('Create a push webhook on a GitHub repository') plus the downstream effect ('trigger automatic redeployment on cPanel'), which clearly separates it from siblings like redeploy_from_github or configure_github_token. It stops short of explicitly naming when a sibling would be the better choice.

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

Usage Guidelines3/5

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

The stated purpose implies the usage context (wiring a repo to cPanel deploys), but there is no explicit when-to-use/when-not guidance, no prerequisites such as repo admin rights, and no pointer to alternatives like generate_github_actions_workflow or connect_github_repo.

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

Deploy Server

Other Tools