Skip to main content
Glama

yoto_icon_from_image

Read-only

Downscale and quantize a local image into a 16×16 icon spec for Yoto cards, providing a starting point for manual cleanup.

Instructions

Downscale and quantize a local image into a 16×16 spec, as a starting point to clean up.

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": {
      "path": "<path>"
    },
    "name": "yoto_icon_from_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
pathYes
max_coloursNo
alpha_thresholdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds that processing is on a local image and yields a 16×16 spec, but it omits format or size limits, error behavior, and whether the output is a file or in-memory data. With annotations carrying the safety profile, a 3 is appropriate.

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?

The definition is a single sentence, front-loaded with the operation and target artifact, and contains no filler. It is appropriately terse, though that terseness contributes to missing semantics elsewhere.

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

Completeness2/5

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

For a four-parameter image-processing tool with no output schema, the definition is too thin: it does not explain parameter effects, output form, or how the resulting spec is consumed. Annotations cover read-only safety, but they are not enough to make the definition complete.

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

Parameters2/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 compensate, but it never mentions name, path, max_colours, or alpha_threshold. 'Quantize' loosely hints at max_colours, but alpha_threshold and name remain undocumented, leaving most parameter meaning to inference.

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 uses a specific verb chain ('downscale and quantize') and states the target artifact ('16×16 spec') and input ('local image'). It distinguishes this from icon selection/upload siblings by framing it as image conversion, though it does not explicitly name an alternative.

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 'as a starting point to clean up' implies this is a preparatory step rather than a final icon operation, which helps with workflow placement. It gives no explicit when-to-use guidance versus siblings such as yoto_icon_glyph, yoto_icon_render, yoto_icon_chooser, or yoto_icon_upload, and no exclusions.

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