Skip to main content
Glama

YouCam for Beauty & Personal Care

Ai Hair Style Virtual Try On

AI-Hair-Style-Virtual-Try-On

Using the latest AI technology to try a wide variety of hairstyles, catering to both women and men, meeting different gender and style preference. Discover a world of styles: curly, long, buzz cut, and more. Our AI-powered hair changer lets you experiment effortlessly. Find your ideal hairstyle now!

Input Schema

NameRequiredDescriptionDefault
pollingNoIf true (default), keep polling until the task finishes, returning the final result. If false, return immediately without waiting for the task to finish.
requestYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / request / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "ref_file_url": {
      -        "description": "Url of the reference file to run task. The url should be publicly accessible.",
      -        "examples": [
      -          "https://example.com/reference.jpg"
      -        ],
      -        "type": "string"
      -      },
      -      "src_file_url": {
      -        "description": "Url of the file to run task. The url should be publicly accessible.",
      -        "examples": [
      -          "https://example.com/selfie.jpg"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "src_file_url",
      -      "ref_file_url"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "ref_file_id": {
      -        "description": "ID of the reference file to run task. File ID from upload file API.",
      -        "examples": [
      -          "pfNK5PuRe0MrwLHcGA3DOmB1ahwfXTbYHjv+KoBIxbE="
      -        ],
      -        "type": "string"
      -      },
      -      "src_file_url": {
      -        "description": "Url of the file to run task. The url should be publicly accessible.",
      -        "examples": [
      -          "https://example.com/selfie.jpg"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "src_file_url",
      -      "ref_file_id"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "ref_file_url": {
      -        "description": "Url of the reference file to run task. The url should be publicly accessible.",
      -        "examples": [
      -          "https://example.com/reference.jpg"
      -        ],
      -        "type": "string"
      -      },
      -      "src_file_id": {
      -        "description": "ID of file to run task. File ID from upload file API.",
      -        "examples": [
      -          "pfNK5PuRe0MrwLHcGA3DOmB1ahwfXTbYHjv+KoBIxbE="
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "src_file_id",
      -      "ref_file_url"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "ref_file_id": {
      -        "description": "ID of the reference file to run task. File ID from upload file API.",
      -        "examples": [
      -          "pfNK5PuRe0MrwLHcGA3DOmB1ahwfXTbYHjv+KoBIxbE="
      -        ],
      -        "type": "string"
      -      },
      -      "src_file_id": {
      -        "description": "ID of file to run task. File ID from upload file API.",
      -        "examples": [
      -          "pfNK5PuRe0MrwLHcGA3DOmB1ahwfXTbYHjv+KoBIxbE="
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "src_file_id",
      -      "ref_file_id"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "hair_color": {
      -        "anyOf": [
      -          {
      -            "enum": [
      -              "ref",
      -              "src"
      -            ],
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": "ref",
      -        "description": "Specifies the hair color of the output image (source/reference), default reference color. <br><b>*only support when using template, custom reference image is always using reference hair color.</b>"
      -      },
      -      "src_file_url": {
      -        "description": "Url of the file to run task. The url should be publicly accessible.",
      -        "examples": [
      -          "https://example.com/selfie.jpg"
      -        ],
      -        "type": "string"
      -      },
      -      "template_id": {
      -        "description": "ID of the template. List predefined templates first, and use the id of a template.",
      -        "examples": [
      -          "good_template_001"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "src_file_url",
      -      "template_id"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "hair_color": {
      -        "anyOf": [
      -          {
      -            "enum": [
      -              "ref",
      -              "src"
      -            ],
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": "ref",
      -        "description": "Specifies the hair color of the output image (source/reference), default reference color. <br><b>*only support when using template, custom reference image is always using reference hair color.</b>"
      -      },
      -      "src_file_id": {
      -        "description": "ID of file to run task. File ID from upload file API.",
      -        "examples": [
      -          "pfNK5PuRe0MrwLHcGA3DOmB1ahwfXTbYHjv+KoBIxbE="
      -        ],
      -        "type": "string"
      -      },
      -      "template_id": {
      -        "description": "ID of the template. List predefined templates first, and use the id of a template.",
      -        "examples": [
      -          "good_template_001"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "src_file_id",
      -      "template_id"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "hair_color": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "ref",
      +              "src"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": "ref",
      +        "description": "Specifies the hair color of the output image (source/reference), default reference color."
      +      },
      +      "ref_file_url": {
      +        "description": "Url of the reference file to run task. The url should be publicly accessible.",
      +        "examples": [
      +          "https://example.com/reference.jpg"
      +        ],
      +        "type": "string"
      +      },
      +      "src_file_url": {
      +        "description": "Url of the file to run task. The url should be publicly accessible.",
      +        "examples": [
      +          "https://example.com/selfie.jpg"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "src_file_url",
      +      "ref_file_url"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "hair_color": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "ref",
      +              "src"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": "ref",
      +        "description": "Specifies the hair color of the output image (source/reference), default reference color."
      +      },
      +      "ref_file_id": {
      +        "description": "ID of the reference file to run task. File ID from upload file API.",
      +        "examples": [
      +          "pfNK5PuRe0MrwLHcGA3DOmB1ahwfXTbYHjv+KoBIxbE="
      +        ],
      +        "type": "string"
      +      },
      +      "src_file_url": {
      +        "description": "Url of the file to run task. The url should be publicly accessible.",
      +        "examples": [
      +          "https://example.com/selfie.jpg"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "src_file_url",
      +      "ref_file_id"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "hair_color": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "ref",
      +              "src"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": "ref",
      +        "description": "Specifies the hair color of the output image (source/reference), default reference color."
      +      },
      +      "ref_file_url": {
      +        "description": "Url of the reference file to run task. The url should be publicly accessible.",
      +        "examples": [
      +          "https://example.com/reference.jpg"
      +        ],
      +        "type": "string"
      +      },
      +      "src_file_id": {
      +        "description": "ID of file to run task. File ID from upload file API.",
      +        "examples": [
      +          "pfNK5PuRe0MrwLHcGA3DOmB1ahwfXTbYHjv+KoBIxbE="
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "src_file_id",
      +      "ref_file_url"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "hair_color": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "ref",
      +              "src"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": "ref",
      +        "description": "Specifies the hair color of the output image (source/reference), default reference color."
      +      },
      +      "ref_file_id": {
      +        "description": "ID of the reference file to run task. File ID from upload file API.",
      +        "examples": [
      +          "pfNK5PuRe0MrwLHcGA3DOmB1ahwfXTbYHjv+KoBIxbE="
      +        ],
      +        "type": "string"
      +      },
      +      "src_file_id": {
      +        "description": "ID of file to run task. File ID from upload file API.",
      +        "examples": [
      +          "pfNK5PuRe0MrwLHcGA3DOmB1ahwfXTbYHjv+KoBIxbE="
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "src_file_id",
      +      "ref_file_id"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "hair_color": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "ref",
      +              "src"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": "ref",
      +        "description": "Specifies the hair color of the output image (source/reference), default reference color."
      +      },
      +      "src_file_url": {
      +        "description": "Url of the file to run task. The url should be publicly accessible.",
      +        "examples": [
      +          "https://example.com/selfie.jpg"
      +        ],
      +        "type": "string"
      +      },
      +      "template_id": {
      +        "description": "ID of the template. List predefined templates first, and use the id of a template.",
      +        "examples": [
      +          "good_template_001"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "src_file_url",
      +      "template_id"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "hair_color": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "ref",
      +              "src"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": "ref",
      +        "description": "Specifies the hair color of the output image (source/reference), default reference color."
      +      },
      +      "src_file_id": {
      +        "description": "ID of file to run task. File ID from upload file API.",
      +        "examples": [
      +          "pfNK5PuRe0MrwLHcGA3DOmB1ahwfXTbYHjv+KoBIxbE="
      +        ],
      +        "type": "string"
      +      },
      +      "template_id": {
      +        "description": "ID of the template. List predefined templates first, and use the id of a template.",
      +        "examples": [
      +          "good_template_001"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "src_file_id",
      +      "template_id"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. First observed

TDQS

D1.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false, and destructiveHint=false. The description adds nothing beyond that: it omits the async task model, the polling behavior, the public-URL/file-ID requirement, and any cost or latency context.

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

Conciseness2/5

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

Four sentences of pure marketing copy with zero technical content; nothing is front-loaded that helps an agent invoke the tool. The length is wasted rather than excessive.

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

Completeness1/5

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

For a tool with six mutually exclusive input variants, an async task model, and a nested request object, the description provides no invocation guidance at all. An agent cannot determine which schema branch to use or how the task lifecycle works from this text.

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

Parameters1/5

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

Schema description coverage is only 50% and the description compensates for none of it. It never explains src_file_url, ref_file_url, hair_color, template_id, or polling, and gives no clue about which of the six anyOf variants to use. Hairstyle categories (curly, long, buzz cut) are unrelated to any parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description restates the tool name in marketing terms ('AI-powered hair changer', 'try a wide variety of hairstyles') without specifying the mechanics (src/ref image transformation). It offers no differentiation from siblings like AI-Hair-Color-Virtual-Try-On, AI-Hair-Extension-Virtual-Try-On, or the -Templates variant.

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?

There is no when-to-use guidance, no mention of the alternative template-based variant or the file upload API, and no prerequisites. 'Find your ideal hairstyle now!' is promotional, not operational guidance.

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