Skip to main content
Glama

Save a character

save_my_character

Save a character to the customer's My Characters, so any later book can use them. Do this only when the customer asks to keep this character, because the picture often shows a real person and is kept until they delete it on the website. The picture should show this character alone. The name must be new: an @Name has to point at one character. Returns a characterId to send in an order's characterDetails as { savedCharacterId: characterId }. Saving costs no credits. Editing and deleting are on the website's My Characters page.

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": {
      "name": "<name>",
      "image": "<image>"
    },
    "name": "save_my_character"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe character's name, as the customer would write it after an @.
imageYesThis character's picture. An s3Key from upload_image needs purpose character. Pass exactly one of s3Key (returned by upload_image, or a picture uploaded on the website) or data (the PNG or JPEG itself, base64, at most 4 MB).
descriptionNoWhat the character is and looks like, e.g. "a tabby cat with a red collar".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false and openWorldHint=false; the description adds the real behavioral facts an agent needs – name uniqueness ('an @Name has to point at one character'), the persistence/privacy lifetime of the picture, the absence of credit cost, and the returned characterId and how to pass it on. It only stops short of describing error modes (duplicate name, oversized image).

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?

Purpose and the when-to-use rule are front-loaded, and each following sentence carries a distinct constraint (name uniqueness, image content, cost, edit boundary). It is slightly comma-heavy and could be split for readability, but nothing is filler.

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 non-readOnly creation tool with a nested image object and no output schema, the description covers when to call it, uniqueness constraints, cost, privacy lifetime, and the return value contract – everything needed to invoke it correctly and handle the response.

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 genuine meaning beyond the schema: the name must be new because an @Name resolves to exactly one character, and the returned id must be sent as { savedCharacterId: characterId }. The single-image constraint reiterated in the schema is minor reinforcement.

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 states a specific verb and resource ('Save a character to the customer's My Characters') plus the downstream purpose ('so any later book can use them'), which separates it cleanly from read-only siblings such as list_my_characters.

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 an explicit precondition ('Do this only when the customer asks to keep this character'), the privacy reason behind it, and boundary guidance by pointing out that editing and deleting happen on the website rather than through this tool.

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