Skip to main content
Glama

Render avatar

render_avatar
Read-onlyIdempotent

A code as PNG, SVG or WebP at a size, up to 1024 px. Pass codes to render several in one call (up to 20). Every file carries its credit inside.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeNo
sizeNo
codesNo
formatNopng

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / code / pattern
      Previous value: -"^[0-9A-Za-z]{10}(?:[0-9a-f]{6})?$"New value: +"^[0-9A-Za-z]{10}(?:[0-9a-f]{6}(?:[0-9a-f]{6}[0-9]{3})?)?$"
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is covered. The description adds genuinely useful behavior: the 1024 px ceiling, the 20-item batch cap, and that output files embed their own credit. It stops short of saying what the call actually returns (binary, URL, base64), which matters since there is no 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two dense sentences with no filler, and the format/size information is front-loaded ahead of the batching hint. The telegraphic grammar of 'A code as PNG, SVG or WebP' costs a little immediate readability but wastes no words.

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

Completeness3/5

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

For a read-only render tool with no output schema, the description should at minimum tell the agent what comes back from the call, and it does not — only that each file carries its credit. The code concept itself (what a valid code is, where one comes from) is also left unexplained, so an agent new to this API has a gap before it can invoke confidently.

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?

With 0% schema description coverage, the description must carry the load, and it does mention all four parameters in passing: code (the avatar code), format (PNG/SVG/WebP), size (in px, up to 1024), and codes (batch up to 20). It still omits the code pattern, the 256 default and 16 minimum, and whether 'code' and 'codes' are mutually exclusive, so the compensation is partial.

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 makes clear this converts an existing avatar 'code' into an image file in one of three formats, which is a specific verb+resource statement. It does not distinguish itself from siblings like create_avatar or random_avatar, so an agent must infer that this one only renders pre-existing codes rather than generating new ones.

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?

It gives one concrete usage hint — pass the plural 'codes' to render several at once, up to 20 — which implies when to batch rather than call repeatedly. However, it never states when to choose this tool over create_avatar, random_avatar, or avatar_for_name, and gives no exclusions or prerequisites.

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