Skip to main content
Glama

Tryckfritt

Design garment

design_garment

Put the artwork on a garment and change it with a free-text instruction in Swedish or English, e.g. "small logo on the left chest", "large on the back", "make it white", "remove the background", "rounded corners", "make it heart-shaped" (shapes: rounded corners, circle, oval, heart, star). Pass base_version to keep building on an earlier version. Returns a preview image. If the response has a question, ask the user. Each artwork_id is ONE print at one place. For several prints on one garment (e.g. left + right chest, or front + back) use one artwork per print: upload another image, or copy_artwork to place the same logo again, and design each on the same product_id and color_id.

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": {
      "workspace": "<workspace>",
      "artwork_id": "<artwork_id>",
      "product_id": "<product_id>",
      "color_id": "<color_id>",
      "instruction": "<instruction>"
    },
    "name": "design_garment"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNo
color_idYes
workspaceYesWorkspace id (ws_…) returned by upload_artwork or create_upload_link.
artwork_idYes
product_idYes
instructionYes
base_versionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only declare the safety profile (not read-only, not idempotent, not destructive); the description adds real behavior beyond that — it returns a preview image, may return a question requiring user input, and is versioned via base_version. It does not cover permissions, cost/rate limits, or what happens when an instruction cannot be satisfied, but the core interaction loop is disclosed.

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-loads the core action and examples before the multi-print caveat, and every clause is functional. It is dense — the parenthetical shape list and multi-sentence print guidance run long — but nothing is pure filler.

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 7-parameter mutation tool with no output schema, the description supplies the missing return contract (preview image), the question-handling behavior, and the multi-print workflow constraint. Remaining gaps are the view parameter's role and the workspace dependency, which an agent must infer from the schema.

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

Parameters4/5

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

With schema coverage at only 14%, the description carries most of the burden and does so for the key parameters: instruction gets meaning plus allowed shape values, base_version is explained, and artwork_id is defined as one print at one place with product_id/color_id pairing guidance. The view enum (front/back/left/right) and workspace are still never mentioned, leaving a notable gap in how view relates to print placement.

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: placing artwork on a garment via free-text instruction in Swedish or English, returning a preview image. Concrete examples ('small logo on the left chest', 'make it heart-shaped') make the transform-and-preview nature unambiguous and distinguish it from siblings like copy_artwork and place_artwork.

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 routes the agent: use base_version to build on an earlier version, use copy_artwork or another upload for multiple prints, and design each print on the same product_id and color_id. It also gives a conditional behavior rule ('If the response has a question, ask the user'), so the when-to-use and when-to-follow-up paths are both covered.

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