Skip to main content
Glama
Yoto Cards MCP
by haimrait

Reorder all tracks

reorder_tracks

Change the playback order of tracks on a Yoto card by passing each current track number once in the desired sequence. Useful for rearranging existing card content.

Instructions

Put every track in a new order. order lists each current track number exactly once, e.g. [3,1,2].

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>",
      "order": "<order>"
    },
    "name": "reorder_tracks"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderYes
card_idYesThe card ID from list_cards (5 characters, e.g. "a1B2c").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already state this is a mutation (readOnlyHint=false, destructiveHint=false), but the description adds the critical behavioral constraint that `order` must be a permutation listing each current track number exactly once – information an agent cannot get from the annotations. It stops short of saying what happens on an invalid or partial list (error versus silent behavior).

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?

Two short sentences with the action first and the argument semantics second, plus a compact inline example. Nothing redundant.

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?

For a two-parameter mutation with no output schema, this covers the essentials: what changes and the exact contract for the one undocumented parameter. It leaves out error behavior for invalid permutations and the return value, which are minor for a simple reorder.

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 only 50%: `card_id` is documented in-schema but `order` is not. The description compensates well by explaining that `order` is a full permutation of existing track numbers and gives a concrete example [3,1,2], which clarifies the 1-based numbering and the exactly-once rule.

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: 'Put every track in a new order,' which clearly implies a whole-list reorder rather than a single-track reorder. It does not name or contrast with the move_track sibling, so the boundary between them rests on the word 'every'.

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?

Use is implied by 'every track' – full reordering rather than a single move – but there is no explicit when-to-use or when-not, and no named alternative such as move_track for partial changes.

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