Skip to main content
Glama

FitInView virtual try-on

Try garments on a person

create_tryon

Generate an image of the person wearing the garments. person_url: HTTPS link to a photo of one person (full body or upper body, facing the camera). garment_urls: 1 to 3 HTTPS links to product images of the clothes. Charges credits (1K 8, 2K 12, 4K 20) unless the key is a test key. Waits up to about 50 seconds; if the result is not ready, returns the job_id to pass to get_tryon.

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": {
      "person_url": "<person_url>",
      "garment_urls": "<garment_urls>"
    },
    "name": "create_tryon"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptNoOptional extra direction, e.g. 'tuck the shirt in'
person_urlYesHTTPS URL of the person photo
output_sizeNoResult resolution and cost: 1K 8 credits, 2K 12, 4K 201K
garment_urlsYes1 to 3 HTTPS URLs of garment images

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (which only flag it as non-readonly, open-world, non-idempotent, non-destructive), the description discloses credit costs per resolution tier, the test-key exemption, and the ~50 second wait with a partial-result fallback. That is exactly the operational context an agent needs before calling a charged, long-running generation tool.

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?

Three front-loaded sentences: first the action, then the per-parameter constraints, then cost/latency/fallback. No filler and no repetition of schema text.

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?

With no output schema, the description still explains what comes back (an image, or a job_id with the follow-up tool named) and covers cost and latency. Nothing essential for correct invocation is missing.

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?

Schema coverage is 100%, so baseline is 3; the description adds real constraints not in the schema, such as one person per photo, full-body or upper-body, facing the camera, and 1-3 product images. The cost-per-resolution mapping is also reinforced, though the optional prompt parameter is left to the schema.

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 ("Generate an image of the person wearing the garments") and implicitly separates itself from the retrieval sibling by noting the job_id is passed to get_tryon. An agent can tell the generation tool from get_tryon/list_tryons without opening a schema.

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

Usage Guidelines4/5

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

Gives the follow-up path explicitly: if the result is not ready within ~50 seconds, pass the returned job_id to get_tryon. That is clear routing guidance. It does not state exclusions or when not to use it (e.g., input photo requirements beyond pose), so not a full 5.

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