Skip to main content
Glama

WordPress: List navigations

wordpress_list_navigations
Read-only

Lists WordPress block-theme navigation menus (wp_navigation posts) used by the Site Editor navigation block, so you can inspect navigation menus separately from classic menus.

Instructions

[UNIFIED] List wp_navigation posts (block-theme navigation menus). These power the block in Site Editor. Distinct from classic menus (use list_menus for those).

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": {
      "site": "<site>"
    },
    "name": "wordpress_list_navigations"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
siteYes
statusNoany
per_pageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.13.1

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds genuine domain context — that these are wp_navigation posts backing the Site Editor navigation block — which helps an agent interpret results. It says nothing about pagination behavior, default result size, or what happens with the status filter, which is the remaining behavioral gap.

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?

Three short sentences, front-loaded with the action and resource, then disambiguation. Every clause carries information; the [UNIFIED] tag and the block-comment reference are compact and not padding.

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

Completeness4/5

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

For a read-only list tool with no output schema, the description covers identity and disambiguation well. The missing piece is parameter semantics: per_page and status defaults and accepted values are left entirely to the caller's guess, which matters more here because the schema documents nothing.

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?

Schema coverage is 0% and none of the four parameters (site, page, per_page, status) are explained in the description — status in particular defaults to 'any' without saying what values are valid. The description's explanation of what a navigation post is does supply meaning the bare schema cannot, keeping this above the floor, but the parameter-level silence is a real omission.

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 wp_navigation posts') and immediately glosses the resource as block-theme navigation menus, including where they surface (the wp:navigation block in Site Editor). It explicitly contrasts itself with classic menus, so an agent can separate it from wordpress_list_menus without opening either schema.

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

Usage Guidelines4/5

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

Gives a clear routing rule: for classic menus, use list_menus instead. That names the primary alternative and the condition that selects it. It stops short of a full when/when-not treatment (e.g., no guidance on choosing status filters or when listing is unnecessary), so it is strong but not exhaustive.

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