Skip to main content
Glama
Yoto Cards MCP
by haimrait

Set card cover

set_cover

Set or replace a Yoto card's cover using a design cover value or an uploaded image; confirm replacement when a cover already exists.

Instructions

Set the card's cover in the Yoto app: either cover (a "cover:…" value from design_cover) or an image to upload (portrait, about 638x1011 for most cards; Yoto crops to fit). If the card already has a cover, the parent is asked to confirm replacing it; the old one stays in the backup.

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": {
      "card_id": "<card_id>"
    },
    "name": "set_cover"
  }
}

Input Schema

NameRequiredDescriptionDefault
coverNoA "cover:…" value from design_cover.
card_idYesThe card ID from list_cards (5 characters, e.g. "a1B2c").
confirmNoOnly set true after the parent explicitly agreed to replace the existing cover.
image_urlNoLink to a PNG, JPEG, GIF or WebP image.
cover_typeNoShapes the crop: "default" (portrait), "podcast"/"radio" (square), "myo".
image_pathNoAbsolute path to an image on the computer running this server (local use only).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare the write, non-destructive, open-world profile, and the description adds material behavior on top: a confirmation gate when a cover already exists, the guarantee that the old cover remains in the backup, and that uploaded images are cropped to fit with a target portrait size around 638x1011. That is exactly the kind of consequence-and-reversibility detail an agent needs before invoking a mutation.

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-loads the action, then the two input modes, then the confirmation and backup caveat — every clause carries information and nothing is filler. It is dense but not padded; a small readability cost from packing dimensions and the confirm rule into the same paragraph.

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

Completeness5/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 covers what matters for a 6-parameter write tool: what it changes, the two ways to supply a cover, the confirmation requirement, reversibility via backup, and the cropping/dimension expectation. Nothing an agent needs to call it correctly is missing.

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 coverage is 100%, so parameters are already documented and the baseline is 3. The description still adds meaning beyond the schema by tying `cover` to design_cover's output and explaining the crop behavior and recommended image dimensions, though it does not explain how the mutually exclusive `cover`/`image_url`/`image_path` options interact if more than one is supplied.

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

Purpose5/5

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

States a specific verb and resource ("Set the card's cover in the Yoto app") and immediately splits the operation into its two mutually exclusive modes: a `cover:…` value produced by design_cover, or an image upload. An agent can tell this apart from design_cover, which generates cover values rather than applying them.

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?

Makes the choice between the two input paths explicit (named cover string vs. image to upload) and gives a conditional rule for when to set `confirm` — only after the parent agrees to replace an existing cover. It stops short of naming alternatives or stating when not to call it (e.g., that design_cover must run first to obtain a `cover:` value).

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