Skip to main content
Glama

set_audio_preferences

Set the movie's audio preferences (movies.metadata.audio). Use when the user asks for background music in their movie: set background_music=true and pass their described style as music_style (e.g. "religious choir singing, solemn"). Scene renders will then ASK the video model for music instead of suppressing it. IMPORTANT caveats to tell the user: each scene generates its music independently, so it is NOT one continuous soundtrack and may shift at scene cuts; set this BEFORE rendering scene videos (already-rendered scenes keep their old audio until regenerated). Set background_music=false to restore the default no-music behavior.

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": {
      "movieId": "<movieId>",
      "background_music": "<background_music>"
    },
    "name": "set_audio_preferences"
  }
}

Input Schema

NameRequiredDescriptionDefault
movieIdYesThe movie id (uuid) this call operates on. Get it from create_movie or list_movies.
music_styleNoOptional style hint, e.g. "epic orchestral", "soft piano", "religious choir".
background_musicYesWhether scene renders should include background music.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations present, the description carries the full burden and does so: it explains that renders will ASK the video model for music rather than suppressing it, that music is generated per scene so it is not a continuous soundtrack and may shift at cuts, and that existing scenes keep old audio until regenerated. It even flags which caveats must be relayed to the user.

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 purpose, then trigger, then effect, then caveats in a clear progression. It is dense and the caveat sentence is long, but every clause conveys actionable information rather than restating the name or schema.

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 three-parameter mutation tool with no annotations and no output schema, the description covers trigger, effect on downstream rendering, ordering relative to rendering, and rollback. Nothing an agent needs in order to call it correctly or explain it to a user is missing.

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 100%, so the baseline is 3, but the description adds real meaning beyond the schema: it specifies the exact values to set together (background_music=true plus the user's described style in music_style) and gives a concrete style phrasing example. It does not add syntax constraints for music_style, but the paired-parameter guidance is genuinely useful.

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?

States a specific verb and resource plus the exact data path (movies.metadata.audio), so the agent knows precisely what is mutated. It distinguishes itself implicitly from render-related siblings by scoping to audio/music, though it never names set_render_preferences or another alternative to contrast against.

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

Usage Guidelines5/5

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

Explicit trigger ('Use when the user asks for background music'), explicit preconditions ('set this BEFORE rendering scene videos'), explicit rollback path ('Set background_music=false to restore the default no-music behavior'). The ordering constraint and the already-rendered-scene exception leave nothing for the agent to infer.

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