Skip to main content
Glama
cPanel MCP Server
by akashjamali

observe_cpanel_state

Inspects cPanel state in read-only mode or from a preset scenario, then computes a canonical AI state encoding and goal-based heuristic estimate for planning.

Instructions

Safely observe cPanel state in read-only mode (or build a preset scenario) and compute its canonical AI state encoding and heuristic estimate

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": {
      "domain": "<domain>"
    },
    "name": "observe_cpanel_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalNoTarget goal to evaluate heuristic againstprovision_laravel
domainYesTarget domain or subdomain (e.g. 'app.example.com')
scenarioNoPreset state scenario when observe_live is falseclean_account
observe_liveNoIf true, runs read-only cPanel UAPI/API2 queries to inspect live state; if false, uses preset scenario
project_rootNoOptional cPanel path (e.g. 'public_html' or 'laravel/app') to check for .env/code in live mode

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure, and it does assert read-only safety, which is the key trait. It stops short of saying what auth is required for live UAPI/API2 queries, whether live observation can be slow or rate-limited, or what the returned encoding looks like.

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 front-loaded sentence that opens with the operative verb and the safety property. The parenthetical is slightly awkward but carries real meaning about the alternate mode, and there is no filler.

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 five-parameter tool with no output schema, the description does name the two computed artifacts an agent would receive. The remaining gap is that it never explains what a 'canonical AI state encoding' contains, so an agent knows the shape only in the abstract.

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%, with every parameter including the two enums documented in the schema, so the baseline is 3. The description only echoes the preset-versus-live distinction and adds no syntax, defaults, or interaction detail beyond what the schema already supplies.

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 (observe cPanel state) plus the two outputs it produces (canonical AI state encoding, heuristic estimate) and the dual live/preset mode. It is distinguishable from sibling utilities, though it does not name any sibling it differs from.

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 read-only observation framing and the 'or build a preset scenario' clause imply when the tool applies, and the observe_live flag splits the two modes. However, it never states when to prefer this over sibling tools such as describe_cpanel_state_space or verify_cpanel_connection, nor any prerequisites.

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