Skip to main content
Glama

trmnl_reorder_device_playlist

Idempotent

Reorder playlist items for a TRMNL device by submitting the desired playlist item ID order.

Instructions

Reorder a device playlist TRMNL PUT /api/devices/{device_id}/playlist_items/order. Changes remote state or starts work. Run only within the user-authorized scope.

Input Schema

NameRequiredDescriptionDefault
bodyYes
pathYes
profileNoConfigured profile name; defaults to default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=true, so the description carries less burden. The description adds that it mutates remote state, but omits the key behavioral question — whether playlist_item_ids must be a complete replacement list or a partial reorder — and says nothing about failure modes.

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?

The first sentence is front-loaded and precise, and the endpoint line is useful disambiguation. The trailing sentence about remote state and authorization scope is generic boilerplate that adds little, but the whole thing is still compact.

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 mutation tool with no output schema, nested body, and an ambiguous array parameter, more is needed: what the endpoint returns, whether the order is a full replacement, and how partial or unknown IDs are handled. The description leaves the agent guessing on the one detail that matters most.

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 only 33%: device_id and profile are documented, but the critical playlist_item_ids array has no description in either schema or prose. The description gives no hint about ordering semantics (full list vs subset, index positions), so it fails to compensate for the coverage 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?

"Reorder a device playlist" is a specific verb+resource, backed by the concrete endpoint PUT /api/devices/{device_id}/playlist_items/order. It is reasonably distinguishable from add/clear/update playlist siblings, though it never explicitly contrasts itself with trmnl_bulk_update_device_playlist, which could plausibly overlap.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only guidance is the boilerplate "Run only within the user-authorized scope," which is a safety restatement rather than a when-to-use rule. Nothing tells the agent when to reorder versus using bulk update or replace_playlist_item_schedule.

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

Deploy Server

Other Tools