Skip to main content
Glama

generate_github_actions_workflow

Generates a GitHub Actions workflow at .github/workflows/deploy.yml that calls cPanel to redeploy a repository automatically on push.

Instructions

Generate a GitHub Actions workflow (.github/workflows/deploy.yml) that automatically calls cPanel to redeploy on push

Input Schema

NameRequiredDescriptionDefault
branchNoTarget branch to trigger deploymentsmain
build_stepsNoOptional build steps in GitHub Actions before deploying (e.g. ['npm ci', 'npm run build'])
repository_rootYescPanel repository path (e.g. '/home/user/repositories/my-site')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the key side effect (it creates a file at a specific path) and the trigger behavior, but it is silent on whether it overwrites an existing workflow, what credentials/secrets the generated workflow depends on, and whether it writes locally under repository_root or on the server.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence with zero waste: the artifact, its path, and its runtime behavior are all front-loaded before any detail.

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 file-generating tool with full schema coverage and no output schema, the definition covers what is produced, where, and why. The main residual gap is the return value/overwrite behavior, which is a minor omission rather than a blocking one.

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 all three parameters (repository_root, branch, build_steps) are already documented with examples. The description adds only implicit semantics ('on push' relates to branch) and does not explain how repository_root shapes the generated file, so baseline 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?

Specific verb+resource: 'Generate a GitHub Actions workflow' with the exact output path (.github/workflows/deploy.yml) and the resulting behavior (calls cPanel to redeploy on push). It is distinguishable from siblings like generate_cpanel_yml or create_github_webhook by artifact type, though it never names them explicitly.

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 'on push' trigger phrase implies the use case (setting up automatic CI/CD redeploy to cPanel), but there is no explicit when-to-use, no prerequisites, and no mention of alternatives such as generate_cpanel_yml or create_github_webhook that an agent might confuse it with.

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