Skip to main content
Glama

save_part

Save reusable character parts, such as heads, eyes, hands, mouths, and props, to the global model-sheet library with variants and an anchor point for reuse in drawings.

Instructions

Save a reusable part to the global model-sheet library (head, eye, hand, mouth chart, prop). shapes use the part's own coordinates; anchor [x,y] is its attachment/pivot point. variants: alternative drawings by name, e.g. {"closed": [...], "A": [...], "O": [...]}. Use in any drawing as {"type":"part","name":..,"variant":..,"x","y","scale","rotation","flip"}.

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>",
      "shapes": "<shapes>"
    },
    "name": "save_part"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
notesNo
anchorNo
shapesYes
variantsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description bears the full behavioral burden. It does disclose two useful traits: the library is 'global' (parts persist across drawings) and shapes are stored in the part's own coordinate space with anchor as pivot, which is real context beyond the schema. It omits what happens when a name already exists (overwrite? error? version?), permission/ownership rules for a global shared library, and whether the save is atomic.

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?

Four short, front-loaded lines: purpose first, then the two semantic parameters that most need explaining, then the consumption format. No filler sentences. Minor deduction for the dense run-on variant-lines format and inconsistent capitalization/lowcase sentence starts that slightly impede scanning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter mutation tool with zero annotations and no output schema, the description covers the core semantic model (coordinates, pivot, variants, consumption format) well. It is still incomplete on name-collision behavior, the notes field, and what the caller gets back on success or failure — details an agent needs before calling a global-library write.

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 description coverage is 0% across 5 parameters, so the description must compensate and largely does: it defines 'shapes' as drawing data in the part's own coordinates, 'anchor' as the [x,y] attachment/pivot point, and 'variants' as named alternative drawings with a concrete JSON example. Only 'notes' is left completely undefined, which keeps this just short of full marks given the total schema-coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and destination resource: save a reusable part to the 'global model-sheet library', with concrete examples of part kinds (head, eye, hand, mouth chart, prop). An agent immediately knows this is a write-to-library operation, though it never explicitly contrasts with the sibling list_parts or explains that parts are read back through that sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The closing sentence explains how a saved part is consumed in a drawing ({"type":"part","name","variant","x","y","scale","rotation","flip"}), which implies the workflow. However, there is no explicit when-to-use guidance versus drawing strokes directly (draw/draw_many) or versus add_layer, and no stated prerequisites or ordering (e.g., must a scene exist first).

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