Skip to main content
Glama
cPanel MCP Server
by akashjamali

reset_password

Reset passwords for cPanel accounts, email mailboxes, FTP users, MySQL users, or protected directory users, with options to generate a strong password or sync related credentials.

Instructions

Unified MCP password reset tool for cPanel account, Email mailbox, FTP user, MySQL user, or protected directory user

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": {
      "account_type": "<account_type>"
    },
    "name": "reset_password"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainNoDomain name (required for 'ftp' if target omits @domain)
targetNoAccount identifier: email address (user@domain), FTP username (or user@domain), MySQL username, or protected directory path; optional for 'cpanel'
account_typeYesType of account whose password should be reset
new_passwordNoNew password (at least 8 characters). Omit if generate_strong_password=true
old_passwordNoCurrent password (required only when account_type='cpanel')
directory_userNoProtected directory username (required when account_type='directory_user')
enable_digest_authNoUpdate Web Disk Digest Authentication when account_type='cpanel'
sync_mysql_passwordNoSync main MySQL password when account_type='cpanel'
generate_strong_passwordNoGenerate a random 20-character strong password automatically

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 supplied, so the description carries the full behavioral burden and does almost nothing with it. It never states permission requirements, whether existing sessions/credentials are invalidated, that the reset is irreversible, or that cPanel resets require the old password (that fact lives only in the schema).

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?

One short, front-loaded sentence with no filler, and the resource plus supported account types come first. It is a sentence fragment with no terminal punctuation, and a comma-separated list is the least scannable way to present five account types, but nothing is wasted.

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?

For a 9-parameter credential-mutating tool with no annotations and no output schema, the description is thin on the things structured fields cannot convey: side effects, reversibility, required privileges, and what a successful reset returns. The rich schema covers parameters, but the behavioral surface of a destructive password change is left entirely undisclosed.

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% across all 9 parameters, including enum values, defaults, and conditional requirements, so the schema already does the explanatory work. The description merely restates the account-type list and adds no format, precedence, or interaction detail (e.g., generate_strong_password vs new_password) beyond the schema.

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 gives a specific verb+resource ("password reset") and enumerates the exact account types it handles (cPanel, Email, FTP, MySQL, directory user), so the agent knows the scope precisely. It calls itself "unified" but never names the per-type siblings (reset_cpanel_password, change_email_password, etc.) that it presumably overlaps with, so differentiation is only implicit.

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?

"Unified" hints this is the general-purpose entry point and the account_type enum makes the use case inferable, but there is no explicit when-to-use or when-not-to-use guidance. It never says whether the agent should prefer the specialized sibling tools for individual account types, leaving the main selection decision to inference.

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