Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FAL_KEYNofal.ai key for pictures, video, voice and music. Optional: without it you get cards and ready prompts only.
CHARACTER_FORGE_DIRNoWhere characters are saved (default `~/character-forge`), one folder per character.
CHARACTER_FORGE_MODELSNoPath to your own `models.json`, to switch models or prices.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

character-forge builds vivid, story-ready characters (film, games, ads, books): a full character card plus an A-pose concept sheet. Characters are random in the sense "you can't guess who you'll get", but every part of the card grows from one core: the DNA they were born with (temperament, innate body) and the wound that landed on it (wound → lie → fear → defense/gift → truth). Write the card in an authorial voice; use character voice only for explicit thoughts, self-account and dialogue.

Always start with character_method: it contains the method, the card format and the variant-tournament protocol (3 variants of one concept compete; only the strongest ships). Run a single variant only if the user asks for a quick character. In brief mode keep everything the user specified, in every variant. Always write cards in English, whatever language the user writes in.

After a character exists, media is made only on request, one paid step at a time (ask before each): concept → location → idle video → voice (spoken in the video's moment, every language); music after the location. When the user asks what's next, call character_next and offer what it lists, with prices. Every step returns what it made (card, image, video, sound, prompt): show it to the user and offer a fix or a new take.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
character_methodA

Returns the character-development method (core + 9 sections), the card format, the variant-tournament protocol and the reference lists (arcs, flaws, fears, traits, archetypes, uniqueness questions). Call once before writing a character.

character_createA

The one way to start a character, from whatever the user gave: nothing (random), a text brief, a concept image, or a concept image plus a brief. Rolls the DNA they are born with (a temperament of six 0-100 scales), a coherent ENGINE that lands on it (wound → lie → fear → worst trait / best trait → truth → arc) and surprising SPARKS — by default 3 competing variants of the same concept for the variant tournament — and says how to treat the brief and the image. Same seed = same roll.

character_checkA

Checks a card for coherence: schema completeness, mechanical red flags (generic filler, repeats, want = need, thin core) and a coherence interview built from the card's own content that tests every causal link back to the core. Pass either a draft card (same shape as character_save's card) or the id of a saved one.

character_roleA

Returns the instructions and rubric for one role in the variant tournament (coherence, critic, judge, author, designer, editor). Reviewers should call this first.

character_saveA

Validates a complete character card and saves it as card.json and card.md. Returns the id and file paths (use character_get to show the card). Use overwrite: true with meta.slug = id to update a saved card.

character_conceptA

Builds an A-pose model-sheet prompt from a saved card's look and, with FAL_KEY set, generates it on fal.ai: a faceless figure built from the card's body (the proportions they were born with, as life events changed them, plus their posture) is drawn front and back and given to GPT Image as the pose reference, with the full look → concept.png (the card is re-rendered with it). pose_image puts the character in the pose of any picture → concept-pose.png. Every sheet drawn on the card's figure also gets its avatar for free: a square crop of the front view's head, face in the centre, saved as avatar.png (avatar-.png for a style variant) and returned with its box. Without FAL_KEY (or with dry_run) returns the prompt only. Paid: tell the user the price from character_next and wait for a yes.

character_avatarA

