Skip to main content
Glama

wp_list_widget_instances

List widget instances across sidebars, showing editable text and custom HTML widgets. Filter by sidebar ID to view widget placements for a specific area.

Instructions

List widget instances across sidebars (text and custom_html widgets are editable)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sidebarNoFilter by sidebar ID

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv2.3.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are present, so the description carries the behavioral burden. 'List' implies a read-only operation, and the editable-widget parenthetical is useful, but the description omits output shape, pagination, and whether inactive or empty sidebars are included.

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?

A single, front-loaded sentence communicates the core action and scope. The parenthetical is compact and informative without wasting words.

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?

The tool is simple with one optional parameter, but there is no output schema and the description does not explain what fields an agent should expect in the returned widget instances. This leaves minor but real ambiguity for correct downstream use.

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?

The schema already documents the only parameter ('sidebar') with 100% coverage as 'Filter by sidebar ID'. The description adds no additional meaning about parameter formatting or accepted values, so baseline 3 is appropriate.

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 ('List') and resource ('widget instances'') with scope across sidebars. The parenthetical about text and custom_html widgets being editable adds useful differentiation from simpler list tools.

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 description implies this tool is for listing widget instances, especially editable ones, but it never explicitly says when to use this versus wp_list_sidebars or wp_update_widget_instance. No exclusions or alternative routing are provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mpierre135/wp-mcp-control-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server