Skip to main content
Glama
genart-dev

genart-mcp

by genart-dev

design_trace_splines

Fit cubic Bezier splines to traced contours, converting edge data into vector curves with presets and quality controls for sketches, photos, line art, watercolor, and detail.

Instructions

Fit smooth cubic Bezier splines to traced contours. Produces vector-quality curves from edge data. Supports threshold presets (sketch, photograph, line-art, watercolor, detail) and vectorization quality controls.

Input Schema

NameRequiredDescriptionDefault
passesNoNumber of refinement passes if multiPass is true (default: 3).
presetNoThreshold preset for edge/contour/spline parameters (default: none — use individual params).
epsilonNoRDP contour simplification epsilon (default: 2.0).
sourceIdNoReference image asset ID (default: current canvas).
minLengthNoMinimum contour length in pixels (default: 10).
multiPassNoUse multi-pass refinement for more detail (default: false).
toleranceNoSpline fit tolerance (default: 2.0). Lower = tighter fit, more segments.
createLayerNoCreate a trace layer (default: true).
mergeDistanceNoMerge contour endpoints within this distance (default: 0 = no merge).
maxPointsPerContourNoMax points per contour — subsamples dense contours (default: 0 = unlimited).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. It says it 'produces' curves and mentions presets, but never states whether the result is written to a new layer, replaces existing content, is destructive, or returns data. Only the schema parameter createLayer hints at this side effect.

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 short sentences with the core action front-loaded, and the preset/quality-control note as supporting detail. No filler, though the third sentence is close to restating the schema.

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?

For a ten-parameter mutation tool with no annotations and no output schema, the description is thin. It omits the input prerequisite (needing existing traced contour data), the output or layer side effects, and any behavioral constraints, leaving an agent to guess how the tool changes the document.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents all ten parameters, including defaults and the preset enum. The description restates the preset names and generically refers to 'vectorization quality controls' without adding meaning beyond the schema; baseline 3 is appropriate.

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 states a specific verb and resource: fitting cubic Bezier splines to traced contours, producing vector curves from edge data. That is clear and concrete. However, it never distinguishes itself from close siblings such as design_trace_contours or design_trace_edges, so an agent must infer the boundary.

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?

Usage is only implied: the phrase 'from edge data' suggests it runs after an edge/contour trace, and 'vector-quality curves' hints at the vectorization context. There is no explicit when-to-use, when-not-to-use, or named alternative among the many design_trace_* siblings.

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

Deploy Server

Other Tools