Skip to main content
Glama
apparelhub-mcp

apparelhub-mcp

Official

Check mockup quality

verify_mockup_quality
Read-only

Check rendered product mockups for three hard defects: printed chroma-green background, empty output, and renders too small to judge. Returns a visual checklist for manual review.

Instructions

QC gate for a rendered product MOCKUP (verify_design_quality checks the design; this checks the render on the garment). Deterministically catches three defects that have actually shipped: an un-keyed chroma-green background printed onto the product, an empty render, and a render too small to judge. It does NOT decide whether the design is upright, clipped, seam-split, or whether every face is printed: those need looking at the image, and a pixel statistic that guessed would be confidently wrong on exactly those cases. It returns a fixed visual_checklist for you to answer by VIEWING the render, so grading is consistent across callers. Treat a clean result as "no hard defect found", not "the mockup is good" until you have answered the checklist.

[#feb72a]

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": {
      "preview_url": "<preview_url>"
    },
    "name": "verify_mockup_quality"
  }
}

Input Schema

NameRequiredDescriptionDefault
preview_urlYesURL of the rendered mockup to grade.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.2

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, open-world), and the description goes well beyond them: it enumerates the three defects actually detected, states what is deliberately not judged and why a pixel heuristic would be wrong there, and describes the fixed visual_checklist returned. The only gap is that it does not say what a failing result looks like structurally, though the checklist framing covers most of it.

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-loaded with the core purpose and the sibling distinction, and each sentence carries real information about scope, limits, or return shape. The trailing '[#feb72a]' token is unexplained noise that should not be in a tool description.

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

Completeness5/5

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

There is no output schema, so the description must explain the return value, and it does: a fixed visual_checklist to be answered by viewing the render. Combined with the explicit defect coverage and exclusions, an agent has everything needed to call it and interpret the result correctly.

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?

With a single parameter at 100% schema coverage, the schema already documents preview_url as the rendered mockup URL. The description reinforces the context (the render, not the design) but adds no format, size, or accessibility constraints beyond the schema, so the baseline 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 ('QC gate for a rendered product MOCKUP') and immediately distinguishes it from the sibling verify_design_quality by scoping itself to the render on the garment rather than the design. An agent can tell the two apart without opening either schema.

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

Usage Guidelines5/5

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

Explicitly names the alternative (verify_design_quality) and the dividing condition, then lists concrete exclusions ('upright, clipped, seam-split, whether every face is printed') and tells the caller to view the image for those. It also instructs how to interpret a clean result, which is a usage rule, not just a behavior note.

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