Skip to main content
Glama

DiceBear

Render avatar

render_avatar
Read-onlyIdempotent

Returns the SVG markup of an avatar, for inlining or saving to a file. Prefer build_avatar_url when a link is enough.

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": {
      "style": "<style>",
      "seed": "<seed>"
    },
    "name": "render_avatar"
  }
}

Input Schema

NameRequiredDescriptionDefault
seedYesAny text, such as a user name or ID. The same seed and options always give the same avatar.
styleYesStyle name from list_styles, for example "lorelei".
optionsNoStyle options from get_style_options, for example {"backgroundColor": ["b6e3f4", "c0aede"], "eyesVariant": ["variant01"], "flip": "horizontal", "size": 64}. Lists are arrays, weighted enums take an object of value to weight, colors are hex.

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 readOnly, idempotent and closed-world, so the safety profile is covered; the description adds the key behavioral fact that the result is raw SVG markup suitable for inlining or file saving, which matters because no output schema exists. It stops short of noting determinism (left to the seed parameter's schema text) or size limits, but adds real value beyond annotations.

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?

Two short sentences, zero filler, with the return format front-loaded and the alternative-tool note second. Every clause earns its place.

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 parameterless-output read tool with full schema coverage and clear annotations, the description covers purpose, output shape and sibling routing. Minor gaps such as failure behavior for an unknown style name are not addressed, but nothing an agent needs in order to call it is missing.

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 nested options object is thoroughly documented in the schema itself, including weighting and hex color conventions. The description adds no parameter-level meaning on top of that, so the 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 ('returns the SVG markup of an avatar') plus the intended use ('inlining or saving to a file'), and explicitly separates it from build_avatar_url. An agent can distinguish this from its siblings without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Names the alternative tool and the exact condition that selects it: use build_avatar_url when a link is enough, otherwise render inline. This is explicit routing guidance rather than implied usage.

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.