Skip to main content
Glama

audio_parts

Renders each song part separately, then compares the result to an earlier JSON to identify drifted notes, loudness levels, and peaks.

Instructions

Each song rendered alone, part by part: notes, the first of them, loudness and peak, and its balance (LU under the song's mix in every section, with its peak); --against an earlier --json says what drifted and fails. Keep a --json of a song you like; after changing it (or updating onimite), --against that file names every part that moved.

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": {
      "script": "<script>"
    },
    "name": "audio_parts"
  }
}

Input Schema

NameRequiredDescriptionDefault
nowNothe wall clock at the video's first frame (Lua: f.now, seconds since 1970): an RFC 3339 time with its zone (2026-11-02T14:05:00Z, 2026-11-02T15:05:00+01:00) or seconds since 1970; preview --live runs on the system clock instead (default: 0, 1970-01-01T00:00:00Z)
setNoscript arguments (Lua: arg.K, a string) that also set props.K (a number when it looks like one); they win over a batch row, which wins over the props file
mediaNofonts, images and sounds (default: media/ beside the script)
propsNoa JSON object the script reads as the table props (props.title, ...)
scaleNooutput resolution factor, e.g. 0.5 for half resolution (rounded to an even size)
scriptYesthe video script (.lua)
againstNoan earlier --json of it: say what drifted (notes, first notes, more than 1 LU of level) and fail
softwareNodraw on the CPU instead of the GPU

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It discloses that --against reports drift and fails, and that it names every part that moved, but it does not explain side effects, permissions, output format, or whether the tool writes files while rendering songs or parts. The behavioral profile is therefore too thin for an unannotated tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is not front-loaded with purpose; it opens with an elliptical list of rendered outputs before mentioning the regression comparison. It is compact but dense with unexplained flag syntax and an unexplained "onimite" reference, making it harder to parse than its length suggests.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a complex tool with eight parameters, a nested object, no annotations, and no output schema. The description covers some per-part metrics and the --against comparison behavior, but it leaves the overall purpose, output shape, side effects, and sibling differentiation unclear. It is not complete enough for an agent to invoke the tool confidently.

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 100%, so the input schema already documents all eight parameters in detail. The description adds some meaning to the against workflow by mentioning that it names every part that moved, but otherwise does not clarify the other parameters beyond what the schema provides. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names specific outputs (notes, first notes, loudness, peak, balance) and mentions a regression mode against an earlier JSON, so the domain is discernible. However, it never plainly states the tool's purpose, using elliptical phrases like "Each song rendered alone, part by part" rather than a clear verb and resource. It also does not distinguish this tool from siblings such as audio_analyze or audio_render.

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?

The description gives one explicit workflow: keep a JSON snapshot of a song, then use --against after changes or updating onimite to see what moved. That implies the regression-check use case. It does not say when to use this tool instead of related audio tools, nor when not to use it, so guidance remains partial.

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