Skip to main content
Glama

Update Post

update_post
Destructive

Update a Wavegen post atomically: edit caption/hashtags, modify slide overlay text/style/position/size, replace images inside image overlays (slideEdits[].overlays[].image) or slide backgrounds (slideEdits[].backgroundImage) via AI generate, stock search, brand asset, HTTPS URL, or base64 image data, swap palette colors globally via replaceColors, or reorder/drop slides via slideOrder. Returns updated post details and rendered preview images of edited slides.

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": {
      "postId": "<postId>"
    },
    "name": "update_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
postIdYesWavegen post ID to update.
captionNoUpdated post caption (description).
hashtagsNo
slideEditsNoPer-slide edits (text/image/shape overlays, background color, or background image replacement).
slideOrderNoNew ordering of existing 0-based slide indices; omitted indices are removed.
firstCommentNo
replaceColorsNoFind-and-replace hex colors across all slides and overlays in this post.
includePreviewsNoWhether to render and return updated slide preview images (defaults to true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already disclose that this is a destructive, non-idempotent, open-world mutation. The description adds valuable behavioral context by calling the update atomic, listing the supported image replacement sources, noting global color replacement, and stating that updated post details plus rendered preview images are returned. It does not cover permissions or failure behavior, but the annotation baseline is strong.

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 front-loaded with the core operation and then lists the supported edits and return behavior. It is dense and somewhat run-on, but every clause conveys actionable scope for a complex tool.

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 a complex destructive mutation with no output schema, the description is largely complete: it covers atomicity, the main edit categories, image sources, global color replacement, slide ordering, and return behavior. The notable gap is firstComment, which is neither described here nor documented in the schema.

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 description coverage is already high at 75%, so the baseline is 3. The description adds useful meaning by mapping the main capabilities to parameters and nested fields: caption, hashtags, slideEdits overlays, image sources, replaceColors, and slideOrder. It omits firstComment and does not explain includePreviews explicitly, so it falls short of full parameter coverage.

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 a Wavegen post atomically, then enumerates the update domains (caption/hashtags, overlays, images, colors, slide order). It is clear what the tool does, but it does not explicitly contrast itself with sibling tools such as create_post or animate_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?

Usage is implied by the tool name and the enumerated update operations, making it clear this is for modifying an existing post. However, there is no explicit guidance about when to use this versus alternatives, nor prerequisites such as fetching an existing post with get_post before applying slide edits.

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