Skip to main content
Glama

Set music fit

set_music_fit
Idempotent

PROJECT-SCOPED: this call acts only on the explicit project_id and returns the project identity with its result. Retime or refit EXISTING music in place — 'start the music later', 'let it run to the end', 'fade it out', 'loop it', 'stop it ducking'. Anything you omit is left alone. duck_mode: 'smooth' = a sidechain dip that follows the voice and swells back in the gaps; 'step' = the legacy hard -12dB duck. Use this instead of remove+re-add, which loses the other settings. For loudness use set_audio_gain.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
endNo
duckNo
loopNo
startNo
offset_sNo
duck_modeNo
fade_in_sNo
fade_out_sNo
project_idYesRequired immutable scope for this call. Copy the id from list_projects/open_project/project_state; the active-project pointer is never used to guess.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations indicate readOnlyHint=false, destructiveHint=false, idempotentHint=true. The description adds behavior beyond these: it explains that omitted fields are untouched, details the two duck modes, and mentions it returns the project identity. No contradictions with annotations.

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 ~150 words and front-loaded with the project scope. Each sentence adds value: scope, action, examples, duck_mode semantics, and alternatives. It is structured and readable without excessive verbosity.

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

Completeness4/5

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

Given 10 parameters and no output schema, the description covers the main behavioral aspects: it states return value (project identity), explains duck modes, and clarifies that omitted fields are preserved. Gaps remain around offset_s and units, but overall it is adequate for a non-destructive, idempotent edit tool.

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?

With only 10% schema coverage, the description must compensate. It explains several parameters implicitly via examples (start, end, loop, duck, fade_out) and explicitly describes duck_mode. However, parameters like offset_s, fade_in_s, and id are not explained, and units for numeric parameters are not stated.

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 clearly states the tool modifies existing music in place, with examples like 'start the music later' and 'fade it out'. It distinguishes itself from adding/removing music and from loudness adjustment via set_audio_gain, making its purpose unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly advises using this instead of remove+re-add (which loses settings) and directs loudness tasks to set_audio_gain. It also notes that omitted fields are left alone, giving clear context for when to use the tool.

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.