Skip to main content
Glama

Set master

audio.set_master
Idempotent

Gain (dB) and limiter ceiling on the whole mix. The ceiling caps sample peaks (dBFS); the true peak between samples can land above it, most on dense, bright sound, and qa.check measures it (dBTP). Audio edits with preview inline carry the measured loudness (preview.loudness); a link preview does not. Returns the new timeline_id (edit that one next), what changed, and where each changed clip now sits.

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": {
      "timeline_id": "<timeline_id>"
    },
    "name": "audio.set_master"
  }
}

Input Schema

NameRequiredDescriptionDefault
gain_dbNo
previewNoinline: image in the result; link: URI that renders on read; nonelink
limit_dbNoLimiter ceiling on sample peaks, dBFS
timeline_idYesTimeline handle; every edit returns a new one

Output Schema

NameRequiredDescriptionDefault
parentYesThe version this edit started from
changedYesWhat the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)
clip_idNoThe clip this edit made or acted on (each tool says which)
previewYes
clip_idsNoEvery clip this edit made or acted on, linked ones included (each tool says which)
track_idNo
warningsYes
timeline_idYesThe new version: edit this one next (older ids stay valid)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedOutput schema / properties / changed / description
      Added value: +"What the edit added, removed or modified; a clip or transition says its track and where it now sits (frames, end exclusive)"
    • addedOutput schema / properties / clip_id / description
      Added value: +"The clip this edit made or acted on (each tool says which)"
    • addedOutput schema / properties / clip_ids / description
      Added value: +"Every clip this edit made or acted on, linked ones included (each tool says which)"
    • changedOutput schema / properties / parent / description
      Previous value: -"Timeline handle; every edit returns a new one"New value: +"The version this edit started from"
    • changedOutput schema / properties / timeline_id / description
      Previous value: -"Timeline handle; every edit returns a new one"New value: +"The new version: edit this one next (older ids stay valid)"
  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 mutating, idempotent, non-destructive, closed-world behavior, and the description adds real context beyond that: the ceiling applies to sample peaks while true peak (dBTP) can exceed it on dense bright material, and inline previews carry measured loudness while link previews do not. It also explains the timeline_id chaining contract, which is the key behavioral consequence of the edit.

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?

Four dense sentences, front-loaded with the primary effect and followed by caveats and return contract. The parenthetical labels (dBFS, dBTP, preview.loudness) aid scanning, though the middle sentences are packed enough to need a second read.

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 4-parameter mutation tool with an output schema and full annotations, the description covers effect, numeric caveat, preview tradeoff, and the timeline-chaining contract. Return-value detail borders on redundant given the output schema, but it is the piece an agent most needs to sequence follow-up edits.

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?

Beyond the 75%-covered schema, the description clarifies that limit_db is a sample-peak ceiling in dBFS with true-peak caveats, and that preview mode determines whether measured loudness is returned. It also frames timeline_id as a handle that is reissued after each edit, adding meaning the schema only hints at.

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?

Opens with a specific resource and scope: gain in dB and limiter ceiling applied to 'the whole mix,' which implicitly separates it from the per-clip audio.set_gain sibling. It never names an alternative explicitly, so differentiation relies on inference from 'whole mix' rather than a direct contrast.

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 context is implied (finish-mix loudness/limiting, verify with qa.check, choose inline preview when you need measured loudness) but there is no explicit when-to-use / when-not-to-use statement, nor a named alternative such as audio.set_gain for per-clip level changes. The qa.check mention is a verification pointer, not a routing rule.

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.