Skip to main content
Glama

Save a character

save_character

Save a person, creature or mascot from an image as a workspace character, so later images and videos keep the same who: pass the name in characters on generate_image, generate_video or animate_image. Make the image first with generate_image (one clear view of them alone), then save it with its job_id right away: it need not be finished. The character also appears in the Masonry app. Meant for a request to keep or reuse a character. Free: costs no credits.

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": {
      "job_id": "<job_id>",
      "name": "<name>",
      "kind": "<kind>"
    },
    "name": "save_character"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesperson, creature or mascot.
lookNoOne line, under 300 characters, of what makes them them: age, hair, distinctive features, outfit.
nameYesShort name to call the character by, e.g. Maya. The user's choice when they gave one.
notesNoPersonality and how they talk, for later scripts.
job_idYesjob_id of the image that shows the character, as generate_image returned it, finished or still being made: ideally one clear image of them alone, full body or head and shoulders, on a plain background.
from_photosNoTrue when the image was made from photos of a real person the user provided.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-destructive, non-open-world write, and the description adds genuinely non-obvious traits: the job need not be finished, the operation costs no credits, and the result surfaces in the Masonry app. It does not cover duplicate handling or what happens if the source image is later discarded, which matters given idempotentHint=false.

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-loads the core action and the downstream payoff before the workflow instructions and the cost note. The colon-chained clauses make a couple of sentences dense, and the Masonry app remark is incidental, but nothing is wasted.

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 a six-parameter write with no output schema, the description covers prerequisites, timing, cost, and where the saved character is reused — everything needed to invoke it correctly. The absence of return-value detail is acceptable since no output schema exists and the agent only needs to know the name is reusable.

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 the schema already documents all six parameters in detail. The description adds only one piece of parameter meaning — that `name` is what gets passed in `characters` on later generate/animate calls — and says nothing about `look`, `notes`, `kind` or `from_photos` beyond the schema.

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 — save a person, creature or mascot from an image as a workspace character — and frames the scope (persisting an identity for reuse) in a way that separates it from update_character and list_characters. An agent can tell what this creates 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?

Gives explicit preconditions and ordering: make the image first with generate_image (one clear view of them alone), then save it by job_id right away. It also names the downstream alternatives (generate_image, generate_video, animate_image) where the saved name is consumed, and states the intent trigger — a request to keep or reuse a character.

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