Skip to main content
Glama

Add background music

add_background_music

Lay a music track under a video or voice recording. Ducking lowers the music automatically whenever someone is speaking. The music loops to fit and fades out at the end. Cost: 1 credit per minute of main file. Long jobs return a job_id; poll it with get_job. Result links expire in 1 hour.

Input Schema

NameRequiredDescriptionDefault
urlYesMain video or audio: public http(s) link
formatNoDefaults to mp4 for video, mp3 for audio
duckingNoLower the music while the main audio has speech
music_urlYesMusic track: public http(s) link
music_volume_dbNoMusic level in dB. Lower is quieter
fade_out_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so richly: it discloses automatic ducking, looping to fit, end fade-out, credit cost (1 per minute of main file), job_id polling via get_job for long jobs, and a 1-hour link expiry. These are exactly the behavioral traits an agent cannot get from structured fields.

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?

Four short sentences, purpose front-loaded, then behavior, cost, and job/expiry handling in that order. Each sentence delivers distinct, necessary information with no padding.

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?

Despite six parameters and no output schema, the description supplies everything needed to invoke and follow up correctly: cost model, async job_id path with get_job, and result-link lifetime. Nothing material is missing.

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

Parameters4/5

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

Schema description coverage is already 83% (a 3 baseline), but the description adds effect-level semantics not in the schema: what ducking actually does to the music while speech is present and that the track loops and fades. It does not touch music_volume_db, so it is not a full 5.

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 and resource ('lay a music track under a video or voice recording') with the effect it produces, so the operation is unambiguous. However, it never distinguishes itself from media siblings like merge_media or process_audio, which the rubric reserves for 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 Guidelines3/5

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

Usage is only implied from 'under a video or voice recording'; the description gives no explicit when-to-use, when-not-to-use, or named alternative among the many media tools. Adequate but leaves routing 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.