Skip to main content
Glama

set_render_preferences

Set the movie's scene-render preferences (movies.metadata.render_prefs). prompt_expansion: whether the video provider may rewrite our composed prompt before rendering (MiniMax prompt_expansion_mode, Wan enable_prompt_expansion). Default 'on' (the 2026-09-22 A/B: the expansion-off MiniMax take spoke an invented line, the expansion-on take was verbatim). Use 'off' only for an A/B the user asks for. dialogue_language: the language the movie is written and spoken in, as the user chose it. It sets the language of the scripts the writers produce, of the voices and of the MiniMax dialogue syntax, and wins over the language the user writes in. Pass it ONLY when the user names a language for the movie (for example they write in English and ask for a Spanish movie); never fill it in when only changing prompt_expansion. Pass "auto" to clear the choice. Applies to scripts written and scene videos rendered AFTER the change.

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>"
    },
    "name": "set_render_preferences"
  }
}

Input Schema

NameRequiredDescriptionDefault
movieIdYesThe movie id (uuid) this call operates on. Get it from create_movie or list_movies.
prompt_expansionNoProvider prompt rewriting: 'on' or 'off'.
dialogue_languageNoThe language the user named for the movie, e.g. "Spanish", "Brazilian Portuguese"; "auto" clears it. Omit unless the user named one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses the default ('on'), the rationale (a dated A/B where expansion-off spoke an invented line), and the temporal scope ('Applies to scripts written and scene videos rendered AFTER the change') — a real operational caveat. It stops short of permissions, reversibility, or failure behavior, which keeps it below a 5.

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 purpose and the storage key, then one labeled block per parameter, so navigation is easy. It is dense and somewhat long, and the A/B anecdote is more justification than instruction, but it earns its place by explaining the default.

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 with no output schema and no annotations, the definition covers defaults, clearing semantics, precedence, when to omit each optional field, and the forward-only effect on scripts and renders. An agent could invoke it correctly without further context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, yet the description still adds meaning the schema cannot: why 'on' is the default, that 'auto' clears rather than sets, and the precedence rule that dialogue_language 'wins over the language the user writes in'. It also maps the flag to provider-specific knobs (MiniMax prompt_expansion_mode, Wan enable_prompt_expansion).

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?

States a specific verb and resource ('Set the movie's scene-render preferences') and even names the storage location (movies.metadata.render_prefs), then enumerates the two settable dimensions. This clearly separates it from set_audio_preferences and the render-triggering siblings like render_movie or enqueue_generate_scene_video.

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?

Gives explicit when/when-not guidance for both parameters: 'Use off only for an A/B the user asks for' and 'Pass it ONLY when the user names a language... never fill it in when only changing prompt_expansion', plus 'Pass "auto" to clear the choice'. These are exclusions, not just context, which is exactly what an agent needs to avoid over-setting fields.

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