Skip to main content
Glama

ImageToPES Embroidery Digitizer & Binary Inspector

convert_image_to_pes

Compile SVG or raster PNG/JPG artwork into 5 embroidery machine formats (.PES, .DST, .JEF, .EXP, .VP3) with 3D thread preview and worksheet.

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": "convert_image_to_pes"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoopNoTarget hoop size in mm (e.g. 100 for 4x4, 130 for 5x7, 160 for 6x10).
fabricNoFabric density and underlay preset (default: woven).
svgTextNoRaw SVG markup to digitize into embroidery stitches.
fileNameNoSource filename (e.g. logo.svg, badge.png).
maxColorsNoMaximum thread color stops (1-12).
imageBase64NoBase64-encoded PNG, JPG, WebP, or SVG image (max 5 MB).
imageExtensionNoSource image file extension.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations declare a non-read-only, non-idempotent, non-destructive, closed-world operation, and the description usefully adds that it emits five machine formats plus a 3D thread preview and worksheet. However, it never says how those artifacts are delivered (returned inline, written to disk, downloadable), how long a compile may take, or that repeated calls will re-run the compile rather than dedupe.

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?

A single front-loaded sentence that states the action, the accepted inputs, and the outputs with zero filler. The trailing mention of 3D thread preview and worksheet is compact and informative rather than padding.

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?

For a seven-parameter conversion tool with no output schema, the description should clarify what the agent receives back and how the multiple outputs are packaged. It hints at the deliverables (five formats, preview, worksheet) but leaves the delivery mechanism and the input-selection requirement ambiguous, which is a meaningful gap for a non-read-only operation.

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 coverage is 100%, so the per-parameter meanings (hoop sizes in mm, fabric presets, maxColors 1-12) are already fully documented. The description only echoes the accepted input formats and adds nothing about the relationship or mutual exclusivity between svgText, imageBase64, fileName, and imageExtension.

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 gives a specific verb ('Compile') and resource ('SVG or raster PNG/JPG artwork') and enumerates the five output formats (.PES, .DST, .JEF, .EXP, .VP3). This is clearly a conversion/production tool, which an agent can readily distinguish from the sibling inspect_embroidery_binary, though it never names that sibling explicitly.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus the inspection sibling, nor on which source input to supply (svgText vs imageBase64 vs fileName) despite all three appearing as alternatives. The schema marks zero required parameters, so the critical precondition that at least one source image must be provided is left entirely unstated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources