Skip to main content
Glama

Add Sound To Video

add_sound_to_video

Lay one of your saved sounds (a sound effect you saved, by its id from list_my_audio) or a sound in this chat onto your video at a given second, keeping the video's own sound under it unless keep_original is false. For many sounds (an effect for every movement on a timeline), pass cues instead: every sound with its second, mixed in one pass into one finished video. The picture is not changed; the finished video comes into the chat. Free.

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": {
      "video_url": "<video_url>"
    },
    "name": "add_sound_to_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
cuesNoMany sounds in one pass, instead of sound_id or sound_url: each { sound_id (a saved sound) or sound_url (a sound in this chat, or the audio_url find_library_sound returned), at_seconds, volume (0 to 4, default 1) }.
volumeNo0 to 4; 1 is the sound as saved. Default 1.
sound_idNoYour saved sound's id (list_my_audio).
sound_urlNoOr a sound in this chat by its file id or name, or an https link.
video_urlYesYour video in this chat by its file id or name, or an https link., or the asset_id upload_reference_asset gave for a video you added.
at_secondsNoWhere the sound starts in the video, in seconds. Default 0.
keep_originalNoKeep the video's own sound under it (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / video_url / description
      Previous value: -"Your video in this chat by its file id or name, or an https link."New value: +"Your video in this chat by its file id or name, or an https link., or the asset_id upload_reference_asset gave for a video you added."
  2. Changed1 schema field changed
    • addedInput schema / properties / cues
      Added value: +{
      +  "description": "Many sounds in one pass, instead of sound_id or sound_url: each { sound_id (a saved sound) or sound_url (a sound in this chat, or the audio_url find_library_sound returned), at_seconds, volume (0 to 4, default 1) }.",
      +  "items": {
      +    "properties": {
      +      "at_seconds": {
      +        "type": "number"
      +      },
      +      "sound_id": {
      +        "type": "string"
      +      },
      +      "sound_url": {
      +        "type": "string"
      +      },
      +      "volume": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "at_seconds"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  3. Added

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations (readOnly=false, destructive=false, openWorld=true) it discloses the key defaults and side effects an agent needs: the original audio is retained unless keep_original is false, the picture is unchanged, the result is delivered into the chat, and the call is free. It does not mention failure modes (bad timestamp, unsupported format) or duration limits, which keeps it short of 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.

Conciseness4/5

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

Three sentences, front-loaded with the primary action and then the alternate batch mode, with no filler marketing language beyond the terse 'Free.' The parenthetical asides ('a sound effect you saved, by its id from list_my_audio') make some sentences run-on and slightly harder to parse than necessary.

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

Completeness5/5

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

For a 7-parameter compositing tool with no output schema, the description covers both invocation modes, the default audio behavior, the fact that video imagery is untouched, and where the result lands. Nothing an agent needs in order to invoke it correctly is missing.

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 description coverage is 100%, so the schema already explains every parameter, including ranges and defaults (volume 0-4, at_seconds default 0). The description adds a modest amount of meaning by framing sound_id vs sound_url as alternatives and by giving cues its 'mixed in one pass into one finished video' semantics, but most of it restates the schema.

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?

The description opens with a concrete verb+resource ('Lay one of your saved sounds ... onto your video at a given second') and explicitly presents a second, distinct mode ('pass cues instead') for multi-sound mixing. It also names the source of sound ids (list_my_audio) and the sibling that returns library audio (find_library_sound), so an agent can tell this apart from generation or extraction siblings.

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 states the selection rule between the two modes clearly: single sound_id/sound_url for one sound, cues for 'many sounds (an effect for every movement on a timeline)'. It also documents where each id/URL comes from. What's missing is any exclusion, e.g. when to prefer generate_sound_effect or extract_sound_effect instead of adding an existing sound.

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