Skip to main content
Glama

Set music fit

set_music_fit
Idempotent

Updates the timing, looping, fades or ducking of an existing music item. Omitted settings remain unchanged. Ducking supports a smooth voice-following envelope or the legacy stepped mode.

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": {
      "id": "<id>",
      "project_id": "<project_id>"
    },
    "name": "set_music_fit"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
endNo
duckNo
loopNo
startNo
offset_sNo
duck_modeNo
fade_in_sNo
fade_out_sNo
project_idYesExplicit project identifier for this request. The connection's navigation pointer does not select the target.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"Required immutable scope for this call. Copy the id from list_projects/open_project/project_state; the active-project pointer is never used to guess."New value: +"Explicit project identifier for this request. The connection's navigation pointer does not select the target."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=true), so the bar is lower, and the description still adds genuine behavior: partial-update semantics where omitted settings are preserved. It also characterizes the duck_mode branch as 'smooth voice-following envelope' versus 'legacy stepped mode', which is real context an agent cannot get from the bare enum. It does not say what happens when the id is unknown or whether the change is reversible.

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?

Three short sentences with the operation and scope front-loaded, followed by the partial-update rule and the ducking mode note. No filler, no restatement of the title, and each sentence contributes distinct information.

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?

For a 10-parameter mutation tool with no output schema, the description covers the intent of most parameter groups and the patch semantics, which is the most important thing an agent needs. The remaining gap is the start/end versus offset_s distinction and any error behavior, which keeps it just short of fully self-sufficient.

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 only 10% (only project_id is documented), so the description carries most of the burden and it only partly does so. It groups parameters into categories — timing (start/end/offset_s), looping (loop), fades (fade_in_s/fade_out_s), ducking (duck/duck_mode) — but never disambiguates start/end from offset_s, which is the highest-risk ambiguity for correct invocation, and it says nothing about the required id.

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 names a specific verb (updates) and enumerates the exact facets it touches (timing, looping, fades, ducking) on an 'existing music item', which implicitly separates it from the many add_* siblings such as add_music and add_library_music. It never explicitly contrasts itself with the near-neighbors that could plausibly do the same job (set_fades, shape_music, set_audio_gain), so an agent must infer the boundary.

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: 'existing music item' tells the agent this is a modify-not-create operation, and 'omitted settings remain unchanged' signals a partial-update workflow rather than a full replace. There is no explicit when-to-use or when-not-to-use guidance versus siblings like set_fades or shape_music, and no prerequisites stated (e.g. that the music item must already exist on the timeline).

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.