Skip to main content
Glama

Embroidery Effect

td_embroidery_effect

Render a design as embroidery with Indian craft and classic stitch styles; preview before sampling and get saved output paths.

Instructions

Embroidery Effect: render the design as embroidery. Stitch types: bandhani, kantha, chikankari, zardozi, phulkari, aari, satin, chain, cross, running, french_knot. 13 credits. Best for: previewing a design as realistic embroidery or Indian craftwork (e.g. Zardozi, Chikankari, Phulkari) before sampling. Result files are saved to disk and their paths returned.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dpiNoOutput resolution in ppi (72-500). Omit to keep the image's own resolution.
waitNoWait for the job and save the outputs (default true). false returns the task_id right after submit.
imageYesSource image: a local file path or an http(s) URL. PNG, JPEG or WebP, up to 80 MB and 5000 px per side.
densityNoStitch Density: sparse (Sparse): Open stitching with visible base fabric. moderate (Moderate, Recommended): Balanced coverage, standard hand-embroidery. dense (Dense): Tightly packed, full thread coverage. Required: pass the mode the user named. If the user did not name one, omit it and the tool returns the modes to show them; never choose for the user.
output_dirNoFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
depth_levelNoDepth Level: low (Subtle Depth): Gently raised with minimal shadows. medium (Moderate Depth, Recommended): Standard embroidery height with natural shadows. high (Dramatic Depth): Heavily raised, sculptural stumpwork style. Required: pass the mode the user named. If the user did not name one, omit it and the tool returns the modes to show them; never choose for the user.
stitch_typeNoStitch Style: bandhani (Bandhani), kantha (Kantha), chikankari (Chikankari), zardozi (Zardozi), phulkari (Phulkari), aari (Aari / Kashida), satin (Satin Stitch, Recommended), chain (Chain Stitch), cross (Cross Stitch), running (Running Stitch), french_knot (French Knot). Required: pass the mode the user named. If the user did not name one, omit it and the tool returns the modes to show them; never choose for the user. Call describe_tool for what each option does.
estimate_onlyNoOnly return the credit estimate; nothing is uploaded or charged.
review_settingsNoOmit it and the tool first asks whether to use the recommended settings or adjust them (unless the call already sets some). true: ask each setting one by one. false: run with the given or recommended settings without asking; pass it only after the user chose that.
timeout_secondsNoHow long to wait for the job before returning its task_id (default 240).
thread_thicknessNoThread Thickness: thin (Thin Thread): Fine, delicate stitching (1-2 strand). medium (Medium Thread, Recommended): Standard embroidery weight (3-4 strand). thick (Thick Thread): Bold, chunky stitching (6-strand or wool). Required: pass the mode the user named. If the user did not name one, omit it and the tool returns the modes to show them; never choose for the user.
unlimited_bundleNoRequest the Unlimited bundle for this run (only has effect on Unlimited plans; the server decides).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.9/5.0
Behavior4/5

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

With annotations present (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true) the safety profile is already covered, so the description's job is additive. It contributes two genuinely useful facts not in structured data: the fixed '13 credits' cost and the fact that 'result files are saved to disk and their paths returned.' It stays silent on async/job timing, but wait/timeout_seconds in the schema cover that.

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?

Front-loads the action ('render the design as embroidery') before the option list, then closes with cost and output location. The 11-item stitch enumeration is somewhat list-heavy and duplicates the schema enum, marginally reducing density but not obscuring the core intent.

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

Completeness4/5

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

No output schema exists, so the description usefully states that files are written to disk and paths are returned, closing the biggest return-value gap. Credit cost and the sampling-oriented use case are also covered, though job lifecycle and failure behavior remain unspecified.

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% and every enum option carries a human-readable label plus an explicit 'omit it and the tool returns the modes' instruction, so the schema already does all parameter work. The description's stitch-type list merely restates the enum. 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?

States a specific verb and resource: 'render the design as embroidery,' and enumerates the exact stitch styles available, so an agent knows precisely what transform this performs. It does not, however, name or contrast itself with the many adjacent effect siblings (td_3d_effect, td_channeling, td_style_transfer), leaving that routing to inference.

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?

'Best for: previewing a design as realistic embroidery or Indian craftwork (e.g. Zardozi, Chikankari, Phulkari) before sampling' gives a clear use context including the pre-sampling workflow. No when-not conditions or named alternatives are provided, and given the large sibling set of effect tools that is a real gap.

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