Skip to main content
Glama

Install Theme

wp_install_theme
Destructive

Install a theme from wordpress.org by its slug. The slug is the URL-friendly name from the theme's wordpress.org page.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesTheme slug from wordpress.org (e.g. flavor, flavor-developer)
site_idNoSite ID to target (optional if you have only one connected site)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / slug / description
      Previous value: -"Theme slug from wordpress.org (e.g. \"flavor\", \"flavor-developer\")"New value: +"Theme slug from wordpress.org (e.g. flavor, flavor-developer)"
  2. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, idempotentHint=false, and readOnlyHint=false, so the risk profile is covered. The description adds that content comes from wordpress.org (an external fetch), but omits notable behaviors such as whether the theme is activated after install, permission requirements, or failure handling.

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 short sentences, front-loaded with the action and source, with the second sentence clarifying the slug format. No filler.

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 two-parameter tool with full schema coverage and complete annotations, the description covers purpose and argument format. It is missing the install-then-activate context and any note about scope (theme vs plugin) that an agent would need to sequence calls correctly.

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%, including the slug format and examples, so the baseline is 3. The description's note that the slug is the URL-friendly name from the theme's wordpress.org page largely restates what the schema already documents.

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 (install) and resource (theme) plus the source constraint (wordpress.org by slug), which distinguishes it from the sibling wp_install_plugin and from theme management tools like wp_list_themes. It is somewhat distinguishable from wp_activate_theme, but the description never clarifies the install-vs-activate relationship.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus siblings such as wp_activate_theme, wp_update_theme, or wp_get_theme, and no mention of prerequisites (e.g., that installation may need to be followed by activation). Usage is only inferable from the tool name.

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