Skip to main content
Glama
SphereAudio MCP Server

SphereAudio MCP Server

by devenu85

add_sound_object

Places a 3D sound object into an existing .sphere.json scene at a chosen azimuth, elevation, and distance, with optional animated keyframes for moving spatial audio.

Instructions

Add a 3D sound object to an existing .sphere.json scene at any spherical coordinate (azimuth_deg in [-180, 180], elevation_deg in [-90, +90] where -90 is under feet, distance_m > 0.05), optionally with animated keyframes.

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>",
      "id": "<id>",
      "source": "<source>"
    },
    "name": "add_sound_object"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
gainNo
nameNo
paramsNoOptional synth parameters (e.g. freq_hz, blade_hz, step_period_s)
sourceYesSynth preset name (rain, subway_rumble, drone_rotor, footsteps, chime, pink_noise, pulse_beacon, sine) or WAV file path
lfe_sendNo
keyframesNo
distance_mNo
scene_pathYes
spread_degNoAngular spread in degrees (0=point source, up to 180=diffuse)
azimuth_degNo
source_typeNosynth
elevation_degNo
floor_reflectionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses the coordinate space and validation limits well, but says nothing about the mutating nature of the call (does it rewrite the scene file in place?), what happens on a duplicate id, whether changes are reversible, or what the response contains.

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?

A single dense sentence with zero filler, front-loading the action and target before the coordinate constraints. The parenthetical range clauses are information-dense but slightly impede scanning; still, every clause earns its place.

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

Completeness3/5

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

For a 14-parameter mutation tool with a nested keyframes object, no annotations, and no output schema, the description covers the spatial model adequately but omits the file-mutation semantics, keyframe ordering requirements, and return behavior. It is a reasonable minimum but not complete for this complexity.

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?

With only 21% schema coverage across 14 parameters, the description must compensate, and it partially does: it supplies ranges for azimuth_deg and elevation_deg, explains that -90 is under the listener's feet, and gives a lower bound for distance_m (> 0.05) that is absent from the schema. Still, ten-plus parameters (gain, lfe_send, spread_deg, source_type, floor_reflection, keyframes structure, name, params) go unmentioned, leaving major gaps.

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?

The description uses a specific verb ('Add') and resource ('3D sound object') plus the target container ('an existing .sphere.json scene'), so an agent knows exactly what is created and where. It does not explicitly contrast with siblings such as move_sound_object, but the add-vs-modify distinction is clear from the verb.

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 phrase 'to an existing .sphere.json scene' implicitly states the prerequisite that a scene must already exist, nudging callers toward create_scene otherwise. However, there is no explicit when-to-use/when-not guidance and no mention of move_sound_object as the alternative for repositioning existing objects.

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