Skip to main content
Glama

DiceBear

Build avatar URL

build_avatar_url
Read-onlyIdempotent

Checks the options and returns an avatar link on the DiceBear HTTP API, ready for an tag, plus notes on license and use.

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": "build_avatar_url"
  }
}

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".
formatNoImage format. SVG is the smallest and scales.svg
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

A3.7/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, closed-world), so the bar is lower, and the description still adds real value: it discloses that the return includes license and usage notes alongside the URL, which no structured field conveys. It also hints at validation ('checks the options') but never says what happens when options are invalid or whether unknown option keys are rejected.

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?

A single front-loaded sentence with the output described first and the secondary 'plus notes' detail trailing. No filler, though the compound 'plus notes on license and use' is slightly tacked-on rather than integrated.

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?

With no output schema, the description usefully tells the agent what comes back (URL plus license notes), and the complex nested options parameter is fully specified in the schema. What remains missing is minor: error behavior not stated and no routing to render_avatar or the style-listing siblings.

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 coverage is 100% and the nested 'options' object is thoroughly documented in the schema itself, so the baseline of 3 applies. The description adds no parameter-level meaning beyond the passing hint that options are 'checked', leaving format, seed determinism, and style sourcing entirely to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete output ('an avatar link on the DiceBear HTTP API, ready for an <img> tag'), which tells an agent this produces a URL string rather than image bytes — implicitly distinguishing it from render_avatar. It is clear and specific, though the contrast with render_avatar is left implicit rather than stated.

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

Usage Guidelines3/5

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

The phrase 'ready for an <img> tag' implies this is the right tool when you need a referenceable URL rather than a rendered asset, which loosely guides selection against render_avatar. However, there is no explicit when-to-use or when-not statement, and no mention that style/options should come from list_styles/get_style_options (that information lives only in the schema).

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.