Skip to main content
Glama

create_pet_from_svg

Idempotent

Generate, auto-rig, install, and optionally spawn an animated desktop mascot from a 128x128 SVG facing left, turning custom 2D art into a usable pet.

Instructions

Generate, auto-rig, install, and optionally spawn a brand-new animated DIYPets desktop mascot from a 128x128 2D SVG facing LEFT (accepts inline svg markup up to 64 KB or a local svg_path). Use when the user asks to create or draw a custom mascot.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_pet_from_svg"
  }
}

Input Schema

NameRequiredDescriptionDefault
svgNoInline 128x128 SVG markup facing LEFT (optional semantic <g id='body|front_leg|back_leg|wing|tail|face'> groups).
nameNoDisplay name for the mascot (e.g. 'Cyber Crab').
spawnNoIf true (default), immediately spawn the newly created mascot onto the desktop.
authorNoCreator attribution stored in the exported XML header.
pack_idNoOptional lowercase snake_case folder ID (derived from `name` if omitted).
svg_pathNoPath to a local .svg file on disk (alternative to inline `svg`).
archetypeNoRigging archetype controlling walk/hop/slither/swim physics.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, so the safety profile is covered; the description adds real value by disclosing the four-stage pipeline and the 64 KB inline-SVG cap. It does not explain what happens on a name/pack_id collision, which matters given idempotentHint=true for a tool that writes new pack folders.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the action pipeline followed by the use case, with the format constraints folded into a single parenthetical. Nothing is redundant with the title or schema text.

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?

There is no output schema, and the description never says what the call returns (pack_id, install path, or failure modes), which is a meaningful gap for a 7-parameter creation tool. Input contract and invocation conditions are otherwise well covered.

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?

With 100% schema coverage the baseline is 3, and the description earns above that by adding the 64 KB size limit on `svg` and the LEFT-facing orientation requirement, neither of which appears in the schema. It does not clarify the svg-vs-svg_path precedence when both are supplied.

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 description uses a concrete verb chain ("Generate, auto-rig, install, and optionally spawn") against a specific resource ("animated DIYPets desktop mascot") and pins the input format (128x128 2D SVG, facing LEFT). An agent can distinguish this from react_pet or spawn_pet without consulting any schema.

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

Usage Guidelines4/5

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

"Use when the user asks to create or draw a custom mascot" states a clear triggering context, and the input constraint (SVG facing LEFT) implicitly excludes other asset types. It stops short of naming when to prefer spawn_pet or react_pet for existing mascots, so the boundary with siblings is left to inference.

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