Skip to main content
Glama

mcp_install_plugin_zip

Install a WordPress plugin directly from a ZIP URL, including GitHub release assets, with options to activate it and overwrite an existing plugin folder.

Instructions

Install a plugin from a ZIP URL (GitHub releases, custom sources). The URL must end in .zip or be a github.com / api.github.com release asset URL (private repo assets supported with a token).

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>",
      "url": "<url>"
    },
    "name": "mcp_install_plugin_zip"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesURL to the plugin ZIP, or a github.com/api.github.com release asset URL
siteYesSite id (see list_sites)
tokenNoWrite-only GitHub token for a PRIVATE release asset. Sent only to github.com/api.github.com, never echoed. Omit to use the site's mcpe_github_token option / GITHUB_UPDATER_TOKEN constant.
activateNoActivate after install (default false)
overwriteNoDeactivate and replace the plugin folder if it already exists (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv3.14.0
    • changedInput schema / properties / activate / description
      Previous value: -"Activate after install"New value: +"Activate after install (default false)"
    • changedInput schema / properties / overwrite / description
      Previous value: -"Overwrite if plugin already exists"New value: +"Deactivate and replace the plugin folder if it already exists (default true)"
    • addedInput schema / properties / token
      Added value: +{
      +  "description": "Write-only GitHub token for a PRIVATE release asset. Sent only to github.com/api.github.com, never echoed. Omit to use the site's mcpe_github_token option / GITHUB_UPDATER_TOKEN constant.",
      +  "type": "string"
      +}
    • changedInput schema / properties / url / description
      Previous value: -"URL to plugin ZIP file"New value: +"URL to the plugin ZIP, or a github.com/api.github.com release asset URL"
  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: -[
      -  "url"
      -]New value: +[
      +  "site",
      +  "url"
      +]
  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?

No annotations are supplied, so the description carries the full burden; it does add useful behavior (URL validation rules and that private release assets are supported with a token). However it never discloses that this is a mutating install that can deactivate and replace an existing plugin folder by default, nor what happens on a failed install or what permissions the site requires. The token's write-only/never-echoed behavior lives in the schema, not the description.

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?

Two sentences with no waste: the core action comes first, and the URL acceptance rule follows immediately. Every clause (GitHub releases, custom sources, private repo token support) contributes information an agent needs before calling.

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 install tool with fully documented schema and no output schema, the definition covers the decisive constraint (acceptable URL forms) and auth path. The remaining gap is the destructive overwrite default, which is only visible in the schema rather than flagged as a risk for the agent.

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 the schema already documents all five parameters including token, activate, and overwrite. The description merely restates the URL constraint at a high level and adds no syntax, format, or defaulting detail beyond what the schema provides. Baseline 3 applies.

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 ("Install a plugin from a ZIP URL") plus the supported source types, which implicitly separates it from the slug-based mcp_install_plugin sibling. It does not name any alternative explicitly, so the distinction rests on the agent inferring from "ZIP URL".

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 gives a real selection constraint (URL form: .zip or a github.com/api.github.com release asset) and notes private repo support via token, which tells the agent when this tool is applicable. It never states when to prefer mcp_install_plugin or mcp_install_theme_zip instead, nor any prerequisite such as the plugin being absent or writable.

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