Skip to main content
Glama

video_merge

Read-onlyIdempotent

Merge multiple videos into one -- requires matching codec/resolution/frame rate across inputs

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": {
      "filesBase64": "<filesBase64>"
    },
    "name": "video_merge"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesBase64YesTwo or more video files as base64 strings, joined in the order given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / filesBase64 / description
      Added value: +"Two or more video files as base64 strings, joined in the order given."
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description adds the genuinely non-obvious behavioral constraint that inputs must share codec, resolution and frame rate — information found nowhere in the schema or annotations. It does not describe failure behavior on mismatch, keeping it below a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One sentence, purpose front-loaded before the constraint, and no redundant restatement of the name or schema. Every clause carries information.

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

Completeness3/5

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

For a single-parameter, fully documented tool this covers the essentials, but with no output schema the description should say what comes back (merged file as base64?) and what happens when the codec/resolution precondition fails. Those omissions leave the agent guessing about the result and error path.

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

Parameters3/5

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

Schema coverage is 100% and the schema already explains the array-of-base64 input, minimum of two, and ordering ('joined in the order given'). The description adds no parameter-level meaning beyond referencing the same codec/resolution constraint, so the baseline 3 for high coverage applies.

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?

States a specific verb (merge) and resource (videos) plus the outcome (into one), which distinguishes it from the audio/pdf/pptx merge siblings by media type. It stops short of naming when a different video tool (e.g. convert) is the right call, so it is clear but not fully differentiated.

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?

The precondition 'requires matching codec/resolution/frame rate across inputs' implies the tool should only be used on already-homogeneous inputs, which is useful implied guidance. However, it never says what to do when inputs differ (normalize first) or points at an alternative tool, so the when-to-use guidance is left to inference.

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