Skip to main content
Glama

WordPress: Update navigation

wordpress_update_navigation
Destructive

Update a WordPress block-theme navigation post, including block markup, title, status, slug, and meta, to fix navigation-link hrefs without leaving the MCP workflow.

Instructions

[UNIFIED] Update a wp_navigation post (block-theme menu). Writes post_content (block markup) and/or title/status/slug/meta. Use this to fix navigation-link hrefs that the agent set up in Site Editor without leaving the MCP loop.

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>",
      "navigation_id": "<navigation_id>"
    },
    "name": "wordpress_update_navigation"
  }
}

Input Schema

NameRequiredDescriptionDefault
metaNo
siteYes
slugNo
titleNo
statusNo
contentNo
navigation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.13.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=true, so the danger profile is covered structurally. The description adds that post_content is block markup and that fields are written 'and/or', but it never says whether omitted fields are preserved or cleared, whether content replaces existing blocks wholesale, or what permissions are required — the key ambiguity for a destructive update.

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?

Three sentences, front-loaded with the resource and the write targets before the use case. The '[UNIFIED]' prefix is noise and the use-case sentence is a bit chatty, but nothing is redundant and the density is appropriate for a mutation tool.

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

Completeness3/5

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

For a 7-parameter destructive mutation with no output schema and only hint-level annotations, the description omits partial-update semantics, required-parameter context for site/navigation_id, and error/return behavior. It is adequate to identify the tool but leaves real gaps an agent would hit on first invocation.

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?

With 0% schema description coverage, the description must carry all parameter meaning, and it only partly does: it maps content/title/status/slug/meta to the described fields but leaves the required 'site' and 'navigation_id' unexplained, and gives no format for 'meta' (schema shows an untyped string) or for the expected block markup syntax.

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?

States a specific verb and resource: 'Update a wp_navigation post (block-theme menu)' and clarifies it is the block-markup navigation entity, not a classic menu. It enumerates the writable fields (post_content, title, status, slug, meta), which distinguishes it from the get/delete navigation siblings, though it never explains its relationship to the generic wordpress_update_post.

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

Usage Guidelines3/5

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

One concrete scenario is given ('fix navigation-link hrefs that the agent set up in Site Editor'), which is useful implied guidance. However, there is no when-not guidance and no explicit alternative named, even though wordpress_specialist_wp_bulk_post_update and wordpress_update_post could plausibly also touch navigation posts — an agent has to infer why this tool is the right one.

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