Skip to main content
Glama

Generate Fictional Character Avatars

generate_avatars

Generate 2 fictional character portraits (1:1, 9:16, or 16:9) from a text description in one of 8 art styles. Costs 4 credits (Standard) or 6 credits (HD for accounts that have purchased a pack). Enqueues asynchronously and returns jobId immediately — call get_job after ~5–10 seconds to get the 2 assetIds and signed image URLs. Requires Authorization: Bearer avs_...

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": {
      "prompt": "<prompt>",
      "style": "<style>"
    },
    "name": "generate_avatars"
  }
}

Input Schema

NameRequiredDescriptionDefault
styleYesArt style preset ID: anime, 3d-cartoon, pixel-art, realistic, professional-headshot, fantasy, watercolor, cyberpunk.
promptYesVisual description of an original fictional character (3–500 chars), e.g. "weathered dwarven blacksmith with copper braids and glowing forge goggles". Avoid real people, celebrities, or explicit content.
aspectRatioNoOptional aspect ratio: 1:1, 9:16, 16:9 (default "1:1").

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / aspectRatio
      Added value: +{
      +  "description": "Optional aspect ratio: 1:1, 9:16, 16:9 (default \"1:1\").",
      +  "enum": [
      +    "1:1",
      +    "9:16",
      +    "16:9"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare it is a non-read-only, non-idempotent, open-world write; the description adds substantially more: exact credit cost (4 Standard / 6 HD), that HD requires a purchased pack, that the call returns a jobId immediately rather than results, and the required 'Authorization: Bearer avs_...' header. This is precisely the workflow and cost context annotations cannot convey.

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?

Three dense sentences, front-loaded with what is produced, then cost, then the async/polling return path. No filler; every clause carries information the agent needs to call and follow up correctly.

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?

No output schema exists, and the description compensates fully by explaining what comes back: a jobId immediately, then 2 assetIds and signed image URLs via get_job. Combined with auth and credit-cost disclosure, an agent has everything needed for a multi-step async flow.

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% — every parameter including both enums and the prompt length bounds is documented in the schema itself. The description restates the style count and aspect ratios without adding syntax or behavioral detail beyond the schema, so baseline 3 applies.

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 with exact scope: 'Generate 2 fictional character portraits' with named aspect ratios and 'one of 8 art styles'. The fictional/original qualifier plus the prompt example distinguish it from sibling tools that import real portraits (import_character_portrait) or create other media.

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 operational context: costs credits, enqueues asynchronously, and explicitly directs the agent to 'call get_job after ~5–10 seconds', which is real next-step guidance. It lacks an explicit exclusion (e.g., use import_character_portrait for a real photo), so it falls short of full when/when-not coverage.

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