Skip to main content
Glama

generate_avatar

Generate an AI avatar image from a text prompt. Always saved as a persistent asset. Costs 5 credits.

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>"
    },
    "name": "generate_avatar"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoImage model to use
promptYesDetailed description of the avatar to generate
avatarNameNoName for the saved avatar
aspectRatioNoAspect ratio (default 1:1)
workspaceIdNoWorkspace (product/brand) id from list_workspaces. Omit to use the default workspace (set_default_workspace), else the newest one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / workspaceId
      Added value: +{
      +  "description": "Workspace (product/brand) id from list_workspaces. Omit to use the default workspace (set_default_workspace), else the newest one.",
      +  "type": "string"
      +}
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does add genuinely useful behavioral facts that the schema cannot express: output is always persisted as an asset and each call costs 5 credits. It omits other material traits for a generation tool, notably whether the call is synchronous or returns a job to poll via get_job_status, and whether failures still consume credits.

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?

Two short sentences, front-loaded with the core action, with cost and persistence stated plainly. Nothing is padded, though the second sentence is a fragment list rather than connected to any guidance about consequences.

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

Completeness3/5

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

Adequate for a 5-parameter generation tool whose schema is fully documented and whose credit/persistence traits are stated. It is thin on execution model, since an agent still cannot tell whether to expect an inline image or a job to poll, which matters given the presence of get_job_status among siblings.

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 description coverage is 100%, including enum values for model and aspectRatio and a clear explanation of workspaceId fallback behavior, so the schema already does the work and a baseline 3 applies. The description adds no parameter-level meaning such as guidance on choosing between the listed models or when to name the saved avatar.

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

Purpose4/5

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

Specific verb+resource: 'Generate an AI avatar image from a text prompt' tells the agent exactly what is produced. It does not distinguish itself from the sibling generate_image, so an agent cannot tell from the text alone why it would pick avatar generation over generic image generation.

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?

The description gives no when-to-use or when-not guidance, and never references alternatives such as generate_image or enhance_prompt for refining the prompt first. The credit cost hint implies 'don't call casually' but that is inference, not stated 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