Skip to main content
Glama

manage_option

Destructive

Retrieve, update, or list common WordPress site settings such as blogname, timezone, and permalink structure to inspect or change site configuration.

Instructions

Get or update a WordPress option (site settings like blogname, blogdescription, timezone_string, permalink structure, etc.). Actions: get, update, list_common.

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

Input Schema

NameRequiredDescriptionDefault
nameNo
valueNoNew value (for update). Any JSON type.
actionYesget

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.2

TDQS

B3.4/5.0
Behavior3/5

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

The destructiveHint=true annotation already flags mutation risk, and the description correctly separates a read action (get) from a write action (update). What it does not add is what an update actually destroys — whether the existing option value is overwritten wholesale, whether it is reversible, or whether a privilege level is required. The parenthetical that options are 'site settings' is useful context beyond the annotation but not deep behavioral disclosure.

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 compact sentences, front-loaded with the core verb and resource, then the action enumeration. The parenthetical example list is slightly dense but earns its place by making 'option' concrete.

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 small mutation-capable tool with no output schema, the description should say what get versus list_common returns and that update replaces the stored value. It gives the domain framing but leaves return shape and per-action requirements to be inferred, which is only adequate.

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 coverage is only 33% — the schema describes 'value' only — and the description partially compensates by naming example option identifiers that inform the 'name' parameter and by listing the three valid actions that mirror the enum. It never says which parameters are required per action (e.g., name for get, name+value for update, none for list_common), so real semantic gaps remain for a 3-param tool.

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 pair (get/update) plus the resource (WordPress option) and grounds it with concrete examples of options (blogname, timezone_string, permalink structure), so an agent knows what domain this touches. It stops short of distinguishing itself from plausible siblings like get_site_info or elementor_settings, which also deal with site-level settings.

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?

Enumerating the actions (get, update, list_common) implies when each mode applies, and 'list_common' hints at a discovery use case. There is no explicit guidance on when to pick this over get_site_info or elementor_settings, and no prerequisite or exclusion information.

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