Skip to main content
Glama

List Pages

wp_list_pages
Read-only

List WordPress pages with optional filters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number for pagination
orderNo
parentNoFilter by parent page ID
searchNoSearch term
statusNoFilter by page status
_fieldsNoComma-separated fields to return for lighter responses (e.g. "id,title,status,date,slug")
orderbyNo
site_idNoSite ID to target (optional if you have only one connected site)
per_pageNoNumber of pages to return (max 100, default 20)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / _fields
      Added value: +{
      +  "description": "Comma-separated fields to return for lighter responses (e.g. \"id,title,status,date,slug\")",
      +  "type": "string"
      +}
  2. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds essentially nothing beyond that: no mention of pagination defaults, per_page limits, or the fact that results come from a remote WordPress site. It does not contradict the annotations, but it contributes no extra behavioral context.

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, correctly leading with the verb and resource. It borders on under-specification rather than over-verbosity, which is the less harmful failure mode here.

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?

With 9 optional parameters, no output schema, and no required params, the definition is minimally viable: the schema and annotations cover most of what an agent needs. However, it omits useful context such as default page size, the meaning of site_id targeting, and when a status of 'any' is appropriate, leaving the definition adequate but incomplete.

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 78%, so the schema already documents most parameters (page, parent, search, status, per_page, _fields, site_id). The description's generic 'optional filters' adds no syntax or meaning beyond what is in the schema; baseline 3 is appropriate when structured fields carry the load.

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?

The description states a specific verb and resource ('List WordPress pages'), so the agent knows exactly what operation is performed. It does not, however, distinguish this tool from the many other list/get siblings such as wp_list_posts, wp_get_page, divi_list_pages, or elementor_list_pages, leaving disambiguation to the name alone.

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?

The phrase 'with optional filters' implies filtering is possible but gives no guidance on when to choose this tool over wp_list_posts, wp_get_page, or the builder-specific list_pages variants. No prerequisites, no exclusions, no alternative is named.

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