Skip to main content
Glama

Save Avatar

beatra.avatars.save
Idempotent

Save one image already in this account as a named avatar the user can reuse in later sessions. Call only after the user agreed to save it and confirmed the portrait consent sentence: they are the person pictured (consent_subject=self) or they have that person's separate consent (authorized_other). Saving the same image again updates and returns the same avatar. This call is non-billable and cannot delete anything.

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": {
      "artifact_id": "<artifact_id>",
      "display_name": "<display_name>",
      "consent_attested": "<consent_attested>",
      "consent_subject": "<consent_subject>"
    },
    "name": "beatra.avatars.save"
  }
}

Input Schema

NameRequiredDescriptionDefault
purposeNoOptional use, such as 'course lecturer'.
voice_idNoOptional voice to pair with this avatar.
artifact_idYesAn image artifact_id in this account, from beatra.assets.upload or an earlier task.
display_nameYesThe name the user gave this avatar.
make_defaultNoAlso make this the account's default avatar.
consent_subjectYesself: the user is the person pictured. authorized_other: the user has that person's separate consent.
consent_attestedYesSet true only after the user confirmed the portrait consent sentence.

Output Schema

NameRequiredDescriptionDefault
errorNo
avatarNo
default_avatar_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, so the description's restatement of those traits is reinforcement rather than new information. What it does add beyond structured fields is meaningful: the consent/attestation gate before calling, the fact that the operation is non-billable, and that nothing can be deleted. Return values are covered by the output schema.

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?

Three sentences, front-loaded with the core action, then the consent gate, then idempotency and safety facts. No filler and no repetition of schema text.

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 a 7-parameter mutation with full schema documentation and an output schema, the description covers the critical unknowns: consent preconditions, account-scoped artifact source, idempotency, billing, and non-destructiveness. Minor omissions such as behavior when the artifact_id is unknown or outside the account are acceptable here.

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. The description goes slightly beyond the schema by framing consent_subject and consent_attested as one combined confirmation the user must make (self vs. authorized_other), which tells the agent how to sequence and check those flags rather than just what they mean individually.

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: "Save one image already in this account as a named avatar the user can reuse in later sessions." Scope (image must already exist in the account) and outcome (reusable named avatar) are both concrete, which separates it cleanly from sibling listing or upload tools.

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 an explicit precondition: call only after the user agreed to save and confirmed the portrait consent sentence, with the two consent paths named. It also clarifies the repeat-call case (saving the same image updates and returns the same avatar). It does not name an alternative tool to use when the precondition fails, which keeps it short of a 5.

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