Skip to main content
Glama
cPanel/WHM MCP Server

cPanel/WHM MCP Server

by nathjc2

List MySQL users

whm_list_database_users
Read-onlyIdempotent

List MySQL users for a cPanel account and show which databases each user can access, with pagination for large results.

Instructions

List an account's MySQL users and the databases each one can access.

Input Schema

NameRequiredDescriptionDefault
userYescPanel account username, in lowercase. Use whm_list_domains to find the account that owns a domain.
limitNoMaximum items to return.
offsetNoItems to skip. Use next_offset from the previous response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds that results include per-user database access mappings, which is useful context, but says nothing about pagination behavior, empty results, or account-level failures.

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 compact sentence that front-loads the resource and includes the notable detail about database access in the same breath. Nothing is wasted, though there is no structural elaboration beyond that single sentence.

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 read-only listing tool with full schema coverage and a clear annotation set, the description covers what is being returned and for which account. Pagination is handled entirely by schema-documented limit/offset, so nothing critical is missing.

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%, with the 'user' parameter even documenting the lowercase format and pointing at whm_list_domains for domain-to-account lookup. The description adds no parameter-level meaning beyond the schema, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb ('List') and resource ('an account's MySQL users'), plus the added scope of returning which databases each user can access. This distinguishes it clearly from sibling whm_list_databases, which lists databases rather than users.

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 description implies usage by scoping to a single account's MySQL users, but it never explicitly states when to use this tool versus whm_list_databases or other listing tools. No prerequisites or exclusions are given.

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