Skip to main content
Glama

yoto_icon_render

Read-only

Render 16×16 pixel icons from character grids and return a preview sheet for review. Use it to draw pixel-exact icons for Yoto MYO cards.

Instructions

Render 16×16 icons from character grids and return a preview sheet to look at.

Each spec: {"name": str, "rows": [16 strings of 16 chars], "palette": {char: "#RRGGBB" | "#RRGGBBAA" | "transparent"}}. "." and " " are transparent unless the palette says otherwise. Style: strokes at least 2 px, 4 colours or fewer, a 1 px margin, bright colours that read on black, one idea per icon. Fix lint warnings and re-render (at most three rounds) before offering an icon.

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": {
      "specs": "<specs>"
    },
    "name": "yoto_icon_render"
  }
}

Input Schema

NameRequiredDescriptionDefault
specsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and nothing here contradicts a pure render operation. The description adds value beyond them by disclosing the preview-sheet output, the existence of lint warnings, and a retry ceiling of three rounds.

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?

Front-loaded with the purpose, then the data contract, then style rules. The style block ('strokes at least 2 px, 4 colours or fewer, 1 px margin…') is a bit of a list but is actionable rendering guidance rather than filler.

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 correctly states what comes back (a preview sheet). The single parameter's shape is fully documented. The only gap is that lint warnings are referenced without saying what they check, so the agent must discover them by running the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the schema is just a loose array of objects, so the description carries the full burden — and does: it defines each spec's keys (name, rows as 16 strings of 16 chars, palette mapping chars to #RRGGBB/#RRGGBBAA/transparent) plus the '.' and space transparency default. That is far more than the schema conveys.

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 gives a specific verb and resource — 'Render 16×16 icons from character grids' — plus the return artifact ('a preview sheet'). The character-grid input implicitly separates it from image-based or glyph siblings, but no sibling is named explicitly.

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?

It supplies real procedural guidance: the agent should fix lint warnings and re-render for at most three rounds before offering an icon. What's missing is routing guidance — when to choose this over yoto_icon_from_image or yoto_icon_glyph, or a precondition that a spec must exist first.

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