Skip to main content
Glama

mcp_update_widget

Update a WordPress widget's settings by specifying its site, widget ID, and new configuration values.

Instructions

Update a widget's settings

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteYesSite id (see list_sites)
settingsYesSettings to update
widget_idYesWidget ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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: -[
      -  "widget_id",
      -  "settings"
      -]New value: +[
      +  "site",
      +  "widget_id",
      +  "settings"
      +]
  2. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, yet it says nothing about whether unspecified settings are preserved or wiped, whether settings are merged or replaced, required capabilities, or whether the update is reversible. For a mutation tool with an opaque nested settings object, this is a significant gap.

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?

A single front-loaded sentence with no wasted words. It is efficient, though the brevity edges toward under-specification rather than true conciseness.

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?

Given a mutation tool with zero annotations, no output schema, and a nested arbitrary-key settings object, the description should disclose merge semantics, permissions, and failure modes but does none of them. The structured fields alone are not enough to call this 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%, so 'site', 'widget_id', and 'settings' are each documented in the schema and the baseline is 3. The description adds nothing beyond that, which is acceptable here but leaves the opaque 'settings' object (additionalProperties: {}) unexplained in both places.

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 ('Update') and resource ('a widget's settings'), so an agent can tell it apart from mcp_get_widget or mcp_delete_widget by action alone. It does not, however, differentiate itself from sibling mutators like mcp_reorder_widgets or mcp_move_widget, which also change widgets.

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?

There is no guidance on when to use this versus mcp_add_widget, mcp_move_widget, or mcp_reorder_widgets, nor any prerequisite (e.g. widget must already exist in a sidebar). The agent must infer usage entirely from the name.

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