Skip to main content
Glama

Reskin a rigged character (beta)

reskin_character

Beta, for invited accounts only. New skin for a Spine-rigged character, the editor's Character skins → Reskin…: paints a concept of the new look over the character's front/side/back views, then cuts the concept into the skin's parts with the rig and saves them as a new skin folder beside the original (same file names, so the rig animates it; the original is unchanged). One call = concept + parts (1 generation, ~8 credits). Use concept_only to show the concept first (~8 credits), then call again with its concept_id to make the parts (no credits). parts_by "ai" has the model repaint every part instead (one more generation per view, ~8 credits each).

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": {
      "skin_folder": "<skin_folder>"
    },
    "name": "reskin_character"
  }
}

Input Schema

NameRequiredDescriptionDefault
partsNoOnly these parts are repainted (file names without .png, e.g. ["head_front", "head_side", "head_back"]), like having only them open in the editor; the new skin copies the others as they are. Default: every part. Not used for the concept.
outlineNoOutline on the parts: none (default; parts blend where they overlap) | source (keep the skin's own) | dark | palette-matched.
parts_byNoHow the concept becomes the parts. rig (default, no credits): the rig copies the concept onto each part exactly where a view shows it, so the new skin stands as the concept does. ai: the model repaints every part on one sheet per view (~8 credits per view).
concept_idNoPaint the parts from a concept an earlier concept_only call returned (one sheet), instead of drawing a new concept.
structuredNoFor a program that calls this tool from code: true also returns the result as data (structuredContent: the saved ids, the credits). Leave it out in a chat: some clients then show only that data and drop the previews.
descriptionNoThe new look, e.g. "a pirate captain with a red coat, gold buttons and a tricorn hat". Required unless concept_id is given.
skin_folderYesThe skin folder to reskin: its folder id, or its path in Files (e.g. "spineraw/rabbit-pixel/valkyrie", or the end of it, "rabbit-pixel/valkyrie"). It must be under a folder with an attached Spine character rig (front/side/back views).
concept_onlyNoDraw only the concept (one sheet) and return it with a concept_id, so the user can approve it first. Default false: concept and parts in one call.
reference_idNoOptional picture of the new look from References (upload_style_reference / list_style_references). Concept only.
new_skin_nameNoName of the new skin folder (default: the skin name plus words of the description, e.g. "valkyrie_pirate_captain").
preserve_paletteNoKeep the character's own colours in the new look (best effort). Default true. Concept only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / structured
      Added value: +{
      +  "description": "For a program that calls this tool from code: true also returns the result as data (structuredContent: the saved ids, the credits). Leave it out in a chat: some clients then show only that data and drop the previews.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / parts
      Added value: +{
      +  "description": "Only these parts are repainted (file names without .png, e.g. [\"head_front\", \"head_side\", \"head_back\"]), like having only them open in the editor; the new skin copies the others as they are. Default: every part. Not used for the concept.",
      +  "items": {
      +    "maxLength": 80,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 64,
      +  "type": "array"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / parts_by
      Added value: +{
      +  "description": "How the concept becomes the parts. rig (default, no credits): the rig copies the concept onto each part exactly where a view shows it, so the new skin stands as the concept does. ai: the model repaints every part on one sheet per view (~8 credits per view).",
      +  "enum": [
      +    "rig",
      +    "ai"
      +  ],
      +  "type": "string"
      +}
  4. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: credit costs per path, that the original skin is unchanged, that the new folder sits beside the original with identical file names so the rig still animates, and that preserve_palette is best-effort. The annotations already cover safety (destructiveHint=false, openWorldHint=true), and the description is consistent with them, though it does not cover failure modes when no rig is attached.

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 beta restriction and the core action, then the workflow and cost notes, so the important routing information comes first. It is a dense single paragraph of justified length for an 11-parameter tool, but the run-on construction makes the cost notes harder to scan than a short bulleted structure would.

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 an 11-parameter, high-cost, non-idempotent generation tool with no output schema, the description supplies the workflow, side effects, cost model, and the return hint (concept_id, saved ids via structured). Nothing an agent needs in order to decide between the one-call and two-call paths is missing.

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 baseline is 3, but the description adds real meaning on top: the concept_only/concept_id pairing, the credit consequence of parts_by, and that reference_id and preserve_palette only apply to the concept stage. The only gap is that individual parameters like outline or parts are not elaborated beyond their 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?

States a specific verb and resource (reskin a Spine-rigged character) and names the exact editor action it mirrors (Character skins → Reskin…), so an agent can distinguish it from generic generation siblings like apply_with_ai or generate_variants. The scope — paints a concept then cuts it into the skin's parts with the rig — is 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit branching instructions: one call for concept+parts, or concept_only first (~8 credits) then a second call with concept_id (no credits), and parts_by "ai" as the more expensive repaint alternative. It also states the eligibility precondition (beta, invited accounts only), which prevents futile calls.

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