Free, no model call: crops the avatar (a square of the front view's head with the face in the centre, neck and shoulder tops around it; fits a circle) out of a saved concept sheet → avatar.png, or avatar-.png for concept-.png. character_concept already makes it; use this for sheets made before avatars existed, to remake one, or with box to fix a crop by hand. On a sheet forge drew, the head is found on the picture (method silhouette), or from the card's figure if it can't be (method skeleton). Imported concepts and pose sheets need a box.

character_listB

Lists saved characters (newest first), with variant group and tournament verdict when present.

character_getA

Returns a saved character card as a Markdown document to show the user (do so when a character is finished), or as JSON to edit and re-save with overwrite.

character_promptA

ONLY when the user asks for a specific prompt. Returns the rules and card material for writing ONE generation prompt for a saved character — concept, illustration, voice, video, song or theme. Write it, then call character_prompt_save. Prompts only; no generator is called. Never run this as part of creating a character.

character_prompt_saveA

Saves one written generation prompt into the character's prompts/ folder as .md (overwrites the previous one of that kind).

character_sceneA

ONLY on request. Draws the character in their own place doing what they usually do (an idle moment), using concept.png as the character reference. Saves scene.png — the first and last frame for character_video. Write a specific prompt from the card (location, idle pose, light) or omit it for a default.

character_videoA

ONLY on request, after character_scene. Animates scene.png into a silent looping idle clip: Veo 3.1 Fast by default, one 8 s piece that ends on its first frame; Kling makes it from two pieces (see loop), billed as two clips. Before the first video of a scene, a vision model reads what moves in scene.png (about $0.004, kept until the scene is redrawn), unless motion is given. dry_run returns the exact prompt and the price without making the video. Paid: tell the user the price from character_next and wait for a yes.

character_voiceA

ONLY on request; confirm the cost first. Creates the character's own voice from a description and an English reference script (write both with character_prompt kind 'voice'), plus any other languages listed in translations, each performed from the same description. Adults: ElevenLabs Voice Design, a saved voice and its reference take. Under 18: Qwen 3 Voice Design, deepened by pitch_semitones and cloned into a speaker embedding. Saves assets/voice/.

character_voice_translationA

ONLY on request, after character_voice: a new voice in another language, generated from the voice prompt translated by meaning (description + monologue), so the delivery follows the card → voice/reference..mp3, which the site plays in that language. Same price as a line.

character_voice_lineA

ONLY on request, after character_voice; one line per call, confirm the cost (priced per character, see models.json). Saves assets/voice/lines/.mp3.

character_themeA

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.

character_pickA

After the judge's verdict: moves the winning variant from the drafts into the library and deletes the other variants of its group (losers are not kept). If the character was started from the user's own concept image (meta.concept_image), it becomes the winner's concept. Write meta.verdict into the winner first.

character_translateA

When the user asked for other languages: saves the card translated (e.g. lang 'ru') as card..json next to the English original, which stays the source. Translate every free-text field in the character's own voice, as the editor would write it in that language; keep the structure, list lengths, numbers, ids, enums and colours exactly.

character_costsA

Free. Shows the character's paid generations (concept, scene, video, music, voice) with estimated USD from models.json pricing, and the total.

character_nextA

Free. Use when the user asks what's next for a character: lists what is done and the next possible steps (concept → location → video → voice, music after the location, translations), with prices. Offer them; run paid ones only after a yes.

character_meetA

Experimental. Puts 2-5 saved characters into one situation as strangers and starts a scene. Each round every character, in turn, thinks (feelings toward each other, what they want to say, hide or ask) and then speaks, acts or stays silent. Returns the director's protocol, the first speaker and their packet; record each turn with character_meet_turn.

character_meet_turnA

Records one character's turn in a scene started by character_meet, exactly as the character returned it. Returns the next speaker and their packet, or the finished scene.

character_meet_eventA

Adds a sudden change to a running scene (the cable snaps, a voice in the shaft, the door opens): everyone present perceives it before the next character acts. Use when the user asks for a twist mid-scene.

Prompts

Interactive templates invoked by user choice

NameDescription
random_characterA random but strong, coherent character: 3 competing variants, the strongest wins and gets a A-pose concept.
character_from_briefA character from what matters to you; 3 variants that all honour the brief compete, the strongest wins.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 24 tools

Disambiguation4/5

Most tools have distinct resource+action targets and fit a clear pipeline from creation through assets, prompts, costs, and multi-character scenes. Minor overlap exists between character_concept and character_avatar, and between character_costs and character_next, but their descriptions mostly explain when to use each.

Naming Consistency4/5

All tools use snake_case with a consistent character_ prefix, which makes the namespace predictable. The suffix pattern is not strictly verb_noun throughout—it mixes verbs, nouns, and composite names—but it remains readable and consistent enough.

Tool Count3/5

Twenty-four tools is heavy and sits in the borderline-overloaded range for an agent toolset. The domain is broad enough to justify many of them, but several are highly specialized lifecycle steps that could feel burdensome in selection.

Completeness4/5

The surface covers the main character-forge lifecycle: creation, saving, retrieval, validation, prompts, concept/avatar assets, voice, video, themes, translation, costs, and multi-character scenes. The notable gap is deletion/archiving of saved characters or assets, and updates are limited to overwrite-style saves.

Maintenance

ActivityMaintained
ResponsivenessUsually handled