Skip to main content
Glama

Generate avatar

generate_avatar
DestructiveIdempotent

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

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

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.4/5.0
Behavior5/5

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

Adds substantial behavior beyond annotations: synchronous completion ("Finishes within the call"), billing semantics ("credits are charged only when a portrait comes back"), automated defect checking on hands/face/background, and the full auth path with header format. These are exactly the cost, latency and auth facts an agent needs before invoking a credit-consuming generation.

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 what the tool produces and its consumer before prerequisites and auth. The auth sentence is long and includes a URL and header example, but every clause is actionable; no filler.

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?

With an output schema present, return values need no explanation, and the description covers the remaining gaps: prerequisite quote, cost timing, synchronous behavior, quality checking and authentication. An agent has everything needed to call this correctly on the first try.

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%, so prompt, save_as, quote_id and aspect_ratio (with enum) are already fully documented. The description only restates the quote_id provenance that the schema already carries, adding no format or behavioral detail beyond it. 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 ("Generate a creator portrait") plus its downstream consumer (avatar in generate_ad) and the quality check applied. This clearly separates it from generate_image and generate_video in the sibling list.

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 explicit prerequisites: a quote_id from estimate_ad_cost with kind "avatar", and sign-in via OAuth or API key. It doesn't explicitly state when to prefer generate_image instead, but the fixed workflow chain (estimate_ad_cost → generate_avatar → generate_ad) makes usage unambiguous.

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.