Skip to main content
Glama

Multi-scene composition

start_composition

Estimate, start or retry a multi-scene video composition. Estimate first: action "estimate" returns the credit cost and spends nothing; it needs model and targetDurationSec, and the server answers 400 without them. "start" begins the composition, which needs a prompt. "retry" re-runs a composition by compositionId. Spends Galatic.AI credits. Returns a job id; poll get_job_status with kind "composition".

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": {
      "action": "<action>",
      "context": "<context>"
    },
    "name": "start_composition"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoVideo model id for the scenes, from list_models. Required for estimate.
actionYesestimate: cost only, spends nothing. start: begin a composition. retry: re-run compositionId.
promptNoWhat the composition is about. Required for start.
contextYesA few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details.
mixModeNoHow narration and music are mixed.
captionsNoCaption settings, passed through to the composition.
costTierNoCost tier for the scenes. It sets the price and the maximum duration.
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
musicConfigNoBackground music settings for the composition.
videoConfigNoScene video settings such as duration, costTier and extendMode ("multi-scene" or "extend").
voiceConfigNoNarration voice. provider is one of polly, polly-generative, elevenlabs-clone or skip.
compositionIdNoRequired for retry: the id of the composition to re-run.
galleryAssetsNoLibrary items to use as scene material, passed through as the route expects.
narrationTextNoNarration script, read in the voice set by voiceConfig.
compositionTypeNoWhat kind of piece this is. It decides how the result is filed in the library.
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.
targetDurationSecNoTarget length of the whole composition, in seconds. Required for estimate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / model / description
      Previous value: -"Video model id for the scenes, from list_models."New value: +"Video model id for the scenes, from list_models. Required for estimate."
    • changedInput schema / properties / targetDurationSec / description
      Previous value: -"Target length of the whole composition, in seconds."New value: +"Target length of the whole composition, in seconds. Required for estimate."
  2. Changed4 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as \"a user\", \"the customer\", or \"an account\". Example: \"Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution.\""New value: +"A few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as \"a customer\". Do not quote the user or include names, emails, or other personal details."
    • changedInput schema / properties / conversation_id / description
      Previous value: -"Pass the exact conversation_id from the server's previous response, unchanged. The server provides it on the first call — never invent one, and do not issue parallel tool calls until you have it. Keep passing the same conversation_id for the rest of the conversation, including after later user messages or on a different task; do not reset it when the user starts a new request."New value: +"The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics."
    • changedInput schema / properties / llm_model / description
      Previous value: -"The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (e.g. \"claude-opus-4-8\", \"gpt-5.2\"). Used for analytics only. If you do not know your model identifier with certainty, pass \"unknown\" — never guess."New value: +"The model identifier you are running as, for example \"claude-opus-4-8\" or \"gpt-5.2\". Pass \"unknown\" if you are not certain. Recorded for the server developer's analytics."
    • changedInput schema / required
      Previous value: -[
      -  "action",
      -  "context",
      -  "llm_model"
      -]New value: +[
      +  "action",
      +  "context"
      +]
  3. Changed16 schema fields changed
    • addedInput schema / properties / action / description
      Added value: +"estimate: cost only, spends nothing. start: begin a composition. retry: re-run compositionId."
    • addedInput schema / properties / captions / description
      Added value: +"Caption settings, passed through to the composition."
    • addedInput schema / properties / compositionId / description
      Added value: +"Required for retry: the id of the composition to re-run."
    • addedInput schema / properties / compositionType
      Added value: +{
      +  "description": "What kind of piece this is. It decides how the result is filed in the library.",
      +  "enum": [
      +    "music-video",
      +    "commercial",
      +    "short",
      +    "cartoon",
      +    "custom"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / costTier / description
      Added value: +"Cost tier for the scenes. It sets the price and the maximum duration."
    • addedInput schema / properties / costTier / enum
      Added value: +[
      +  "budget",
      +  "standard",
      +  "premium",
      +  "hybrid"
      +]
    • addedInput schema / properties / galleryAssets / description
      Added value: +"Library items to use as scene material, passed through as the route expects."
    • addedInput schema / properties / mixMode / description
      Added value: +"How narration and music are mixed."
    • addedInput schema / properties / mixMode / enum
      Added value: +[
      +  "narration-over-music",
      +  "music-only",
      +  "narration-only",
      +  "full-mix"
      +]
    • addedInput schema / properties / model / description
      Added value: +"Video model id for the scenes, from list_models."
    • addedInput schema / properties / musicConfig / description
      Added value: +"Background music settings for the composition."
    • addedInput schema / properties / narrationText / description
      Added value: +"Narration script, read in the voice set by voiceConfig."
    • addedInput schema / properties / prompt / description
      Added value: +"What the composition is about. Required for start."
    • addedInput schema / properties / targetDurationSec / description
      Added value: +"Target length of the whole composition, in seconds."
    • addedInput schema / properties / videoConfig / description
      Added value: +"Scene video settings such as duration, costTier and extendMode (\"multi-scene\" or \"extend\")."
    • addedInput schema / properties / voiceConfig / description
      Added value: +"Narration voice. provider is one of polly, polly-generative, elevenlabs-clone or skip."
  4. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, and the description adds genuinely new behavior: credit spend, that estimate spends nothing, a 400 error condition, and the job-id return with a polling instruction. It stops short of warning that a second 'start' will spend credits again despite idempotentHint=false, which is the one costly side effect left implicit.

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?

Front-loads the three actions before any detail, then covers cost, prerequisites, errors, and the return path in four dense sentences with no filler. Every sentence carries operational 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 17-parameter, nested-object tool with no output schema, the description supplies the required lifecycle: what is cheap, what spends credits, what is required per action, and where the result goes. Deeper config semantics (voiceConfig providers, videoConfig extendMode) are delegated to the rich schema, which is reasonable.

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 action-conditional requirements — which parameters are mandatory for estimate vs start vs retry — that the per-parameter schema descriptions do not express. The remaining parameters (mixMode, costTier, configs) are left to the schema, which is adequate.

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 concrete verb and resource (multi-scene video composition) and immediately enumerates the three distinct modes — estimate, start, retry — with a one-line definition of each. An agent can distinguish this from get_job_status purely from the description.

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 sequencing guidance ("Estimate first") and per-action conditions: estimate needs model and targetDurationSec, start needs a prompt, retry needs compositionId. It also names the follow-up tool and the kind value to pass, so the next step is unambiguous.

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.