Skip to main content
Glama

Tryva AI Virtual Try-On

Virtual try-on on a person photo

virtual_tryon

Dress a real person photo in a garment from a product image and get a photorealistic result image. Use only a photo of the user themself or of an adult who agreed to it; never a photo of a minor; no nudity. Costs 1 credit of the API key owner's Tryva plan. Takes about 20-30 seconds: the result is returned directly when ready, otherwise a job_id to pass to get_result. Photos are processed by Tryva's AI partner (fal.ai), are not stored on Tryva's servers and are never used to train AI models; result images are hosted on a fal.media URL. Details: https://tryva.ai/privacy

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_image_url": "<person_image_url>",
      "garment_image_url": "<garment_image_url>"
    },
    "name": "virtual_tryon"
  }
}

Input Schema

NameRequiredDescriptionDefault
person_image_urlYesPublic https URL of the person photo (JPEG, PNG or WebP, up to 10 MB). Full or half body works best.
garment_image_urlYesPublic https URL of the garment or product photo (JPEG, PNG or WebP, up to 10 MB).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already flag a non-read-only, non-idempotent, open-world operation, and the description goes well beyond that with cost (1 credit), latency (~20-30s), and a dual sync/async return contract that routes to get_result. It also discloses that images go to a third-party processor (fal.ai), are not stored on Tryva servers, are not used for training, and are hosted on a fal.media URL. That is exactly the kind of behavioral context annotations cannot carry.

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?

Purpose is front-loaded in the first sentence, then constraints, cost/latency/return contract, and privacy are layered in descending order of operational importance. Every clause carries decision-relevant information; even the privacy sentence matters because the tool sends user photos off-platform. No filler or repetition.

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 correctly takes on the return contract itself: an image when ready, otherwise a job_id for get_result. Cost, timing, third-party processing, and result hosting are all covered. For a two-parameter, non-idempotent, credit-consuming tool, an agent has everything needed to call it and interpret the response.

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 both parameters already document accepted formats, size limit, and the 'full or half body works best' hint. The description reinforces the person/garment distinction but adds no new syntax, URL requirements, or edge-case meaning beyond the schema. Baseline 3 is the right call here.

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?

The opening sentence names a specific verb and resource chain: dress a real person photo in a garment from a product image and return a photorealistic result. That is far more than a restated title. It stops short of 5 because it never contrasts itself with the sibling product_on_model, so an agent must infer which one applies when a garment photo is involved.

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?

It sets clear input-usage boundaries (only the user themself or a consenting adult, never a minor, no nudity), which is real guidance an agent must apply before calling. It also tells the agent how to continue when a job_id comes back instead of an image. It gives no explicit rule for choosing this tool over product_on_model, so it is context-rich but not a full selection rubric.

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