Skip to main content
Glama

Outil.io

Replace video document

replace_video_document
Destructive

Remplacer le document complet par une proposition vérifiée, avec contrôle de version. Préférer les outils ciblés ou apply_video_edits pour les modifications locales.

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": {
      "projectId": "<projectId>",
      "version": "<version>",
      "document": "<document>"
    },
    "name": "replace_video_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionYes
documentYes
projectIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / document / properties / background
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "angle": {
      +      "maximum": 360,
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "color": {
      +      "pattern": "^#[a-fA-F0-9]{6}$",
      +      "type": "string"
      +    },
      +    "color2": {
      +      "pattern": "^#[a-fA-F0-9]{6}$",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "color"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / document / properties / captionStyle
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "color": {
      +      "pattern": "^#[a-fA-F0-9]{6}$",
      +      "type": "string"
      +    },
      +    "font": {
      +      "enum": [
      +        "Poppins",
      +        "Montserrat",
      +        "DejaVu Sans"
      +      ],
      +      "type": "string"
      +    },
      +    "highlight": {
      +      "pattern": "^#[a-fA-F0-9]{6}$",
      +      "type": "string"
      +    },
      +    "maxWords": {
      +      "maximum": 12,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    "position": {
      +      "enum": [
      +        "bottom",
      +        "center",
      +        "top"
      +      ],
      +      "type": "string"
      +    },
      +    "preset": {
      +      "enum": [
      +        "none",
      +        "clean",
      +        "bold",
      +        "karaoke",
      +        "boxed",
      +        "pop"
      +      ],
      +      "type": "string"
      +    },
      +    "size": {
      +      "maximum": 0.12,
      +      "minimum": 0.02,
      +      "type": "number"
      +    },
      +    "uppercase": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "preset"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / document / properties / captions / items / properties / words
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "end": {
      +        "maximum": 3600,
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "start": {
      +        "maximum": 3600,
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "text": {
      +        "maxLength": 60,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "text",
      +      "start",
      +      "end"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 80,
      +  "type": "array"
      +}
    • changedInput schema / properties / document / properties / clips / items / properties / mask / enum
      Previous value: -[
      -  "none",
      -  "ellipse"
      -]New value: +[
      +  "none",
      +  "ellipse",
      +  "rounded"
      +]
    • changedInput schema / properties / document / properties / layers / items / properties / mask / enum
      Previous value: -[
      -  "none",
      -  "ellipse"
      -]New value: +[
      +  "none",
      +  "ellipse",
      +  "rounded"
      +]
    • changedInput schema / properties / document / properties / music / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "assetId": {
      -        "exclusiveMinimum": 0,
      -        "type": "integer"
      -      },
      -      "volume": {
      -        "maximum": 1,
      -        "minimum": 0,
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "assetId",
      -      "volume"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "assetId": {
      +        "exclusiveMinimum": 0,
      +        "type": "integer"
      +      },
      +      "duck": {
      +        "type": "boolean"
      +      },
      +      "fade": {
      +        "type": "boolean"
      +      },
      +      "volume": {
      +        "maximum": 1,
      +        "minimum": 0,
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "assetId",
      +      "volume"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / document / properties / texts
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "accent": {
      +        "pattern": "^#[a-fA-F0-9]{6}$",
      +        "type": "string"
      +      },
      +      "align": {
      +        "enum": [
      +          "left",
      +          "center",
      +          "right"
      +        ],
      +        "type": "string"
      +      },
      +      "animation": {
      +        "enum": [
      +          "none",
      +          "fade",
      +          "pop",
      +          "slideUp",
      +          "slideLeft",
      +          "typewriter",
      +          "wordByWord"
      +        ],
      +        "type": "string"
      +      },
      +      "background": {
      +        "anyOf": [
      +          {
      +            "pattern": "^#[a-fA-F0-9]{6}$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "color": {
      +        "pattern": "^#[a-fA-F0-9]{6}$",
      +        "type": "string"
      +      },
      +      "end": {
      +        "maximum": 3600,
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "font": {
      +        "enum": [
      +          "Poppins",
      +          "Montserrat",
      +          "DejaVu Sans"
      +        ],
      +        "type": "string"
      +      },
      +      "id": {
      +        "maxLength": 64,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "preset": {
      +        "enum": [
      +          "title",
      +          "subtitle",
      +          "lowerThird",
      +          "callout",
      +          "badge",
      +          "kinetic",
      +          "cta"
      +        ],
      +        "type": "string"
      +      },
      +      "size": {
      +        "maximum": 0.2,
      +        "minimum": 0.015,
      +        "type": "number"
      +      },
      +      "start": {
      +        "maximum": 3600,
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "text": {
      +        "maxLength": 300,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "uppercase": {
      +        "type": "boolean"
      +      },
      +      "x": {
      +        "maximum": 1,
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "y": {
      +        "maximum": 1,
      +        "minimum": 0,
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "start",
      +      "end",
      +      "text",
      +      "preset"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 120,
      +  "type": "array"
      +}
  2. Added

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the overwrite risk is known. The description adds the useful detail that a version check gates the write, but it does not say what happens on a version mismatch, whether the whole document is discarded, or what authorization is required.

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 the destructive action front-loaded and the alternative guidance second. The only friction is that the description is in French while the tool name, siblings, and schema are in English, which adds a small parsing cost.

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?

For a destructive whole-document replace with a very large nested schema, no output schema, and no parameter documentation, the description is thin. It omits version-mismatch behavior, which document fields are mandatory versus optional in practice, and the failure/response shape.

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 0% and the document parameter is a large deeply nested object, so the description carries the full explanatory burden. It only hints at the version parameter via 'contrôle de version' and says nothing about projectId or the required document structure.

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 gives a specific verb and resource: replacing the entire document, with a version check. It also distinguishes this tool from the targeted editing tools. The phrase 'proposition vérifiée' (verified proposal) is vague about what exactly is being submitted, which keeps it from a 5.

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 explicitly routes the agent away from this tool for local modifications and names apply_video_edits plus the targeted tools as the alternatives. It does not spell out the positive trigger (use this only when replacing the whole document), but that is strongly implied by the contrast.

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.