Skip to main content
Glama

Patch Carousel Slide

carousels_patch_slide
DestructiveIdempotent

Patch native slots/media or select a completed Remotion frame artifact and crop. Requires expectedRevision; identical keys replay.

Input Schema

NameRequiredDescriptionDefault
cropNo
linesNo
slotsNo
projectIdYesUUID string.
slideIndexYes
templateIdNo
workspaceIdNo
mediaAssetIdNo
idempotencyKeyYes
expectedRevisionYes
creativeArtifactIdNo

Output Schema

NameRequiredDescriptionDefault
kitNo
nameYes
txidYes
frameYes
styleYes
localeYes
slidesYes
can_undoYes
platformYes
revisionYes
warningsYes
templatesYes
font_facesNo
project_idYes
next_actionsYes
mutationReceiptYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed18 schema fields changed
    • addedInput schema / properties / creativeArtifactId
      Added value: +{
      +  "format": "uuid",
      +  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +  "type": "string"
      +}
    • addedInput schema / properties / crop
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "height": {
      +          "exclusiveMinimum": 0,
      +          "maximum": 1,
      +          "type": "number"
      +        },
      +        "left": {
      +          "maximum": 1,
      +          "minimum": 0,
      +          "type": "number"
      +        },
      +        "top": {
      +          "maximum": 1,
      +          "minimum": 0,
      +          "type": "number"
      +        },
      +        "width": {
      +          "exclusiveMinimum": 0,
      +          "maximum": 1,
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "left",
      +        "top",
      +        "width",
      +        "height"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedInput schema / properties / expectedRevision
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "idempotencyKey",
      -  "projectId",
      -  "slideIndex"
      -]New value: +[
      +  "idempotencyKey",
      +  "projectId",
      +  "expectedRevision",
      +  "slideIndex"
      +]
    • addedOutput schema / $schema
      Added value: +"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / properties / font_faces
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "family": {
      +        "maxLength": 160,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "src": {
      +        "maxLength": 4000,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "style": {
      +        "enum": [
      +          "normal",
      +          "italic",
      +          "oblique"
      +        ],
      +        "type": "string"
      +      },
      +      "unicodeRange": {
      +        "maxLength": 8000,
      +        "type": "string"
      +      },
      +      "weight": {
      +        "maxLength": 32,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "family",
      +      "src",
      +      "weight",
      +      "style",
      +      "unicodeRange"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 256,
      +  "type": "array"
      +}
    • addedOutput schema / properties / mutationReceipt / properties / id / format
      Added value: +"uuid"
    • addedOutput schema / properties / mutationReceipt / properties / id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • changedOutput schema / properties / mutationReceipt / properties / id / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
    • changedOutput schema / properties / mutationReceipt / properties / key / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
    • addedOutput schema / properties / mutationReceipt / properties / status / const
      Added value: +"completed"
    • removedOutput schema / properties / mutationReceipt / properties / status / enum
      Removed value: -[
      -  "completed"
      -]
    • addedOutput schema / properties / slides / items / properties / visual / properties / creative_artifact_id
      Added value: +{
      +  "format": "uuid",
      +  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +  "type": "string"
      +}
    • addedOutput schema / properties / slides / items / properties / visual / properties / creative_source
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "artifact_id": {
      +      "format": "uuid",
      +      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +      "type": "string"
      +    },
      +    "composition_id": {
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "controls": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "fields": {
      +              "items": {
      +                "oneOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "key": {
      +                        "maxLength": 80,
      +                        "minLength": 1,
      +                        "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
      +                        "type": "string"
      +                      },
      +                      "label": {
      +                        "maxLength": 120,
      +                        "minLength": 1,
      +                        "type": "string"
      +                      },
      +                      "maxLength": {
      +                        "maximum": 10000,
      +                        "minimum": 1,
      +                        "type": "integer"
      +                      },
      +                      "type": {
      +                        "const": "text",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "key",
      +                      "label",
      +                      "type",
      +                      "maxLength"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "key": {
      +                        "maxLength": 80,
      +                        "minLength": 1,
      +                        "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
      +                        "type": "string"
      +                      },
      +                      "label": {
      +                        "maxLength": 120,
      +                        "minLength": 1,
      +                        "type": "string"
      +                      },
      +                      "type": {
      +                        "const": "color",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "key",
      +                      "label",
      +                      "type"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "key": {
      +                        "maxLength": 80,
      +                        "minLength": 1,
      +                        "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
      +                        "type": "string"
      +                      },
      +                      "label": {
      +                        "maxLength": 120,
      +                        "minLength": 1,
      +                        "type": "string"
      +                      },
      +                      "type": {
      +                        "const": "media",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "key",
      +                      "label",
      +                      "type"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "key": {
      +                        "maxLength": 80,
      +                        "minLength": 1,
      +                        "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
      +                        "type": "string"
      +                      },
      +                      "label": {
      +                        "maxLength": 120,
      +                        "minLength": 1,
      +                        "type": "string"
      +                      },
      +                      "max": {
      +                        "maximum": 10800,
      +                        "type": "number"
      +                      },
      +                      "min": {
      +                        "minimum": 0,
      +                        "type": "number"
      +                      },
      +                      "step": {
      +                        "exclusiveMinimum": 0,
      +                        "type": "number"
      +                      },
      +                      "type": {
      +                        "const": "timing",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "key",
      +                      "label",
      +                      "type",
      +                      "min",
      +                      "max",
      +                      "step"
      +                    ],
      +                    "type": "object"
      +                  }
      +                ]
      +              },
      +              "maxItems": 40,
      +              "minItems": 1,
      +              "type": "array"
      +            },
      +            "file": {
      +              "format": "ends_with",
      +              "maxLength": 180,
      +              "minLength": 1,
      +              "pattern": ".*\\.json$",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "file",
      +            "fields"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "fps": {
      +      "exclusiveMinimum": 0,
      +      "type": "number"
      +    },
      +    "frame": {
      +      "maximum": 9007199254740991,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "frame_hash": {
      +      "pattern": "^[a-f0-9]{64}$",
      +      "type": "string"
      +    },
      +    "height": {
      +      "exclusiveMinimum": 0,
      +      "maximum": 9007199254740991,
      +      "type": "integer"
      +    },
      +    "media_asset_id": {
      +      "format": "uuid",
      +      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +      "type": "string"
      +    },
      +    "project_id": {
      +      "format": "uuid",
      +      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +      "type": "string"
      +    },
      +    "runtime_identity": {
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "source_hash": {
      +      "pattern": "^[a-f0-9]{64}$",
      +      "type": "string"
      +    },
      +    "source_revision": {
      +      "exclusiveMinimum": 0,
      +      "maximum": 9007199254740991,
      +      "type": "integer"
      +    },
      +    "source_revision_id": {
      +      "format": "uuid",
      +      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +      "type": "string"
      +    },
      +    "values": {
      +      "additionalProperties": {
      +        "anyOf": [
      +          {
      +            "maxLength": 10000,
      +            "type": "string"
      +          },
      +          {
      +            "type": "number"
      +          }
      +        ]
      +      },
      +      "propertyNames": {
      +        "maxLength": 80,
      +        "minLength": 1,
      +        "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "width": {
      +      "exclusiveMinimum": 0,
      +      "maximum": 9007199254740991,
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "artifact_id",
      +    "project_id",
      +    "source_revision_id",
      +    "source_revision",
      +    "source_hash",
      +    "runtime_identity",
      +    "composition_id",
      +    "frame",
      +    "width",
      +    "height",
      +    "fps",
      +    "frame_hash",
      +    "media_asset_id",
      +    "controls",
      +    "values"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / slides / items / properties / visual / properties / crop
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "height": {
      +      "exclusiveMinimum": 0,
      +      "maximum": 1,
      +      "type": "number"
      +    },
      +    "left": {
      +      "maximum": 1,
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "top": {
      +      "maximum": 1,
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "width": {
      +      "exclusiveMinimum": 0,
      +      "maximum": 1,
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "left",
      +    "top",
      +    "width",
      +    "height"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / slides / items / properties / visual / properties / kind / enum
      Previous value: -[
      -  "media_asset",
      -  "generate",
      -  "solid",
      -  "gradient",
      -  "html",
      -  "template"
      -]New value: +[
      +  "creative_source",
      +  "media_asset",
      +  "generate",
      +  "solid",
      +  "gradient",
      +  "html",
      +  "template"
      +]
    • addedOutput schema / properties / txid
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / required
      Added value: +[
      +  "project_id",
      +  "revision",
      +  "name",
      +  "platform",
      +  "locale",
      +  "frame",
      +  "style",
      +  "slides",
      +  "templates",
      +  "can_undo",
      +  "warnings",
      +  "next_actions",
      +  "txid",
      +  "mutationReceipt"
      +]
  2. Added

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare idempotentHint=true and destructiveHint=true; 'identical keys replay' merely restates the idempotency annotation without explaining what is destroyed, merged, or overwritten when patching a slide. No new behavioral context (merge semantics, revision conflict behavior) is added beyond what the annotations and required-field list already convey.

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 tight sentences with no filler, and the mutation/crop behavior is front-loaded. It is compact to the point of being under-specified, but it is not padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An 11-parameter, nested-object, destructive mutation tool with an output schema gets only two terse sentences; the description identifies the two edit modes but leaves mode selection, parameter roles and conflict handling to inference.

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

Parameters2/5

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

Schema description coverage is only 9% across 11 parameters, so the description must compensate and largely does not; it hints at crop, slots/media, creativeArtifact and expectedRevision but says nothing about idempotencyKey, workspaceId, templateId, lines, slideIndex or projectId semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names the verb (patch) and the resource from the title, and lists the two modes (native slots/media vs. completed Remotion frame artifact with crop). However, jargon like 'native slots' and 'Remotion frame artifact' is unexplained, and it never articulates how this differs from siblings such as carousels_slides_insert or carousels_clone.

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

Usage Guidelines2/5

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

States a prerequisite ('Requires expectedRevision') but gives no when-to-use versus the many sibling carousels_* tools, and no indication of when to choose the slots/media path over the artifact-crop path. An agent must guess which mode applies.

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