Skip to main content
Glama

music_clip

Clip or loop an audio track with FFmpeg, using hook-window starts, fades, and LUFS normalization to produce a consistent loudness output.

Instructions

Clip/loop an audio track with FFmpeg, supporting hook-window start, fades, and LUFS normalization.

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": {
      "target": "<target>",
      "output": "<output>"
    },
    "name": "music_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
loopNo
startNoStart time in seconds
outputYesOutput audio file path
targetYesTrack ID or local audio file path
fade_inNo
durationNoOutput duration in seconds
fade_outNo
use_hookNoAuto-start at detected hook window
normalize_lufsNoTarget LUFS loudness, e.g. -14

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses that processing happens via FFmpeg and which transformations are available, but never states that this writes to the given output path, whether an existing file is overwritten, whether the result is registered back into the track library, or what happens on FFmpeg failure — all material for a mutation tool with zero annotation coverage.

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?

A single dense sentence with the operation front-loaded and the capability list following; nothing is redundant. It is arguably too compact for nine parameters, but every clause earns its place.

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?

For a nine-parameter, no-annotation, no-output-schema mutation tool, the description covers the feature surface adequately but leaves the agent guessing about side effects, overwrite behavior, and parameter interactions. Adequate as a starting point, not sufficient for confident invocation of a file-writing operation.

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 67%, so the baseline is a 3, and the description does add mapping value by tying use_hook to "hook-window start", fade_in/fade_out to "fades", and normalize_lufs to "LUFS normalization". It adds nothing about valid ranges, units beyond seconds, or how loop interacts with duration, leaving the uncovered parameters unexplained in both places.

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 gives a specific verb pair ("Clip/loop") plus the resource ("an audio track") and names the concrete capabilities — hook-window start, fades, LUFS normalization — which clearly separates it from the read/analysis siblings like music_analyze and music_search. It does not explicitly name a sibling to contrast with, but the production/edit framing is unambiguous.

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 by the purpose; there is no statement of when to reach for this tool versus music_preview or music_import, and no guidance on when to combine loop, use_hook, start, and duration. An agent must infer the calling conditions from the feature list alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.