Skip to main content
Glama

List widget areas

wp_list_sidebars
Read-onlyIdempotent

List the widget areas (sidebars) the active theme registers: [{id, name, description, widget_count}], followed by an entry wp_inactive_widgets for widgets placed in no area. A theme that registers no widget areas, as most block themes, yields only that entry. Needs edit_theme_options. Read-only; takes no arguments. The widgets in an area and their settings come from wp_get_widgets. Forwarded by AlphaBridge Connect to the one site this connection reaches.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, non-destructive behavior, and the description adds useful information beyond that: the required capability, return shape, inactive-widget entry, block-theme edge case, and AlphaBridge forwarding context. This is substantive transparency rather than repetition.

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?

The description front-loads purpose and return shape and remains compact overall. Minor redundancy: 'Read-only; takes no arguments' repeats annotation and schema signals, so it is not maximally economical.

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

Completeness5/5

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

No output schema exists, so the description properly explains the returned fields and the inactive-widgets entry; it also includes capability and forwarding context. With annotations covering safety and the schema empty, this is complete for correct invocation.

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

Parameters4/5

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

There are no parameters, so the baseline is 4; 'takes no arguments' reinforces this but does not add semantic detail beyond the empty schema.

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 and resource ('List the widget areas') and distinguishes it from wp_get_widgets, which supplies widget settings. It also defines the return shape and the wp_inactive_widgets edge case, so the agent knows exactly what the tool produces.

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

Usage Guidelines5/5

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

Provides clear prerequisites (edit_theme_options), notes the no-argument nature, and routes the agent to wp_get_widgets for widgets and settings. The block-theme caveat tells when the result will be sparse, so usage and alternatives are explicit.

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