Skip to main content
Glama

Join clips and add audio

merge_media

Use to join clips end to end, and optionally lay music or a voiceover over them (audio_mode mix or replace). 2 credits. Clips take the first one's size; give each as a media_id, library asset or link.

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": {
      "clips": "<clips>"
    },
    "name": "merge_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
audioNoOptional music or voiceover (library asset or link).
clipsYes
audio_modeNomix
audio_volumeNoFor mix: the added track's level under the clips' own sound.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the annotations, it usefully discloses the cost (2 credits) and the output sizing behavior (clips take the first clip's size). It does not mention response format or job behavior, but annotations already cover the mutation and open-world profile.

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 compact and front-loads the core operation before optional audio and cost details. The wording is slightly terse, but no sentence is wasted.

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?

It covers the core operation, inputs, cost, and output-size behavior for a mutation tool. However, it does not describe what the tool returns or whether the merge is asynchronous, which matters given the absence of an output schema.

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?

The description clarifies accepted clip inputs and the audio_mode options, but it does not explain audio_volume or fully compensate for the 50% schema description coverage. The input schema still carries important parameter meaning.

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 action and resource: join clips end to end, with optional music or voiceover. It is clear what the tool does, but it does not explicitly distinguish itself from nearby tools such as trim_video or add_captions.

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?

It gives an implied use case for combining clips and optionally overlaying audio, including the mix/replace choice. It does not state when not to use this tool or point to alternatives for related editing tasks.

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.