Skip to main content
Glama

ImageToPES Embroidery Digitizer & Binary Inspector

inspect_embroidery_binary

Read-onlyIdempotent

Decode and verify a Brother .PES (#PES0001) or Tajima .DST (512-byte header) binary file for free.

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": {
      "fileBase64": "<fileBase64>"
    },
    "name": "inspect_embroidery_binary"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNameNoOriginal filename with .pes or .dst extension (default: design.pes).
fileBase64YesBase64-encoded Brother .PES or Tajima .DST binary file (max 5 MB).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed-world scope, so the safety profile is covered. The description adds format-level detail (#PES0001 magic bytes, 512-byte DST header) that implies validation depth, but it says nothing about what 'verify' checks, failure behavior for malformed files, or the 5 MB limit's consequence.

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?

A single front-loaded sentence with the action and resource up front. The trailing 'for free' is promotional filler that does not help an agent decide or invoke, which keeps it from a 5.

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?

With no output schema, the description is the only source for what comes back from a 'decode and verify' call, yet it never characterizes the result (parsed header fields, stitch count, validation errors). The safety and format sides are adequately covered; the return-value side is left blank.

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 fileName (default design.pes) and the 5 MB base64 payload are already documented. The description reinforces the accepted formats but adds no syntax, encoding, or size-handling detail 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?

Names a specific verb pair ('decode and verify') and a specific resource (Brother .PES / Tajima .DST binary), including the magic marker #PES0001 and 512-byte DST header. It is clearly an inspection tool rather than a conversion tool like the sibling convert_image_to_pes, but the sibling is never named, so differentiation is inferential.

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?

'Verify' hints at a validation use case, but there is no explicit when-to-use, no when-not-to-use, and no reference to the alternative convert_image_to_pes. An agent must infer that this is the read-only inspection path versus the image-conversion path.

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