Skip to main content
Glama

import_svg

Imports SVG files as editable vector shapes on a drawing, turning each path into a tweenable shape; fit artwork to a box and optionally add hand-drawn wobble.

Instructions

Import an SVG file (Inkscape/Illustrator/free assets) as editable vector shapes on a drawing. Every path becomes an 'svgpath' shape you can tween, recolour or humanize (human=true adds the hand-drawn wobble/pressure of the layer style). box [x,y,w,h] fits the art (default whole canvas).

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": {
      "scene": "<scene>",
      "layer": "<layer>",
      "path": "<path>"
    },
    "name": "import_svg"
  }
}

Input Schema

NameRequiredDescriptionDefault
boxNo
pathYes
forceNo
frameNo
humanNo
layerYes
sceneYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden. It does useful work by disclosing that every path becomes a separate 'svgpath' shape that can be tweened/recoloured/humanized, and what human=true actually changes. It says nothing about overwrite/conflict behavior, permissions, or what happens to the target layer's existing content — the 'force' parameter strongly hints at a destructive/overwrite path that is left unexplained.

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?

Three compact sentences that front-load the action and the result, with the box and human details appended as clarifiers. Slightly dense with parentheticals but no wasted sentences.

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

Completeness2/5

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

A 7-parameter, 3-required import tool with no annotations and no output schema needs more than this: the meaning of force (presumably overwrite) and frame are entirely absent, and the required scene/layer targets are never characterized. The description is adequate for the SVG-to-shape concept but incomplete for correct invocation.

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 0% across 7 parameters, so the description must compensate. It explains box as [x,y,w,h] with a default of the whole canvas, and explains human=true, and implies path is the SVG file. But force, frame, layer, and scene — including the three required ones for scene/layer — receive no explanation at all.

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?

States a specific verb and resource ('Import an SVG file ... as editable vector shapes on a drawing') and even names the resulting shape type ('svgpath'), which tells an agent what it gets back. It doesn't explicitly contrast with the sibling import_image (raster), but the 'SVG' qualifier effectively separates the two.

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 parenthetical 'Inkscape/Illustrator/free assets' implies the kinds of sources this is meant for, and the box note implies fitting behavior. There is no explicit when-to-use/when-not statement and no routing to import_image or import_scene for other asset types, so guidance remains implied.

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