Skip to main content
Glama

mcp_install_plugin

Install a WordPress.org plugin by slug on a site, with optional activation; if activation fails, the plugin remains installed and the error is reported.

Instructions

Install a plugin from WordPress.org by slug. If activation fails the plugin stays installed and activation_error says why.

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": {
      "site": "<site>",
      "slug": "<slug>"
    },
    "name": "mcp_install_plugin"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesSite id (see list_sites)
slugYesPlugin slug from WordPress.org
activateNoActivate after install (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.14.0
    • changedInput schema / properties / activate / description
      Previous value: -"Activate after install"New value: +"Activate after install (default false)"
  2. Changed2 schema fields changedv3.4.0
    • addedInput schema / properties / site
      Added value: +{
      +  "description": "Site id (see list_sites)",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "slug"
      -]New value: +[
      +  "site",
      +  "slug"
      +]
  3. First observedv2.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose one genuinely valuable trait: activation failure is non-atomic, the plugin remains installed, and activation_error explains the cause. It is silent on install-time failure behavior, permissions, idempotency when the plugin already exists, and what a successful call returns.

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?

Two tight sentences, front-loaded with the action and source, with the failure caveat second. Nothing is redundant, though the failure sentence could be marginally sharper about the returned field name.

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 three-parameter tool with no output schema and no annotations, the definition covers the install source and the partial-failure case but leaves the success outcome, permission requirements, and reinstall/overwrite behavior unexplained.

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%, so site, slug, and the activate default are already fully documented in the schema. The description only reinforces that the slug comes from WordPress.org and does not add semantics for the activate flag or the site identifier beyond what the schema says.

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 (install a plugin) plus the source and identifying key (from WordPress.org by slug), which implicitly separates it from the zip-based sibling mcp_install_plugin_zip. An agent can tell which installer to pick without opening either schema.

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?

Usage is only implied: install from the WordPress.org directory when you have a slug. There is no explicit when-to-use/when-not statement, no mention of the zip alternative, and no stated prerequisites such as required capabilities or whether an already-installed plugin is overwritten.

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