Skip to main content
Glama

create_sprite

Destructive

Create a sprite for a template. partIds must include at least one part for every part class in the template. A PNG thumbnail is generated and returned as thumbnail_url. After creating the sprite, use the thumbnail to verify the image looks good, then make adjustments.

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>",
      "templateId": "<templateId>"
    },
    "name": "create_sprite"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
colorsNo
partIdsNoOne part ID per part class in the template (required by the template).
templateIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations declare readOnly=false, openWorld=false and destructive=true; the description goes beyond them by disclosing a side effect (PNG thumbnail generation) and a return field (thumbnail_url) that is otherwise undocumented since there is no output schema. It does not explain the destructive hint — e.g. whether creating with an existing name overwrites a sprite — which is the main behavioral unknown left.

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 sentences, front-loaded with the action and the hard constraint, then the return value, then the follow-up workflow — no filler. Minor redundancy between "for a template" and the later restatement of template part classes.

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 4-parameter mutation with no output schema, it covers the key validation rule and the returned thumbnail_url, which is the essential missing piece. It leaves notable gaps: no explanation of the destructive hint / name-collision behavior, no meaning for colors, and no error conditions when partIds violates the per-part-class rule.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25%, so the description must carry most parameter meaning, yet it explains only partIds, and even that largely duplicates the schema text ("One part ID per part class in the template"). The name, colors (object of color-class to string) and templateId parameters get no added semantics, and colors in particular is opaque.

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+resource ("Create a sprite") and immediately scopes it to a template, which an agent can distinguish from get_sprite/update_sprite/list_sprites. It does not, however, explicitly contrast with sibling creation tools (create_piece, create_animation) or explain how a sprite differs from those resources.

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?

It gives a post-creation workflow ("use the thumbnail to verify the image looks good, then make adjustments"), which implies the update_sprite path without naming it. There is no explicit statement of when to prefer this tool over alternatives or what prerequisites/resources must exist first (beyond the template part classes).

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