Skip to main content
Glama
OnStartups

Agent.ai MCP Server

by OnStartups

heygen_photo_avatar_create_avatar_action

Create a HeyGen Photo Avatar by uploading photos or generating one based on age, gender, ethnicity, and style parameters. Returns a group ID for polling status.

Instructions

Creates a HeyGen Photo Avatar from uploaded photos or AI generation. Upload mode requires base64 photos; generate mode uses age/gender/ethnicity/style params. Returns group_id for status polling.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
source_typeYesHow to create the avatar.generate
nameNoDisplay name for the avatar (default: My Avatar).
photos_jsonNoJSON array of photo objects: [{"base64": "...", "mimeType": "image/jpeg"}]. Required for upload mode.
ageNoAge range for generated avatar.Young Adult
genderNoUnspecified
ethnicityNoUnspecified
orientationNosquare
poseNohalf_body
styleNoRealistic
appearanceNoOptional description of desired appearance traits.
output_variable_nameYesVariable name for the result. Access as {{avatar_result.group_id}}, {{avatar_result.status}}.avatar_result
Behavior4/5

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

No annotations are provided, so the description carries the transparency burden. It discloses asynchronous behavior (returns group_id for polling) and mode-specific requirements. No contradictions.

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?

The description is three sentences, front-loading the main purpose, then detailing modes and return value. No redundant information, highly efficient.

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?

Given the tool's complexity (11 params, no output schema), the description covers essential aspects: purpose, modes, required inputs, and async return. It could mention companion status tools or error handling, but it is largely complete for selection and invocation.

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?

With 55% schema description coverage, the description adds value by linking parameters to modes (e.g., upload requires photos_json, generate uses age/gender/ethnicity/style). It clarifies which parameters apply to which mode, though some parameter details are 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?

The description clearly states it creates a HeyGen Photo Avatar, differentiating between upload and generate modes. It specifies required items for each mode and the return value, distinguishing it from sibling tools like heygen_avatar_generate_video.

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?

The description provides clear context on when to use each mode (upload vs generate) based on required parameters. However, it does not explicitly state when not to use this tool or suggest alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/OnStartups/agentai-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server