Skip to main content
Glama

manage_theme

Destructive

Lists, activates, and installs WordPress themes by slug, letting you switch a site's active theme or add one from wordpress.org.

Instructions

Manage themes. Actions: list, activate, install (from a wordpress.org slug).

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_theme"
  }
}

Input Schema

NameRequiredDescriptionDefault
themeNoTheme stylesheet/slug.
actionYeslist

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.2

TDQS

C2.9/5.0
Behavior2/5

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

Annotations declare destructiveHint=true, but the description adds nothing about the consequences of these actions: activating a theme changes the live site's appearance, installing writes files to the site. With only a bare destructive flag and no explanation of what is affected or whether it is reversible, an agent gets no behavioral context beyond the annotation.

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 short sentences with the action list front-loaded and no filler. 'Manage themes' is near-tautological given the name, but the total length is tight and scannable.

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

Completeness2/5

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

For a mutating, destructive-flagged tool with no output schema, the description leaves key gaps: conditional parameter requirements per action, what happens on activation, and what list returns. Given the small two-parameter surface this could easily have been covered, so the omission is material rather than inherent.

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

Parameters2/5

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

Schema coverage is 50%: 'theme' is described in-schema and 'action' has an enum, so structured data does most of the work. The description only adds that install takes a wordpress.org slug, and critically omits that 'theme' is required for activate/install but ignored for list — the most important semantic fact about these parameters.

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?

Names the resource (themes) and enumerates the three supported operations (list, activate, install), which is more specific than the vague 'Manage themes' headline alone. An agent can tell it deals with themes rather than plugins or menus, though the description never explicitly contrasts itself with the similarly shaped manage_plugin/manage_menu siblings.

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 action list implies the three usage modes, and the parenthetical '(from a wordpress.org slug)' clarifies where install sources come from. However, there is no guidance on when to choose this tool versus a sibling, no prerequisites (e.g. activation changing the live site), and no warning about ordering activate vs install.

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