Skip to main content
Glama
apparelhub-mcp

apparelhub-mcp

Official

Check design print quality

verify_design_quality
Read-only

Validate design quality by checking transparency correctness, resolution, and detected text; returns a 0–100 score and issues for local QC review.

Instructions

Local QC gate for a design: transparency correctness (alpha, clean corners, white premultiply), resolution, and detected text. Returns a 0-100 score + issues. Needs local Python + Pillow.

[#8e74ec]

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": {
      "design_uuid": "<design_uuid>"
    },
    "name": "verify_design_quality"
  }
}

Input Schema

NameRequiredDescriptionDefault
image_urlNo
workspaceNo
design_uuidYes
needs_transparencyNoDefault true; set false for all-over-print.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.2

TDQS

B3.1/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful context beyond them: it requires local Python + Pillow (an environment prerequisite an agent must check) and returns a 0-100 score plus an issues list, which tells the caller what to expect without an output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is front-loaded and tight, with no filler sentences. However, the trailing '[#8e74ec]' token is stray formatting noise that adds no meaning and slightly undermines the otherwise compact two-sentence structure.

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 4-parameter tool with no output schema, the description usefully discloses the environment dependency and the score+issues return shape. It falls short on parameter explanation and on stating prerequisites or failure modes for a 'local' gate that may not have Python available.

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

Parameters2/5

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

Schema description coverage is only 25%, so the description should compensate but largely does not. It clarifies needs_transparency with a default and the all-over-print exception, but image_url, workspace, and design_uuid receive no explanation of purpose or interaction anywhere.

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 ('Local QC gate for a design') and enumerates the checks performed (transparency/alpha, clean corners, white premultiply, resolution, detected text) plus the return shape. This is enough to distinguish it from verify_mockup_quality, though the 'detected text' overlap with verify_design_text is not addressed.

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?

No when-to-use or when-not-to-use guidance and no named alternatives, despite three sibling quality-check tools where routing matters. The only conditional present ('set false for all-over-print') is parameter guidance, not tool selection guidance.

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