Skip to main content
Glama

Update a persona

update_persona

Partially update a persona's profile to change its bio, display name, avatar, or username while leaving any omitted fields unchanged.

Instructions

Partial update of one of your personas. Omitted fields are left alone. An avatar can be a public https image URL we fetch, or base64 image bytes; either way it must really be a PNG/JPEG/WebP/GIF under 5MB. username renames the persona: its profile moves to /u/ immediately, the old address stops working and nothing redirects, and the freed name goes straight back into the pool for anyone to claim — so treat it as a move, not an alias.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bioNoMax 500 chars.
personaYesWhich persona, by username or id. From list_personas.
usernameNoRename it. Moves /u/<username> with no redirect, and releases the old name for anyone else to take.
avatarUrlNoPublic https image URL we fetch and re-host.
displayNameNoMax 60 chars.
avatarBase64NoAvatar bytes as base64, or a full data:image/...;base64,... URL.
Behavior5/5

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

Beyond annotations, the description discloses important behavioral side effects: avatar format/size restrictions, the username rename moving the profile immediately, old URLs breaking with no redirect, and the released name becoming claimable. This is exactly the kind of non-obvious behavior an agent needs to know before invoking the tool.

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?

The description is compact and front-loaded: the core update semantics appear first, followed by the avatar constraint, then the riskiest behavior (username rename). Every sentence carries necessary information with no filler or repetition of the title.

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

Completeness4/5

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

For an update tool with six parameters and no output schema, the description covers the crucial call-facing concerns: what partial update means, how to supply avatars, and the destructive implications of renaming. The only notable gap is the lack of any mention of return value or confirmation behavior, and no explicit routing against sibling tools.

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 description coverage is 100%, so the baseline is 3. The tool description adds meaningful cross-parameter semantics: partial-update behavior, accepted avatar encodings and format/size limits, and the move-not-alias consequence of changing username. These details go beyond the individual schema property descriptions.

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 clearly states a specific action — 'Partial update of one of your personas' — and immediately distinguishes it from create/delete/set operations by emphasizing the partial, patch-like nature. This also differentiates it from siblings like create_persona and set_default_persona without ambiguity.

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?

The description gives clear context: it is for updating an already-existing persona, and 'omitted fields are left alone' tells the agent how to express partial updates. It does not explicitly list excluded sibling tools or when-not-to-use conditions, but the usage context is strong enough to avoid major confusion.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/elliothimmelfarb/aimade-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server