Skip to main content
Glama

Store Manager for WooCommerce

AddSynapse: draft a page or post edit

plan_content_update

AddSynapse: Prepare a DRAFT that changes a page, post or custom content item (id) or several (pages): a new title, excerpt or whole content, find → replace edits in its stored content (each "find" must appear exactly as get_content shows it), and/or its status (draft, pending, publish, private). Changes nothing until approved on the draft card; Undo restores the exact previous text and status. Put every edit of this request in ONE call (up to 10 pages or posts in pages, each with up to 20 find → replace edits) — the user approves them together with one click and can undo them together; never one call per item.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "plan_content_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
siteNoWhich connected site: its address or site_id from addsynapse_list_sites. Omit when the account has only one site.
pagesNoSeveral pages or posts in ONE draft (instead of id): each {id, and its title, excerpt, content, replace and/or status}.
titleNo
statusNo
contentNothe whole new content (replaces everything)
excerptNo
replaceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the two-phase lifecycle: nothing changes until the draft is approved on the draft card, and Undo restores the exact previous text and status. It also states concrete capacity limits (10 items, 20 find→replace edits per item), which the annotations do not convey and which materially affect how the call must be constructed.

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?

Two dense sentences with no filler; the effect (draft-only, approved later, undoable) is front-loaded and the batching rule closes it. The middle clause stacking title/excerpt/content/find-replace/status reads as a run-on and could be split for faster scanning.

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 an 8-parameter mutation planner with no output schema, the definition covers the essentials: what is mutated, that it is staged and reversible, and how many items/edits fit in one call. It never says what comes back from the call (e.g., a draft/changeset identifier the agent would pass to approve_changeset), which is the one gap an agent would notice on the next step.

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 only 38%, so the description has to carry weight — and it does for the highest-risk parts: the batching semantics of 'pages' (up to 10, each up to 20 replacements), the singular 'id' alternative, the status values, and the critical note that 'find' must appear exactly as get_content renders it. It does not add meaning for 'only_first' or 'field', leaving those to a thin schema.

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 names a specific verb and resource: it stages a DRAFT that changes a page, post or custom content item. It enumerates exactly which attributes can change (title, excerpt, content, find→replace edits, status) and explicitly frames the result as a draft, which separates it from the read-only get_content it references and from create-style siblings.

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?

It gives strong operational guidance: 'Put every edit of this request in ONE call ... never one call per item', plus the constraint that each 'find' must match exactly what get_content shows. What is missing is an explicit routing statement for the create case (plan_post_create) or block-level edits (plan_blocks_edit), so the agent must infer which planner to use when the intent is ambiguous.

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