Skip to main content
Glama

Try a style on a model or a photo

try_on_style

Shows one style on a StyleMyCrown model, or on a photo the user attached. Without a photo it returns the model picture at once. With a photo it changes only the hair and keeps the face; it runs only when consent is true, which needs the user's explicit agreement to the photo being processed (the widget asks for it). Takes about a minute.

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": {
      "style_id": "<style_id>"
    },
    "name": "try_on_style"
  }
}

Input Schema

NameRequiredDescriptionDefault
photoNoOptional: a front-facing photo of one person, attached by the user.
consentNoTrue only after the user explicitly agreed to their photo being processed for this try-on.
style_idYesA style id from get_styles.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / style_id / enum
      Previous value: -[
      -  "french-curls",
      -  "boho-bob",
      -  "long-boho-braids",
      -  "island-twist",
      -  "loose-braids",
      -  "straight-back",
      -  "faux-locs",
      -  "silk-press-bob",
      -  "body-wave-wig"
      -]New value: +[
      +  "french-curls",
      +  "boho-bob",
      +  "long-boho-braids",
      +  "island-twist",
      +  "loose-braids",
      +  "straight-back",
      +  "faux-locs",
      +  "silk-press-bob",
      +  "body-wave-wig",
      +  "long-bone-straight",
      +  "loose-wave-curls",
      +  "long-body-waves-curl",
      +  "asymmetric-silk-press-bob",
      +  "short-cut-with-bangs",
      +  "straight-bob-with-bangs",
      +  "box-braids",
      +  "knotless-box-braids",
      +  "long-senegalese-twists",
      +  "adorned-bantu-knots",
      +  "sharp-fade",
      +  "low-skin-fade",
      +  "waves",
      +  "clean-cut",
      +  "loose-curls-tapered",
      +  "short-stitch-cornrows",
      +  "twists-with-fade",
      +  "medium-locs"
      +]
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Adds substantial behavior beyond annotations: approximate latency ('about a minute'), the scope of the transformation ('changes only the hair and keeps the face'), what happens in the fast path (returns the model picture at once), and the consent gate with an explanation that the widget solicits it. These are exactly the operational facts an agent needs before committing a user to a minute-long operation.

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?

Four short sentences, front-loaded with the two operating modes before the consent caveat and latency note. The consent clause restates the schema's own consent description at slightly more length than needed, but no sentence is wasted overall.

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 three-parameter, nested-object tool with no output schema, the description covers modes, precondition, latency, and what is preserved. The remaining gap is what the caller actually receives in the photo path (an image reference or job handle), which is left implicit now that there is no output schema to carry it.

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 coverage is 100%, so the schema already documents photo, consent, and style_id, setting the baseline at 3. The description adds relational meaning the schema does not state — that consent is only relevant/required when a photo is present — but it does not add format or structural detail about the nested photo object, so it stays at baseline.

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 ('Shows one style') and immediately splits the behavior into two distinct modes: on a StyleMyCrown model, or on a user-attached photo. An agent can tell exactly what this does and how it differs from get_styles, which the description references as the source of style ids.

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 clear conditional guidance: omit the photo to get the model picture immediately, supply a photo to transform only the hair. It also states the hard precondition (consent must be true, granted after explicit user agreement). It stops short of explicit when-not-to-use or failure-path guidance, so it is clear context rather than full routing.

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