Skip to main content
Glama

yoto_template_book_selector

Idempotent

Builds a choose-a-book interactive card from a multi-book source card, generating spoken prompts and a plan that lets listeners pick a book and play it with the following titles.

Instructions

Build a "choose a book" interactive card from a linear multi-book card, as a plan.

Right cycles the books' prompts, left picks one: it announces " Book N: " and plays that book and the ones after it. Left/right step tracks while a book plays. Generates and uploads the spoken prompts (only the upload writes anything). subtitles maps book number to subtitle. target is the card to rebuild (default: the existing " (Choose a Book)" if there is one, else a new card). Use the source card's owner account.

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": {
      "source_card": "<source_card>"
    },
    "name": "yoto_template_book_selector"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNo
voiceNo
targetNo
accountNo
patternNo^Book (\d+)\b
subtitlesNo
prompt_textNoFor book {n}, click left dial. For other books, click right dial.
source_cardYes
prompt_iconsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety bar is lower, yet the description adds real behavior: the resulting card's dial semantics, that spoken prompts are generated and uploaded, and crucially that 'only the upload writes anything.' The defaulting rule for `target` (existing '<source> (Choose a Book)' else new card) is genuinely useful operational context.

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?

It is front-loaded with the core statement, then behavior, then parameter notes — a sensible order. The middle sentences about right cycling prompts and left/right stepping tracks describe the produced card's UX more than invocation needs, which is slightly more than strictly required, but nothing is redundant filler.

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?

An output schema exists, so return values need not be explained, and the write-scope caveat is present. For a 9-parameter tool with 0% schema coverage and openWorldHint=true, though, the description leaves key inputs (`pattern`, `prompt_text` templating, `prompt_icons`) unexplained and says nothing about what happens on upload failure or how the plan is consumed afterward.

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?

Schema description coverage is 0% across 9 parameters, so the description carries the whole burden; it does explain `subtitles` (book number to subtitle), `target` (what gets rebuilt and its default) and indirectly `account` (use the source card's owner). However, the non-obvious `pattern` regex and the `{n}` placeholder convention in `prompt_text`, plus `prompt_icons`, `voice` and `title`, are undocumented. Partial compensation, not full.

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 opens with a specific verb and resource: 'Build a "choose a book" interactive card from a linear multi-book card, as a plan.' That tells an agent exactly what artifact is produced and that it is a plan rather than a direct mutation, which implicitly separates it from apply-style siblings. It does not name a sibling tool outright, 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?

Usage is implied by preconditions ('from a linear multi-book card', 'Use the source card's owner account') rather than stated as when-to-use versus an alternative. There is no explicit statement about what to do with the resulting plan (e.g., apply step) or when another sibling would be the better choice. An agent can infer the context but must do work to do so.

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