Skip to main content
Glama

Store Manager for WooCommerce

AddSynapse: draft a featured image

plan_featured_image

AddSynapse: Prepare a DRAFT that sets the featured image of pages or posts to an image of the media library (image_id from find_media), or removes it (image_id null). Changes nothing until approved on the draft card; Undo restores the previous image. Put every edit of this request in ONE call (up to 20 pages or posts) — 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": {
      "items": "<items>"
    },
    "name": "plan_featured_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoWhich connected site: its address or site_id from addsynapse_list_sites. Omit when the account has only one site.
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations say only that this is a non-read-only, non-destructive, non-idempotent write. The description adds genuinely new behavior: nothing changes until approved on the draft card, undo restores the previous image, and items are approved and undone together as a batch. It stops short of stating what happens to items that fail validation or whether an existing draft can be extended.

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?

Front-loaded with the core action, then the draft/undo model, then the batching rule — a sensible priority order. Slightly padded by the 'AddSynapse: ' prefix that duplicates the title and by an em-dash clause that could be tightened, but no sentence is redundant with the schema.

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 behind an approval workflow with no output schema, the description covers the full lifecycle an agent needs: input source for image_id, null-as-removal, single-call batching, approval gating, and undo. Sibling tools handle discovery and the actual approval, so nothing critical is missing here.

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 50% — the nested `id` and `image_id` fields carry no descriptions. The description compensates well by explaining that image_id comes from find_media and that null removes the featured image, and that `id` targets pages or posts; it only leaves implicit whether `id` is a page id, post id, or either.

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 sets the featured image of pages or posts') plus the two modes of operation (set via image_id, or remove via null). It also distinguishes itself from siblings by routing image lookup to find_media and framing itself as a planner rather than an executor.

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

Usage Guidelines5/5

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

Gives explicit when-to-use guidance: obtain image_id from find_media, pass null to remove, omit site when only one site is connected (schema). It also gives a hard batching rule — 'Put every edit of this request in ONE call... never one call per item' — which is exactly the kind of usage constraint agents get wrong.

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