Skip to main content
Glama

Make the avatar from a concept sheet

character_avatar
Idempotent

Crops a square head-and-shoulders avatar from a saved concept sheet and saves it as avatar.png or a style-specific file; use it to create or remake avatars or fix a crop with a manual box.

Instructions

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.

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_avatar"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCharacter id returned by character_save.
boxNoCrop by hand: a square as fractions of the sheet, x and w of its width, y of its height. It may reach past the edges (filled with the background); its centre must be on the sheet.
poseNoThe sheet made with pose_image (concept-pose.png); it needs a box.
styleNoThe sheet's style, as given to character_concept: omit for concept.png, 'card' or a style text for concept-<style>.png.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.8

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations (non-read-only, idempotent, closed-world), the description discloses that the call is free with no model call, that it writes a file whose name depends on the sheet style, and that head detection runs silhouette first with a skeleton fallback. It does not say whether an existing avatar.png is overwritten or how failures are reported, which is the only meaningful gap.

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?

It is front-loaded with the free/no-model-call fact and the crop definition, and every clause carries information. The heavy parenthetical and em-dash stacking make it denser than it needs to be for a four-parameter tool, but nothing is padding.

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 file-producing tool with no output schema, the description names the output artifacts and the two detection methods, and it covers the awkward input cases (imported concepts, pose sheets needing a box). Missing only edge-case behavior such as overwrite semantics or error reporting.

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: box is the manual override for fixing a bad crop, and it is explicitly required for imported concepts and pose sheets. The 'box' semantics (square, may exceed edges, centre must be on sheet) are left to the schema, which already covers them.

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 description states a specific verb and resource — crops the head/front view square out of a saved concept sheet into avatar.png (or avatar-<style>.png) — and explicitly distinguishes itself from character_concept, which 'already makes it'. An agent can identify what this produces without opening the 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?

It gives a concrete routing rule against a named sibling: use character_concept normally, use this only for sheets made before avatars existed, to remake one, or with box to fix a crop by hand. It also states the preconditions for the box path (imported concepts and pose sheets), so the when-to-use decision is fully resolved.

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