Skip to main content
Glama

manage_plugin

Destructive

List, activate, deactivate, install from a WP.org slug, or delete WordPress plugins; install then activate to add a new plugin.

Instructions

Manage plugins. Actions: list, activate, deactivate, install (from a wordpress.org slug), delete. Use install then activate to add a new plugin from the WP.org directory.

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": {
      "action": "<action>"
    },
    "name": "manage_plugin"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYeslist
pluginNoPlugin file (e.g. woocommerce/woocommerce.php) or, for install, the WP.org slug (e.g. woocommerce).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.2

TDQS

A3.5/5.0
Behavior3/5

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

The destructiveHint annotation already flags risk, and the description usefully clarifies that install sources from the wordpress.org directory and that install must be followed by activate. It does not say what delete actually removes (files vs. data), whether deletion is reversible, or what permission level is needed, which is the kind of context the annotation alone cannot convey.

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?

Three short sentences, action list front-loaded, workflow hint last. The opening "Manage plugins" is near-redundant with the name, but everything after it carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 2-parameter, no-output-schema tool, the action semantics and the install→activate sequence are covered. Gaps remain around delete preconditions and return content for list, which matter for a destructive=true tool.

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

Parameters4/5

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

With only 50% schema coverage (the action param has an enum but no description), the description compensates by glossing each action and explaining that the plugin value is a file path normally but a WP.org slug for install, which the schema only partly conveys. The pairing of action to plugin-format is the key ambiguity an agent would otherwise hit.

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?

"Manage plugins" is a generic verb, but the enumerated actions (list, activate, deactivate, install, delete) pin down the resource and the exact operation set, so an agent knows this is the plugin lifecycle tool. It does not explicitly contrast with siblings like plugin_conflicts or plugin_security_check, so it stops short of a 5.

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 line "Use install then activate to add a new plugin" gives real workflow guidance for one scenario, which is more than implicit usage. However, there is no guidance on when not to use it (e.g. diagnosing an issue belongs to plugin_conflicts/plugin_security_check) and no stated prerequisite such as deactivating before deleting.

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