Skip to main content
Glama

add_to_asset_set

Add new pieces to an existing asset set from generate_asset_set, preserving the same view, style, and palette; redraw failed pieces as needed.

Instructions

Add new pieces to an existing asset set from generate_asset_set, drawn in the same view, style preset, style words, palette and style sheet, or (redraw_failed) redraw the pieces that failed their view check or were not cut out. For a new set in another view or style use generate_asset_set; for one loose image, generate_image. Voidless+ only; 20 credits a sheet + 10 a cut on every call (estimate_only shows the plan and price free), and a long run returns a job for check_generation. Returns each new piece's asset ID, tags and world_height (in the set's reference-character heights: give size on items whose size matters) and a redraw offer for any failures.

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": {
      "set_id": "<set_id>"
    },
    "name": "add_to_asset_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsNoNew items for the set, 0-24, same shape as generate_asset_set's items. May be empty when redraw_failed is true
set_idYesThe set's id: generate_asset_set's set_id, which is its first sheet's asset id
estimate_onlyNotrue = return only the sheet plan and the price; nothing is drawn or charged (default false)
redraw_failedNotrue = also redraw, on a small sheet in the set's style, the pieces that failed the view check or went missing (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.1.1
    • changedInput schema / properties / estimate_only / description
      Previous value: -"true = only the plan and the price; nothing is drawn or charged"New value: +"true = return only the sheet plan and the price; nothing is drawn or charged (default false)"
    • changedInput schema / properties / items / description
      Previous value: -"New items for the set"New value: +"New items for the set, 0-24, same shape as generate_asset_set's items. May be empty when redraw_failed is true"
    • changedInput schema / properties / redraw_failed / description
      Previous value: -"Also redraw the set's pieces that failed the view check or went missing"New value: +"true = also redraw, on a small sheet in the set's style, the pieces that failed the view check or went missing (default false)"
    • changedInput schema / properties / set_id / description
      Previous value: -"The set's id (generate_asset_set's set_id: its first sheet's asset id)"New value: +"The set's id: generate_asset_set's set_id, which is its first sheet's asset id"
  2. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations (which only say it is a non-readonly, non-destructive, non-idempotent, closed-world write) by disclosing the Voidless+ subscription requirement, concrete credit costs (20 per sheet + 10 per cut, free with estimate_only), and that long runs return a job to poll with check_generation. It also states what is returned per piece (asset ID, tags, world_height) and the redraw offer on failures.

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?

Dense but front-loaded — the primary action and its scoping come first, followed by alternatives, gating/cost, and return shape. Almost every clause carries new information, though the single long paragraph packs costs, prerequisites and return values tightly enough to be slightly hard to scan.

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?

With no output schema and a nested item list, the description still covers what an agent needs: prerequisites (Voidless+), pricing, async job behaviour, returned fields, and how to request redraws of failed pieces. Nothing material for correct invocation 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 the baseline is 3, but the description adds real semantic glue: it explains that world_height is expressed in the set's reference-character heights and instructs the caller to supply `size` on items whose relative size matters. It confirms redraw_failed behaviour but adds little on estimate_only 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 ('Add new pieces to an existing asset set') plus the constraint that new pieces inherit the set's view, style preset, palette and style sheet, and names the alternative paths (generate_asset_set, generate_image) so it is distinguishable from siblings without opening a 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?

Explicit routing: use generate_asset_set for a new set in another view or style, generate_image for a single loose image, and redraw_failed=true when the goal is re-drawing pieces that failed the view check. It also carves out estimate_only as the free planning path, giving when-to-use guidance for each mode.

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