Skip to main content
Glama

generate_cpanel_yml

Creates or updates a .cpanel.yml deployment specification, defining the target website directory and optional build commands for cPanel Git deployments.

Instructions

Generate or update a .cpanel.yml deployment specification in a repository or directory

Input Schema

NameRequiredDescriptionDefault
target_dirYesDirectory where .cpanel.yml should be written (repository root)
deploy_pathYesTarget website directory where files will be copied (e.g. '/home/user/public_html')
custom_commandsNoOptional build commands to run before copying (e.g. ['npm install', 'npm run build'])

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It says 'generate or update' but never discloses whether an existing .cpanel.yml is overwritten, what the generated content looks like, whether it requires an authenticated cPanel session or git repo, or whether the change is reversible.

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 front-loaded sentence with no filler. It is efficient, though its brevity is also the source of the missing behavioral detail.

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 file-writing mutation tool with no annotations and no output schema, so the description should explain overwrite behavior, resulting file contents, and preconditions. It supplies none of these, leaving an agent unable to predict the side effects 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 coverage is 100% and all three parameters have descriptive text with examples (target_dir, deploy_path, custom_commands). The description adds no meaning beyond the schema, so the 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?

The description states a specific verb pair (generate/update) and a precise resource (.cpanel.yml deployment specification) plus its location (repository or directory). No sibling tool writes this file, so it is easy to distinguish from deploy_git_repo or create_git_repo, though it never names those alternatives explicitly.

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?

There is no guidance on when to use this versus deploy_git_repo, update_git_repo, or deploy_laravel_update, nor any mention of prerequisites such as an existing cPanel git repository. The deployment context is only loosely implied by the file name.

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