Skip to main content
Glama

add_character

Add ONE new character to the cast with a name, an appearance description and a voice description. Use when the user asks for a character the script detection did not produce ("add a second villager", "we also need the wolf"). Creates no portrait: offer enqueue_generate_images({ characterIds: [newId] }) afterwards. Set voice_only for a narrator or other voice heard but never seen. Call once per character.

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

Input Schema

NameRequiredDescriptionDefault
nameYesDisplay name, e.g. "SECOND VILLAGER".
movieIdYesThe movie id (uuid) this call operates on. Get it from create_movie or list_movies.
voice_onlyNoTrue for a narrator / voice-over that never appears on screen.
descriptionYesPhysical appearance for the image model, in English: age, build, face, hair, clothing. It must agree with the movie's CONTINUITY RULES (the system prompt and list_characters show them): never contradict one.
voice_descriptionNoHow the character sounds, in English, starting with their sex and age (e.g. "A woman in her thirties, warm and quick").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does so well: it discloses the non-obvious consequence that no portrait is created and supplies the remediation call. It also warns that the description must agree with the movie's CONTINUITY RULES, a real correctness constraint. The gap is that the response payload is only hinted at (newId) rather than stated, and nothing is said about duplicate names or failure modes.

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 action and scope, then layered with trigger, caveat, follow-up, and cardinality rule; almost every clause carries routing or behavioral information. Minor redundancy between "Add ONE" and "Call once per character", and the sentence about enqueue_generate_images is syntactically dense.

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 five params, no annotations, and no output schema, the definition is nearly sufficient: it explains scope, prevents the wrong-call case, gives the follow-up path, and flags the continuity constraint. The remaining hole is the return contract (what newId looks like / what else comes back), which an agent must guess.

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 100%, so all five parameters are already documented, and most of the description's parameter talk (voice_only for narrators, name format) restates the schema. The one added nuance is the continuity-rules constraint on description, but the phrasing "with a name, an appearance description and a voice description" can imply voice_description is required when the schema lists only three required fields.

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 ("Add ONE new character to the cast") plus the payload it needs (name, appearance, voice), which is immediately distinguishable from siblings like add_prop, update_character, or delete_character. The capitalized "ONE" also sets the granularity expectation.

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 an explicit trigger condition ("Use when the user asks for a character the script detection did not produce") with concrete utterance examples, which implicitly defines the when-not case (detection already produced it). It also routes follow-up work to enqueue_generate_images with the exact argument shape, and carves out the narrator case via voice_only.

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