Skip to main content
Glama

Create an AI clone

create_clone

Use this when the user wants an AI influencer of a real person from their photos, usually themselves. Takes 1 to 4 photos of the same adult, JPEG or PNG; 3 or 4 give a closer likeness than 1. Ask for photos from different days, places, outfits and lighting (near-identical selfies add nothing), with only that person in each and the face clearly visible: no sunglasses, hats, cut-off faces or low-resolution photos. Get them with one upload_image call with count 4, so the user picks them all at once. Only for the user themselves or someone who agreed to it; ask if that isn't clear. Part of the Creator plan and up, and uses one of the account's new-influencer slots for the month; say so before calling. The clone is ready at once for generate_photos and generate_video. Calling it again makes another clone and uses another slot.

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": {
      "name": "<name>",
      "gender": "<gender>",
      "photos": "<photos>"
    },
    "name": "create_clone"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageNoThe person's age, if the user says it.
nameYesThe clone's name.
genderYes
photosYesAn image: an upload_id from upload_image (for a file the user has), a photo_id of one of the user's photos, or an https:// link to an image. Photos made here can't be used: these must be real photos of the person.

Output Schema

NameRequiredDescriptionDefault
okNoPresent only on a refusal: the summary says why, and what the user can do.
nameNo
summaryYes
view_urlNo
error_codeNoPresent only on a refusal.
slots_leftNo
photos_usedNo
influencer_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=false and idempotentHint=false; the description goes well beyond by explaining the cost side — it consumes a new-influencer slot for the month, the user should be told before calling, and repeat calls create another clone and burn another slot. It also discloses consent requirements and the immediate availability of the result for generate_photos and generate_video, none of which is in the structured fields.

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?

Single dense paragraph, front-loaded with the trigger condition and followed by prerequisites, sourcing instructions, consent, and billing impact in a logical order. Nearly every sentence carries actionable content, though the photo-quality clause is a long run-on that could be tightened.

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?

An output schema exists, so return values need no explanation. For a mutation tool with plan gating and slot consumption, the description covers eligibility, consent, input sourcing, quality constraints, and post-call availability of the clone — nothing an agent needs in order to call it correctly 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 75%, so baseline is roughly 3, but the description adds real meaning for the photos array: 3-4 photos yield a closer likeness than 1, photos should span different days, places, outfits and lighting, contain only the subject, and avoid sunglasses, hats, cropped faces or low resolution. The name, gender and age parameters get no elaboration beyond the schema, keeping this short of a 5.

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?

Opens with a specific verb and resource tied to an intent: 'Use this when the user wants an AI influencer of a real person from their photos, usually themselves.' That distinguishes it from generate_photos, create_influencer_preview and upload_image, which the description references by name rather than merely restating the title.

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?

Gives explicit when-to-use (wanting a clone from photos), when-not/qualifying conditions (only the user themselves or someone who agreed to it; ask if unclear), and prerequisite plan state (Creator plan and up). It also routes the photo-collection step to a named sibling: 'one upload_image call with count 4, so the user picks them all at once.'

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