Skip to main content
Glama

Edit a draft

content_update
Idempotent

[writes flayr data · write scope] Edits a draft in place; only the fields you pass change. Any media field replaces the draft's media as a set; the id stays. Refused (409) for archived or already-published items, and a media swap is refused once a queue booked it. labels, opus, videoWatermarked, library, aiGenerated and youtubeAbTestResult may be changed on published items too. Carousel: one of imageStorageIds (uploads), images (URLs) or imageContentIds (Library ids), 2-20 each, with no other media field. library: { title, description } is the Library name and description. More optional arguments, not listed: credits, youtube, platforms, thumbnailFrameOffsetMs, thumbnailUrl, altText, text, videoUrl, imageUrl, thumbnailStorageId, videoStorageId, imageStorageId. Full description and schema: describe_tool {"name":"content_update"}. (Wraps PATCH /api/v2/content/{id}.)

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": {
      "id": "<id>"
    },
    "name": "content_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYese.g. "id_123".
opusNoe.g. {"clipId":"clipId_123"}. Fields: projectId, clipId.
titleNoe.g. "Summer collection".
imagesNoe.g. ["https://example.com","https://example.com"].
labelsNoe.g. ["campaign:summer"].
libraryNoe.g. {"title":"Summer collection"}. Fields: title, description.
aiGeneratedNoe.g. false.
platformTextNoe.g. {}.
imageContentIdsNoe.g. ["Example","Example"].
imageStorageIdsNoe.g. ["Example","Example"].
videoWatermarkedNoe.g. {"version":1}. Fields: version, at.
youtubeAbTestResultNoe.g. {"outcome":"winner"}. Fields: outcome, winner.
requiresOwnerApprovalNoe.g. false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the annotations (readOnly=false, destructive=false, idempotent=true) by disclosing the required `write` scope, the set-replacement semantics of media fields, that the id is preserved, and concrete 409 refusal conditions. It does not describe the response payload, but with no output schema that is a modest gap rather than a contradiction.

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-loads scope, then mutation behavior, then parameter rules, which is the right order. It is dense and semicolon-chained, and the trailing list of unlisted optional arguments is heavy, though it does carry information not present in the schema.

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 13-parameter mutation tool with nested objects and no output schema, it covers mutation semantics, error conditions and the trickiest parameter group well, and points to describe_tool for the full schema. Nested object shapes (opus, videoWatermarked, youtubeAbTestResult) and any return value are left to the schema/pointer.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds rules the schema does not contain: carousel fields are mutually exclusive (imageStorageIds vs images vs imageContentIds), must number 2-20, and cannot be combined with other media fields. It also clarifies that `library` is the Library title/description and flags several optional arguments the schema omits.

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 ('Edits a draft in place') and immediately nails the partial-update semantics ('only the fields you pass change'), which cleanly separates it from create/delete style siblings. The bracketed scope tag ('writes flayr data · `write` scope') adds the access domain up front.

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 explicit exclusions: 409 for archived or already-published items, and media swaps refused once a queue has booked the item, while naming the fields that CAN be changed on published items. It stops short of naming a sibling alternative (e.g. a publish-specific tool) for the published-item case, so it is clear context rather than full routing guidance.

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