Skip to main content
Glama

wp_update_menu

Update a WordPress classic menu by changing its name, slug, locations, or auto-add setting. Preview changes with a dry run before applying.

Instructions

Update classic menu. Supports dry-run.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refYes
nameNo
slugNo
dry_runNoPreview changes without writing
auto_addNo
locationsNo
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.3.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure, but it only says 'Supports dry-run.' This adds a small amount of insight, though dry_run is already described in the schema as 'Preview changes without writing.' It does not explain whether unspecified fields are reset, what permissions are required, whether the update is reversible, or what happens on failure.

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 description is compact and front-loaded, with the core action stated first and the dry-run capability in a short second sentence. There is no fluff or redundant phrasing, though more detail could be added without harming conciseness.

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

Completeness1/5

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

This tool has 7 parameters, no output schema, no annotations, and very low schema coverage, yet the description provides almost no contextual information. An agent would not know how to identify the menu via 'ref', what each field does, or what a successful update returns. The description is far too sparse for the complexity involved.

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

Parameters2/5

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

Schema description coverage is only 14%, with just dry_run documented. The description does not explain the meaning of 'ref', 'auto_add', 'locations', or the other parameters, nor does it clarify how these fields map to a classic menu update. It fails to compensate for the sparse schema documentation.

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: 'Update classic menu.' This clearly indicates mutation of an existing menu and distinguishes it from creation/deletion tools. It does not explicitly differentiate from wp_update_menu_item, but the resource noun 'menu' provides enough initial clarity.

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?

There is no guidance about when to use this tool versus alternatives, no prerequisites, and no mention of what makes a menu 'classic' versus other menu types. The tool name and brief description are not enough to help an agent decide between this and related menu tools such as wp_update_menu_item or wp_create_menu.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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/leonardobora/mcp-wordpress'

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