Skip to main content
Glama

Opus Growth, Ad Platforms MCP Connector

Edit WordPress Menu

wordpress_edit_menu
Destructive

Edit a WordPress navigation menu: add, rename, relink, reorder or remove navbar and footer links, create a menu, or assign one to a theme location.

action is one of: add_item, update_item, delete_item, reorder, create_menu, assign_location, restore. Link to an existing page with page_id, or to any address with url. Use wordpress_menus first.

Classic menus: pass menu_id, and item_id for an existing link. parent_id makes the link a dropdown child; order is the list of item ids in the sequence you want. Block themes: pass nav_id instead, and identify a link by its path (for example "2.1") rather than item_id; parent is the path of the link it should sit under; order is a list of paths. A previous version is kept, so action="restore" rolls the navigation back.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
nameNo
pathNo
orderNo
titleNo
actionYes
nav_idNo
parentNo
targetNo
item_idNo
menu_idNo
page_idNo
locationNo
positionNo
site_urlNo
parent_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added
  4. Removed
  5. Added
  6. Removed
  7. Added
  8. Removed
  9. Added
  10. Removed
  11. Added
  12. Removed
  13. Added
  14. Removed
  15. Added
  16. Removed
  17. Added
  18. Removed
  19. Added
  20. Removed
  21. Added
  22. Removed
  23. Added
  24. Removed
  25. Added
  26. Removed
  27. Added
  28. Removed
  29. Added
  30. Removed
  31. Added
  32. Removed
  33. Added
  34. Removed
  35. Added
  36. Removed
  37. Added
  38. Removed
  39. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and idempotentHint=false, so the safety profile is known. The description goes beyond that by disclosing reversibility ('A previous version is kept, so action="restore" rolls the navigation back') and by mapping destructive operations (remove/delete) to specific actions, which the annotations cannot express.

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 capabilities and action list come first, followed by parameter guidance, then the two-mode explanation and the restore note – a logical front-loaded order. It is somewhat long, but each paragraph maps to a distinct concern (capability, actions, linking, menus vs block themes, rollback) and earns its space.

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?

With an output schema present, return values need no explanation, and the description covers the action enum, both schema variants, linkage sources and rollback semantics for a 16-parameter tool. A handful of parameters (name, title, target, location, position, site_url) remain unaddressed, so it is strong but not fully complete.

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%, so the description must carry the load and largely does: it documents action values, page_id vs url linking, and the classic (menu_id/item_id/parent_id/order) versus block (nav_id/path/parent/order) parameter sets with a concrete path example. Gaps remain for name, title, target, location, position and site_url, which are left undocumented.

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 ('Edit a WordPress navigation menu') and then enumerates the concrete operations (add, rename, relink, reorder, remove, create, assign). This distinctively separates it from siblings like wordpress_menus (read) and wordpress_edit_page_design, so an agent can identify it without opening sibling schemas.

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 explicit sequencing guidance ('Use wordpress_menus first') and explains the branch condition that selects between classic menus (menu_id/item_id) and block themes (nav_id/path). It does not spell out when not to use it or name a fully equivalent alternative, but the prerequisite routing is clear.

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.