Skip to main content
Glama

Store Manager for WooCommerce

AddSynapse: draft a menu change

plan_menu_update

AddSynapse: Prepare a DRAFT that changes ONE existing navigation menu with a list of operations: add_item (object page/post/custom with object_id or object_name, or a custom url + title; optional parent and position), rename_item, move_item (new parent and/or position), remove_item (also removes its sub-items), assign_location (classic themes). Items are referred to by item_id or item_title from describe_menus. Changes nothing until approved on the draft card; Undo restores the previous menu. Put every edit of this request in ONE call (up to 30 operations on this menu) — the user approves them together with one click and can undo them together; never one call per item.

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": {
      "operations": "<operations>"
    },
    "name": "plan_menu_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
menuNomenu id, slug or name (describe_menus)
siteNoWhich connected site: its address or site_id from addsynapse_list_sites. Omit when the account has only one site.
operationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description adds the crucial fact that nothing is applied until the draft is approved, that Undo restores the previous menu, that remove_item also deletes sub-items, and that the per-call operation cap is 30. The destructiveHint=false claim is consistent rather than contradicted, since the removal only materializes after approval.

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?

A single dense paragraph that front-loads the draft/one-menu framing before operation detail and the batching rule. Every clause carries information, but the run-on parenthetical op list makes it slightly harder to scan than a short structured list would be.

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?

For a batch-mutation planner with no output schema, the definition covers everything an agent needs: prerequisites (describe_menus, addsynapse_list_sites), operation semantics, call batching, and the post-call lifecycle of approval and undo. No material gap remains.

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?

At 67% schema coverage the description carries real weight: it spells out what each op requires (add_item needs object plus object_id/object_name, or url + title, with optional parent and position), and clarifies move_item takes a new parent and/or position and assign_location is for classic themes. It leaves several nested fields such as ref, parent_ref and the product/product_cat object values unmentioned, so it stops short of full coverage.

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 — 'Prepare a DRAFT that changes ONE existing navigation menu' — and immediately enumerates the five supported operations. An agent can distinguish this from plan_content_update or plan_theme_settings without opening the schema, and the 'ONE existing menu' scope is explicit.

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 strong operational guidance: reference items by item_id or item_title coming from describe_menus, batch every edit into ONE call of up to 30 operations, and never issue one call per item, with the rationale (single approval click, single undo). It does not name a competing sibling tool to steer away from, which keeps it short of a 5.

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.

Resources