Skip to main content
Glama

yoto_icon_upload

Idempotent

Upload a 16×16 PNG/GIF icon or a rendered icon hash to Yoto and get a yoto:# reference for use in a set_icon operation.

Instructions

Upload an icon: the sha256 of a rendered icon, or a local PNG/GIF path. Returns its yoto:# ref.

Without auto_convert the file must be exactly 16×16 RGBA PNG, so Yoto stores the pixels as drawn. Use the ref in a set_icon op.

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": {
      "icon": "<icon>"
    },
    "name": "yoto_icon_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
iconYes
accountNo
auto_convertNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare write, open-world, idempotent, non-destructive, so the safety bar is partly met. The description adds real context beyond them: the content-addressed yoto:# return value, the strict 16×16 RGBA PNG requirement when auto_convert is off, and the rationale that Yoto stores pixels as drawn. It omits failure modes (bad sha256, oversized image) and what auto_convert actually does to the pixels.

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 short sentences, front-loaded with the action and input forms, then the format constraint, then the downstream usage. No filler, no repetition of the tool name or schema.

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?

An output schema exists, so the return value need not be documented, though the yoto:# ref is helpfully called out. For a 3-parameter upload tool the description covers the important behavior; the only shortfalls are the undocumented 'account' parameter and the absence of error/limit behavior.

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 description coverage is 0%, so the description must carry the burden, and it does for the two load-bearing parameters: 'icon' accepts a sha256 or a local PNG/GIF path, and 'auto_convert' is explained via the exact-16×16 constraint when absent. The 'account' parameter is never mentioned, leaving one gap.

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?

States a specific verb and resource ('Upload an icon') and immediately enumerates the two accepted input forms: a sha256 of a rendered icon or a local PNG/GIF path. It also names the output (a yoto:# ref). It does not explicitly distinguish itself from siblings like yoto_icon_from_image or yoto_icon_render, so it stops short of a 5.

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 closing line 'Use the ref in a set_icon op' tells the agent where the output goes, which implies this is a step in an icon pipeline, but there is no explicit when-to-use versus yoto_icon_from_image/yoto_icon_glyph/yoto_icon_render. No exclusions or prerequisites (account, permissions) are stated.

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