Skip to main content
Glama

generate_avatar

Idempotent

Generate a creator portrait (Nano Banana) to use as the avatar in generate_ad, checked for hands, face and background defects. Requires a quote_id from estimate_ad_cost with kind "avatar". Finishes within the call; credits are charged only when a portrait comes back. SIGN-IN REQUIRED: connect this server with OAuth (the host prompts for it), or add an API key header "Authorization: Bearer acd_live_…" created at https://aicontentdrop.com/settings/integrations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesWho the creator is: age, look, clothing, setting, mood (20-800 characters).
save_asNoOptional name; saves the portrait on a brand profile for reuse.
quote_idYesThe quote_id from estimate_ad_cost with kind "avatar". Required.
aspect_ratioNoDefaults to 9:16.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNoPresent only when the charge could not be applied to the account.
qa_notesYes
replayedYes
next_stepYes
qa_passedYes
avatar_urlYesPass as avatar_url to generate_ad.
credits_usedYesThe charge that landed; 0 when no portrait came back or the charge could not be applied (then note says so).
credits_quotedYes
brand_profile_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: the call finishes synchronously, credits are only charged when a portrait returns (billing semantics), defect checking on hands/face/background, and full auth requirements (OAuth or Bearer API key). Annotations only cover the safety profile (non-readonly, idempotent, non-destructive).

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?

Front-loads the core purpose and the prerequisite quote_id before the billing and auth details. Dense but every clause carries distinct value (defect check, billing trigger, auth options); the auth sentence is long but necessary.

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?

For a generation tool with an output schema and full annotation coverage, the description supplies the missing pieces: prerequisite tool, billing trigger, and auth setup. Nothing an agent needs to invoke it correctly is absent.

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 100%, so the baseline is 3, but the description adds a cross-tool constraint the schema doesn't: quote_id must originate from estimate_ad_cost with kind "avatar". Other params (prompt, save_as, aspect_ratio) are already well documented in 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?

States a specific verb (Generate) and resource (creator portrait / avatar) with clear downstream usage ('to use as the avatar in generate_ad'), distinguishing it from siblings like generate_image and generate_ugc_video. An agent can identify its role without opening the schema.

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 context: it's the avatar source for generate_ad and requires a quote_id from estimate_ad_cost with kind "avatar", effectively naming the prerequisite step. It stops short of explicitly stating when to prefer this over generate_image, but the workflow routing is strong.

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.