Skip to main content
Glama

Background theme (music)

character_theme

Generates an instrumental leitmotif from a saved theme composition plan and saves it as assets/theme.mp3, so characters get a reusable musical identity.

Instructions

ONLY on request, after a theme prompt is saved (character_prompt kind "theme" → character_prompt_save). Generates the instrumental leitmotif from its composition plan with ElevenLabs Music v2.5 and saves assets/theme.mp3. Paid: tell the user the price from character_next and wait for a yes.

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": {
      "id": "<id>"
    },
    "name": "character_theme"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
seedNoSame seed + same plan gives a similar result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only cover openWorldHint/idempotent/destructive; the description adds the important facts that this is a paid call, that the price must be fetched from character_next, that the agent must obtain explicit user confirmation before proceeding, and that a file is written to assets/theme.mp3. The seed note ('same seed + same plan gives a similar result') is consistent with idempotentHint=false. Minor gap: no mention of failure/timeout behavior for an external paid service.

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?

Two dense sentences with the hard constraint front-loaded ('ONLY on request...'), followed by what it does and the payment gate. No filler; every clause carries a constraint the agent needs.

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 paid, side-effecting generator with no output schema, the description covers the prerequisite, the cost/confirmation flow, and the produced file, which is most of what an agent needs. The unexplained `id` parameter is the remaining gap.

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 coverage is 50%: seed is documented in the schema and the description's 'same plan' phrasing reinforces it, but the required `id` parameter is never explained (implicitly the saved theme prompt/character identifier). With half the parameters undocumented, the description only partially compensates.

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 — generates the instrumental leitmotif from its composition plan — plus the concrete backend (ElevenLabs Music v2.5) and the artifact written (assets/theme.mp3). This is clearly distinguishable from the sibling voice/translation/video tools without opening any schema.

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 gating: 'ONLY on request, after a theme prompt is saved', with the exact prerequisite chain (character_prompt kind "theme" → character_prompt_save). It also names the follow-up alternative flow (character_next for price, then wait for a yes), so both when-to-use and the required sequencing are spelled out.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.