Skip to main content
Glama
ArsNovaSingers

ars-nova-wordpress-mcp

Official

Build a Whole Menu in One Command

wp_build_menu

Build an entire WordPress menu with submenus, item ordering, and theme-location assignment from one structured spec.

Instructions

Create an entire navigation menu — nested submenus, ordering, and theme-location assignment — from one structured spec. Ideal for rebuilding a site's primary navigation by command.

Each item links to a page (page_id) OR a custom URL (url), OR neither (a non-linking dropdown parent that just holds children). Children create submenus. Order follows array order.

Args:

  • name (string): Menu name to create.

  • locations (string[]): Optional theme locations, e.g. ['primary'].

  • items: ordered array of { title, page_id?, url?, children?[] }.

  • response_format (enum): markdown | json.

Example items: [ { "title": "Concerts", "children": [ { "title": "This Season", "page_id": 123 }, { "title": "Tickets", "page_id": 3285 } ]}, { "title": "Donate", "url": "/support/donate/" } ]

Returns: { menu_id, items_created, locations }. Note: creates a NEW menu; it does not merge into an existing one. Use wp_list_menus / wp_delete_menu first if replacing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesMenu name to create, e.g. 'Primary Navigation'.
itemsYesOrdered top-level items, each optionally with nested children (submenus).
locationsNoTheme menu locations to assign, e.g. ['primary'].
response_formatNoOutput format: 'markdown' for human-readable, 'json' for machine-readable.markdown
Behavior5/5

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

Beyond the annotations, the description discloses that it creates a NEW menu and explicitly does not merge, which is critical for understanding side effects. It also explains item linking semantics and return values, providing full 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with introduction, args, example, and return note. Every sentence adds value—no filler or repetition of schema details. Despite length, it remains efficient and information-dense.

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?

Given the tool's complexity and lack of output schema, the description fully covers return format, behavior around creating vs merging, replacement guidance, and parameter relationships. Nothing important is left unexplained.

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

Parameters5/5

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

The description adds substantial meaning beyond the schema: it explains how items map to submenus, ordering follows array order, and the example clarifies page_id vs url vs neither. This enriches the schema's already high coverage with practical usage semantics.

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?

Description clearly states a specific action: creating an entire navigation menu with nested submenus, ordering, and theme-location assignment. It distinguishes itself from sibling tools like wp_create_menu or wp_create_menu_item by emphasizing whole-menu construction from a single spec.

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?

Explicitly says it is ideal for rebuilding primary navigation by command and even advises using wp_list_menus / wp_delete_menu first when replacing. This gives clear when-to-use and alternative guidance.

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/ArsNovaSingers/ars-nova-wordpress-mcp'

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