Skip to main content
Glama
SphereAudio MCP Server

SphereAudio MCP Server

by devenu85

render_scene

Render a .sphere.json scene or .sph Opus container to interleaved WAV or per-channel mono stems with manifest, supporting rig presets, ambisonics, and SOFA binaural output.

Instructions

Render a .sphere.json scene OR a compressed .sph Opus container to an interleaved WAV or per-channel mono stems + manifest.json (supports up to 255ch theater_ultradome_255ch).

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": {
      "scene_path": "<scene_path>",
      "output_wav": "<output_wav>"
    },
    "name": "render_scene"
  }
}

Input Schema

NameRequiredDescriptionDefault
sofa_pathNoOptional path to an AES69 .sofa HRTF file (KEMAR, SADIE II, HUTUBS) for binaural convolution
output_wavYesOutput WAV file path, or output directory path when export_stems=true
rig_presetNoOptional rig preset (headphones_binaural, home_5_1_4_2_underseat, theater_full_sphere_24ch, theater_flagship_128ch, theater_ultradome_255ch)
scene_pathYesPath to .sphere.json or .sph container
export_stemsNoIf true, writes one mono WAV per channel + manifest.json into output_wav directory
ambisonic_orderNoOptional 1..3 to render ACN/SN3D Higher-Order Ambisonics instead of rig output
hrtf_interpolationNoSpherical HRIR interpolation mode when sofa_path is providedbarycentric

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.8/5.0
Behavior3/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 does disclose useful traits: two input container types, two output modes, the per-channel manifest artifact, and a 255-channel ceiling. However, it says nothing about the write/mutation profile — whether existing files at output_wav are overwritten, whether the render is long-running or resource-heavy, or what happens on an invalid rig/scene — which matters for a tool that writes files to disk.

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

Conciseness5/5

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

A single sentence, front-loaded with the verb and input formats, with the output forms and channel limit in a compact parenthetical. There is no filler or repetition; every clause contributes scope information.

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 7-parameter render tool whose schema is fully documented and which has no output schema, the description covers inputs, outputs, and scale limits adequately. The remaining gap is write semantics (overwrite behavior on the output path), which is the one thing an agent cannot recover from the schema or annotations.

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 coverage is 100%, so every parameter is already documented, establishing a baseline of 3. The description adds marginal reinforcement by tying the 'up to 255ch theater_ultradome_255ch' limit to the rig capability and by pairing export_stems with the manifest output, but it contributes no format, default, or interaction detail beyond 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?

The description names a specific verb (render) and both accepted input resources (.sphere.json scene or compressed .sph Opus container), plus both output forms (interleaved WAV or per-channel stems + manifest.json). The explicit format and channel-count scope (up to 255ch theater_ultradome_255ch) makes it clearly distinguishable from siblings like pack_sph, unpack_sph, and validate_scene, which operate on the container rather than producing audio.

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: an agent can infer this is the conversion-to-audio step, but there is no explicit statement of when to pick this over validate_scene/inspect_sph first, nor when to choose interleaved WAV versus export_stems. No prerequisites are stated (e.g., that binaural output requires a sofa_path or rig_preset), so routing relies on inference.

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