Skip to main content
Glama

Multi-track run with shared settings

batch_master

Runs up to 10 tracks through one set of settings in a single call. Every track needs a credit or a free run, so N tracks need N of them. With album_mode on (the default) loudness is matched across the set: the loudest track lands on the target and the others keep their level differences, so a quiet interlude is not pushed up to single-track level. Caps set by this server, for memory: 10 tracks, 100 MB per file and 300 MB per call. Long albums take minutes, so fewer tracks per call work better. One job id comes back per track; poll each with get_job. dry_run=true reports the planned charge and settings first.

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": {
      "audio_urls": "<audio_urls>"
    },
    "name": "batch_master"
  }
}

Input Schema

NameRequiredDescriptionDefault
styleNoName of the preset applied to every track; list_presets gives the options.
bitrateNoKbps setting. MP3: 128, 192, 256 or 320. OPUS: 128 or 192.
dry_runNoPlanning only: reports the expected charge and settings without rendering and without fetching any file.
album_modeNoMatches loudness across the batch so the tracks keep their relative levels. Defaults to true; set false for unrelated singles.
audio_urlsYesTrack addresses as public https links, listed in album order.
out_formatNoContainer and encoding of the rendered file.
target_lufsNoGoal for the loudest track when album mode is on.
remove_watermarkNoRuns AI artifact cleanup before mastering as well.

Output Schema

NameRequiredDescriptionDefault
jobsNo
tracksNojob_id, filename, source_url, target_lufs and album_lufs_offset as APPLIED by the server
dry_runNo
job_idsNo
poll_withNo
would_chargeNo
enough_capacityNo
nothing_was_chargedNo
album_mode_requestedNo
album_offsets_appliedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • changedInput schema / properties / album_mode / description
      Previous value: -"Keep relative loudness between tracks. Default true. Set false for unrelated singles."New value: +"Matches loudness across the batch so the tracks keep their relative levels. Defaults to true; set false for unrelated singles."
    • changedInput schema / properties / audio_urls / description
      Previous value: -"Public https URLs, in album order."New value: +"Track addresses as public https links, listed in album order."
    • changedInput schema / properties / bitrate / description
      Previous value: -"MP3: 128/192/256/320; OPUS: 128/192."New value: +"Kbps setting. MP3: 128, 192, 256 or 320. OPUS: 128 or 192."
    • changedInput schema / properties / dry_run / description
      Previous value: -"Report what would be used and the settings without mastering and without downloading anything."New value: +"Planning only: reports the expected charge and settings without rendering and without fetching any file."
    • addedInput schema / properties / out_format / description
      Added value: +"Container and encoding of the rendered file."
    • changedInput schema / properties / remove_watermark / description
      Previous value: -"Also run AI artifact cleanup first. Free."New value: +"Runs AI artifact cleanup before mastering as well."
    • changedInput schema / properties / style / description
      Previous value: -"Preset key from list_presets."New value: +"Name of the preset applied to every track; list_presets gives the options."
    • changedInput schema / properties / target_lufs / description
      Previous value: -"Target for the LOUDEST track in album mode."New value: +"Goal for the loudest track when album mode is on."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only say it is a non-read-only, open-world, non-destructive call; the description goes well beyond that by disclosing credit consumption (one credit per track), server-side caps (10 tracks, 100 MB/file, 300 MB/call), multi-minute runtime, and that results come back as one job id per track requiring polling. It also explains the audible consequence of album_mode, which is exactly the behavioral context an agent needs before spending credits.

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?

Front-loaded with the core action and then layered with cost, caps, runtime and result handling — no filler sentences. The credit sentence ("Every track needs a credit or a free run, so N tracks need N of them") is slightly compressed to the point of being terse, but the overall density is justified for a batch job tool.

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?

An output schema exists, yet the description still clarifies the one-job-id-per-track result shape and the polling follow-up, which is the only return-value detail an agent needs. Cost, limits, runtime expectations and the dry-run planning path are all covered, so nothing material is missing for an 8-parameter batch mutation.

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 coverage is already 100%, so the baseline is 3, but the description earns extra by explaining why album_mode matters (the loudest track hits target while relative levels are preserved, so a quiet interlude is not normalized up) and by tying dry_run to cost visibility. It does not add anything for bitrate, out_format, target_lufs or style beyond what the schema already states.

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?

Opens with a specific verb and resource plus scope: "Runs up to 10 tracks through one set of settings in a single call." That 'one call, shared settings, batch of tracks' framing distinguishes it from the single-track master_track sibling without needing the schema, and the closing sentence about job ids clarifies what the call actually produces.

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

Usage Guidelines4/5

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

Gives concrete usage conditions: use dry_run=true to see the planned charge first, keep batches smaller for long albums, and poll results with get_job. It never explicitly says 'use master_track instead for a single track' or states a hard when-not-to-use, so it stops short of full alternative routing, but the practical guidance is clear.

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.

Resources