Skip to main content
Glama
ArsNovaSingers

ars-nova-wordpress-mcp

Official

Add Menu Item

wp_create_menu_item

Add a menu item to a WordPress menu, linking to an existing page or custom URL, and set its position and parent for submenus.

Instructions

Add a single item to a menu. Link it to a page (page_id) or to a custom URL (url). Nest it by setting parent to another item's ID. Requires admin.

Args:

  • menu_id (number): Menu to add to.

  • title (string): Label.

  • page_id (number): Link to this page ID (or use url).

  • url (string): Custom URL (or use page_id).

  • parent (number): Parent item ID for nesting. 0 = top level.

  • menu_order (number): Position within its level.

  • response_format (enum): markdown | json.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoCustom URL (use instead of page_id for external/custom links).
titleYesLabel shown in the menu.
parentNoParent menu-item ID for submenu nesting. 0 = top level.
menu_idYesMenu this item belongs to.
page_idNoLink to this page ID (sets type=post_type, object=page).
menu_orderNoPosition within its level (ascending).
response_formatNoOutput format: 'markdown' for human-readable, 'json' for machine-readable.markdown
Behavior4/5

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

Annotations already indicate a mutating action (readOnlyHint=false). The description adds the admin requirement and explains the two linking modes (page_id vs url). It does not detail side effects or return behavior, but with annotations present, the added context is sufficient.

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 front-loaded with the core purpose, followed by a concise list of arguments. Every sentence earns its place, and there is no redundant fluff. It is easy to scan and understand quickly.

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 create operation with 7 params and no output schema, the description covers the essential context: purpose, permissions, and argument semantics. It does not describe the response content, but the response_format parameter hints at output options. Minor gap, but overall complete enough.

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 100%, so the schema already documents every parameter. The description repeats the same information (e.g., parent: 0 = top level) without adding new meaning or clarifying relationships beyond what the schema states.

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?

The description opens with 'Add a single item to a menu,' which clearly identifies the verb (add), resource (menu item), and scope (single item). It also distinguishes itself from sibling tools like wp_create_menu (creates a menu) and wp_update_menu_item (updates an existing item).

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?

The description provides clear usage context: link via page_id or url, nest via parent, and requires admin. It implies it's for creation, not updating, but does not explicitly name alternatives or exclusions. Since the tool name and context make the creation intent obvious, this is clear but missing explicit 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