Skip to main content
Glama

Render score

score.render
Idempotent

Hear a score: render it, or a range of it, to audio media. parts renders only those (the rest silent), to hear one layer or a few on their own. Returns a media_id (usable once complete: for clip.add, media.analyze and media.listen; media.get has its download url) and render: the loudness (integrated LUFS and true peak dBTP), clipped_samples (samples over full scale, cut off in the file for good: above 0 the parts are too loud together, and turning the render down afterwards does not undo it), the part_ids that sounded (after mute, solo and parts), and bars: where each bar starts in beats, seconds and frames. The render stops at until_beats; with tail_db it runs on until the sound falls under that level (notes and reverb ring on after the last beat; up to 30 s more) and returns ends_seconds, when it did. Rendered at the score's sample_rate, stereo, as 24-bit WAV (default) or MP3; never watermarked. The same score and range give the same audio. Long-running: a task, or {job_id, media_id} for job.get.

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": {
      "score_id": "<score_id>"
    },
    "name": "score.render"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoA label for the media
partsNopart_ids to render alone: only their notes and audio play (parts they sound through or send to still carry them). Default all
formatNo24-bit WAV, or MP3wav
tail_dbNoRun past until_beats until the sound falls under this level (dBFS). Left out, the render stops at until_beats
score_idYesScore handle; every edit returns a new one
from_beatsNoStart of the range. Default 0
until_beatsNoEnd of the range. Default the end of the last region
from_secondsNoStart of the range in seconds, in place of from_beats
until_secondsNoEnd of the range in seconds, in place of until_beats
idempotency_keyNo

Output Schema

NameRequiredDescriptionDefault
hintYes
job_idYesJob handle; the same value is the MCP task id
resultNoThe result, when status is completed; otherwise job.get gives it once completed
statusYes
media_idNoThe media it is making: an import is usable in edits once its status is processing, a created media once this job completes
status_uriYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations: clipped_samples are "cut off in the file for good" and lowering the render afterwards does not undo it, tail_db runs up to 30 s longer and returns ends_seconds, output is 24-bit WAV or MP3, stereo, at the score's sample_rate, never watermarked, and deterministic. It also discloses the long-running task shape (task or {job_id, media_id} for job.get), none of which the annotations state.

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, then ordered by what an agent needs next (parts, outputs, range, tail, format, async). Dense but nearly every clause carries behavior; the inline parentheticals about clipped samples and media_id make sentences long and slightly hard to scan.

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?

For a 10-parameter render tool with an output schema, async semantics, tuning side effects and media handoff, nothing needed to call it correctly is missing. The return-value recap is redundant with the output schema but harmless.

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 90%, so the baseline is 3, but the description adds real meaning: parts silences everything not named while parts sounded through/sent to still carry their notes, until_beats is the hard stop and tail_db overrides it by level. from_beats/from_seconds pairing and format defaulting are left to the schema.

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?

"Hear a score: render it, or a range of it, to audio media" gives a specific verb (render) and resource (score) plus the output form (audio media), which separates it from render.frames, render.notes and render.spectrogram without naming them.

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?

Clear context for the optional behaviors: parts is framed as the way "to hear one layer or a few on their own" and tail_db as the way to capture notes and reverb ringing past the last beat. It also names downstream consumers of media_id (clip.add, media.analyze, media.listen, media.get), though it never states when to prefer render.notes or render.spectrogram over an audio render.

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.