Skip to main content
Glama

Install Plugin

wp_install_plugin
Destructive

Install a plugin from wordpress.org by its slug (e.g. "contact-form-7", "woocommerce"). Optionally activate it after install.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesPlugin slug from wordpress.org (e.g. "contact-form-7", "woocommerce", "elementor")
site_idNoSite ID to target (optional if you have only one connected site)
activateNoActivate the plugin after installing (default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the agent knows this is an unsafe, non-repeatable, external-network write. The description confirms the external source is wordpress.org but adds nothing about failures, permissions, or what happens on re-install; a 3 is appropriate given the annotations carry the safety profile.

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 tight sentences with the core action and scope front-loaded and no filler; the optional activation is mentioned only because it changes the call's effect.

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 destructive, non-idempotent mutation with no output schema, the description covers the essentials (source, identifier, optional activation) but omits failure modes, permission/approval requirements, and whether an already-installed plugin is handled — gaps an agent would want before invoking a destructive tool.

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% and each parameter is documented in the schema, so the baseline is 3. The description's slug examples and activate note restate what the schema already says rather than adding format or constraint detail.

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 (install), resource (plugin), and source (wordpress.org by slug), with concrete slug examples. This cleanly separates it from siblings like wp_install_theme, wp_update_plugin, and wp_activate_plugin without the agent needing to open another 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?

"Optionally activate it after install" tells the agent the post-install step is bundled, implying they need not chain wp_activate_plugin. However, there is no explicit guidance on when to prefer this over wp_update_plugin, nor any prerequisites (connected site, credentials, approval flow) despite the surrounding swiftly_* approval tools.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources