Skip to main content
Glama

create_episode

Create the next episode of a season. Returns the episode's movieId: drive it through the normal movie pipeline by following get_pipeline_state.nextStep (the idea is seeded from your logline/outline; the series format, season style and shared cast are mirrored in automatically). Episodes skip the cast step for characters the series already has; a new character the script introduces is detected and added to the series cast, with a portrait and a voice, before the storyboards. Needs a monthly plan.

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": {
      "seriesId": "<seriesId>",
      "seasonNumber": "<seasonNumber>"
    },
    "name": "create_episode"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoOptional (up to 120 characters); defaults to "Title SxxEyy".
loglineNoThis episode's beat in the season arc.
outlineNoOptional episode outline.
seriesIdYesThe series id (uuid).
seasonNumberYesWhich season to add the episode to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the returned movieId, the plan requirement, that the idea is seeded from logline/outline, that series format/season style/cast are inherited, that existing characters skip the cast step, and that new characters are detected and get portrait and voice before storyboards. It does not mention credit consumption or failure modes, which keeps it from 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?

Purpose is front-loaded in the first sentence, followed by workflow and side-effect context. The second sentence is long and packs several clauses together, but no sentence is redundant.

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 creation tool with no output schema and no annotations, the description covers the important unknowns: what is returned, what is inherited from the series, how cast handling differs, and the plan prerequisite. Only cost/credit implications and error behavior are unaddressed.

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 description coverage is 100%, so the baseline is 3. The description adds one piece of meaning beyond the schema by explaining that logline/outline seed the generated idea rather than being free-form metadata, but it says nothing else about title, seriesId, or seasonNumber.

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: 'Create the next episode of a season', and clarifies it returns a movieId that flows through the movie pipeline, which implicitly separates it from create_series and create_movie. It stops short of explicitly naming a sibling alternative, so an agent must infer the boundary from the pipeline language.

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

Usage Guidelines4/5

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

Gives strong post-creation routing by telling the agent to follow get_pipeline_state.nextStep, and states the prerequisite 'Needs a monthly plan'. It also explains the conditional cast behavior. What is missing is an explicit statement of when to prefer create_movie or create_series instead.

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