Skip to main content
Glama

Generate a character portrait

generate_character_sheet
Destructive

A reference portrait for one look of a character: one person, head to knees, on plain white, from the character's appearance and the look's description. It becomes the identity reference for every frame and video the character appears in. Without look, the default look (created as "Default" if the character has none). Costs credits (see estimate_cost); the result arrives as a take: poll with get_jobs or wait_for_jobs.

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": {
      "character_id": "<character_id>"
    },
    "name": "generate_character_sheet"
  }
}

Input Schema

NameRequiredDescriptionDefault
lookNoLook id or name
modelNoA model id from list_models; omitted = the drama's default for this kind
notesNoExtra direction for this generation only (not saved to the story)
character_idYesThe character id (chr_…), from get_drama_context.
idempotency_keyNoAny unique string you choose; resending the same key returns the first job instead of paying twice
reference_asset_idsNoUploaded reference images (create_upload_url), e.g. a face to match

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, openWorldHint=true), the description discloses the credit cost and where to check it, the async take/polling model, and a non-obvious side effect: a 'Default' look is created when the character has none. That is exactly the kind of mutation and lifecycle context annotations cannot convey.

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 critical definition of the artifact is front-loaded, followed by scope/default behavior, then cost and result-retrieval mechanics in priority order. It is dense with parentheticals but no sentence is filler; the polling and cost clauses could be tightened slightly.

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?

Even though an output schema exists and return values need not be explained, the description still covers the async take model, cost, default-look fallback, and the artifact's role as an identity reference. For a 6-parameter credit-consuming generation tool, an agent has everything needed to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning the schema lacks: omission of 'look' selects the default look rather than erroring, and the portrait is derived from the character's appearance plus the look's description. It does not elaborate on notes, model, or reference_asset_ids beyond the schema text.

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 first sentence gives a concrete verb+artifact ('A reference portrait for one look of a character') plus precise framing (one person, head to knees, plain white, derived from character appearance and look description), which cleanly separates it from siblings like generate_scene_frame or generate_location_plate. It also states the artifact's downstream role as the identity reference for every frame and video.

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?

It tells the agent what happens when 'look' is omitted (default look, created as 'Default' if none exists), that credits are consumed and to check estimate_cost, and that the result is asynchronous and must be polled via get_jobs or wait_for_jobs. It stops short of explicitly stating when to prefer this over related generation tools, but the routing and prerequisite guidance 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.