Skip to main content
Glama

Read the episode score plan

get_episode_music
Read-only

What generate_music would compose, without composing: the brief (the episode's music_prompt, or the suggested one from the drama's genre and visual style when it has none), the cue sheet (each scene: its section, length, role, level 0 silent … 4 full and whether it is automatic, and styles), the length, the model and its credits, and the music level the render uses. Set a section's level with upsert_episodes music_cues {scene_id: 0-4}. Free.

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": {
      "episode_id": "<episode_id>"
    },
    "name": "get_episode_music"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoA model id from list_models; omitted = the drama's default for this kind
promptNoA direction to try instead of the saved one
episode_idYesThe episode id (ep_…), from get_drama_context or get_episode.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered; the description adds genuinely new behavior: it is free (no credits consumed), it falls back to a suggested prompt derived from genre and visual style when the episode has none, and it reports the model's credit cost. It does not describe pagination or response envelope, but an output schema exists to cover that.

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?

The key framing is front-loaded in the first clause and every element listed is substantive. It is a single long run-on sentence with stacked parentheticals, which costs some readability but wastes no words.

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 single-item read with a required id plus two optional overrides, the description covers what is returned, cost implications, fallback behavior, and the follow-up action for editing levels, while the output schema handles the response shape. Nothing an agent needs in order to call it correctly is missing.

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 baseline is 3. The description adds marginal meaning by connecting the 'brief' to the episode's saved music_prompt versus a suggested one, which clarifies the prompt override parameter, but model and episode_id are left entirely to the schema.

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?

The opening clause 'What generate_music would compose, without composing' frames the tool precisely as a preview/dry-run and simultaneously distinguishes it from the sibling generate_music. The parenthetical enumeration (brief, cue sheet, length, model/credits, music level) makes the returned content concrete rather than tautological.

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?

The generate_music framing implies this is used to inspect a plan before composing, and the description explicitly routes level changes to upsert_episodes with the exact music_cues shape. It does not spell out a hard 'do not use after X' exclusion, but the alternative is named and the condition is clear.

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.