Skip to main content
Glama

Update agent avatar

update_agent_avatar
Destructive

Generate or regenerate AI agent profile avatar(s) for a company's AI team. Use when an operator wants to create, refresh, or restyle one or more agents' profile avatars. Single agent: pass agent_id OR agent_name. Several agents: pass agent_ids[] OR agent_names[] in ONE call. Whole team: pass all:true. The tool regenerates EVERY target itself in a single call (1 credit per agent) and returns the real new signed avatar_url for each. Report ONLY the agents listed in the result's regenerated array — never claim or invent an avatar for an agent the tool did not return.

Routing: Regenerates ALL targets in ONE call — never call once per agent or enumerate the roster yourself; use agent_ids[]/agent_names[]/all:true for multiple.

[sensitive-tier — first use may require a manager's approval; a from-now-on approval makes future calls seamless, a just-once approval re-asks next time. Call it on the first clear ask; the card is the yes — do not re-ask in chat.]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
allNoSet true to regenerate avatars for EVERY active agent in the company. Takes precedence over the id/name params.
styleNoOptional style override (e.g., "pixel-art", "watercolor", "geometric"). Overrides company avatar_theme for this generation.
agent_idNoUUID of a single agent to (re)generate an avatar for.
agent_idsNoUUIDs of multiple agents to regenerate in ONE batch call.
companyIdYesFreedomOS company id to act within (you must be a member). Required for company-scoped tools.
agent_nameNoName of a single agent (used to look up the agent when agent_id is not provided). Must resolve to exactly one active agent.
agent_namesNoNames of multiple agents to regenerate in ONE batch call. Each name must resolve to exactly one active agent (ambiguous names are returned in `failed`).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond annotations, the description discloses that the tool 'regenerates EVERY target itself in a single call (1 credit per agent)', returns 'the real new signed avatar_url for each', and instructs reporting only agents in the `regenerated` array. It also explains sensitive-tier approval semantics. No contradiction with destructiveHint=true.

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?

The description is organized into purpose, routing, and approval blocks, with each sentence earning its place by covering target selection, batching, cost, result handling, or approval behavior. It is longer than minimal, but the structure keeps it digestible and front-loaded with the primary use case.

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 7 parameters and no output schema, the description still explains target selection, batch behavior, per-agent credit cost, the `regenerated` result contract, and approval flow. The schema covers remaining parameter details, making this adequately complete for correct invocation and result interpretation.

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%, and the schema already documents each parameter including precedence of `all` and the meanings of `agent_ids`, `agent_names`, `style`, and `companyId`. The description restates the pass modes but adds no new parameter-level semantics beyond what the schema provides, 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?

The description states a specific verb ('Generate or regenerate') and resource ('AI agent profile avatar(s)'), scoped to 'a company's AI team'. It distinguishes this tool from generic agent update tools by focusing exclusively on avatar generation/regeneration and by enumerating the supported invocation modes.

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?

It explicitly says 'Use when an operator wants to create, refresh, or restyle one or more agents' profile avatars' and gives strong routing guidance, including 'never call once per agent or enumerate the roster yourself; use agent_ids[]/agent_names[]/all:true for multiple.' It does not name a sibling alternative tool to select instead, but the when-to-use and batching rules are clear.

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