Skip to main content
Glama
ecp-mcp-server

ecp-mcp-server

by EpicLabs23

ecp_managed_wordpress_reset_admin_password

Reset a WordPress admin user's wp-admin password, generating a random one when new_password is omitted. Use it to regain admin access without changing the hosting account.

Instructions

Reset a WordPress admin user's password (the wp-admin login, not the hosting account's). Omit new_password to have a random one generated - the new password is returned in the result. To just get into wp-admin once, ecp_managed_wordpress_sso_login is usually the better choice.

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": {
      "app_id": "<app_id>",
      "admin_user": "<admin_user>",
      "confirm": "<confirm>"
    },
    "name": "ecp_managed_wordpress_reset_admin_password"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYes
confirmYes
admin_userYes
new_passwordNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A4.3/5.0
Behavior4/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, and it does disclose key behavior: password generation on omission and that the new password is returned in the result. It stops short of stating permission/auth requirements, whether existing sessions or the old password are invalidated, or that the change is irreversible.

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?

Three short sentences, each earning its place: scope statement first, fallback behavior second, alternative routing third. No preamble or redundant restatement of the tool name.

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?

There is no output schema, and the description compensates by stating the new password comes back in the result. For a mutation tool with zero annotation coverage, it is mostly complete, though it omits permission prerequisites, session invalidation effects, and confirmation semantics that an agent calling a password-reset tool would benefit from.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across four parameters, and the description only explains new_password (optional, random if omitted). admin_user, app_id, and confirm receive no elaboration — notably admin_user's expected format (username vs. email vs. ID) is ambiguous, and confirm's role as a destructive-action guard is left solely to the schema's const:true.

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?

States a specific verb and resource (reset a WordPress admin user's password) and immediately disambiguates scope with the parenthetical '(the wp-admin login, not the hosting account's)', which prevents confusion with hosting-account credential tools like ecp_mongo_update_user_password. An agent can identify this tool's job from the first sentence alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit conditional behavior ('Omit new_password to have a random one generated') and names a concrete alternative with the exact condition that selects it ('To just get into wp-admin once, ecp_managed_wordpress_sso_login is usually the better choice'). This is the when/when-not/alternative pattern done fully.

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