Skip to main content
Glama

Sketch to Design

td_sketch_to_design

Color line sketches or wireframes into finished, detailed designs, optionally in a named style, and save the result files to disk.

Instructions

Sketch to Design: colour a line sketch into a finished design, optionally in a named style. Best for: turning a sketch, line art or wireframe into a full-colour, detailed design, e.g. rough brainstorm sketches into production art. Clear, simple sketches with well-defined lines work best. 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.
styleNoSelect Style: watercolor (Watercolor), pastel_drawing (Pastel Drawing), oil_painting (Oil Painting), pencil_sketch (Pencil Sketch), paper_collage (Paper Collage), street_art (Street Art), japanese_ukiyoe (Japanese Ukiyo-e), baroque (Baroque), coloring_book (Coloring Book), art_nouveau (Art Nouveau), vintage_boho (Vintage Boho), floral (Floral), tile_art (Tile Art), surreal (Surreal), expressionist (Expressionist), mosaic (Mosaic), minimal_line_art (Minimal Line Art), stained_glass (Stained Glass), tropical (Tropical), neon (Neon), metallic (Metallic), low_poly (Low Poly), water_action (Water Action). 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.
promptNoDesign Description: what to colour and in what style, e.g. 'warm autumn palette, terracotta and mustard florals'.
output_dirNoFolder to save results in. Default: the folder of the input image (or the current directory for URL inputs). Files are never overwritten.
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).
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

A4.1/5.0
Behavior4/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true, idempotentHint=false), lowering the bar. The description adds genuine behavioral context beyond them: 'Result files are saved to disk and their paths returned,' which compensates for the missing output schema. It still omits credit cost and processing-time behavior, so not a 5.

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?

The definition is front-loaded with the core purpose before the 'Best for' clause and the input-quality caveat, and every sentence earns its place. It is appropriately sized for a 10-parameter tool, though the trailing quality note is slightly less essential than the rest.

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?

For a 10-parameter mutation tool with no output schema, the description covers purpose, ideal inputs, and the file-save/return behavior that the missing output schema would otherwise leave ambiguous. It does not mention credit estimation or the review_settings flow, but those are documented in the schema, so nothing critical is missing.

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 10 parameters, including the rich style enum guidance ('never choose for the user', 'Call describe_tool'). The description only echoes 'optionally in a named style' and adds no syntax or format detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource: 'colour a line sketch into a finished design, optionally in a named style.' The 'Best for' clause names the input domain (sketch, line art, wireframe), which effectively separates it from the many sibling design tools such as td_style_transfer and td_design_generation that operate on arbitrary images.

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: turning a sketch, line art or wireframe into a full-colour, detailed design' gives clear when-to-use context, and 'Clear, simple sketches with well-defined lines work best' adds a quality precondition. However, it names no alternative tool and states no exclusions, so an agent is not explicitly routed away from siblings.

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