Skip to main content
Glama

trmnl_clear_device_playlist

DestructiveIdempotent

Removes every item from a device playlist while keeping plugin settings in the account, letting you reset playlist content without deleting plugin configuration.

Instructions

Clear a device playlist Removes every item from the device playlist. The plugin settings stay in the account. TRMNL DELETE /api/devices/{device_id}/playlist. Changes remote state or starts work. Run only within the user-authorized scope.

Input Schema

NameRequiredDescriptionDefault
pathYes
profileNoConfigured profile name; defaults to default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already state destructiveHint=true, idempotentHint=true, and openWorldHint=true, so the safety profile is covered. The description adds useful behavioral context by clarifying that every playlist item is removed while plugin settings remain in the account, plus the underlying DELETE endpoint.

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 description is short and front-loaded: the operation, the effect, and the endpoint appear immediately. The opening line slightly restates the tool name, and the trailing authorization warning is generic, but neither materially obscures the useful content.

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 destructive tool with annotations covering safety and idempotency, the description provides the key consequence: all playlist items are removed but plugin settings persist. With no output schema, more detail on return values is not required, though the optional profile parameter is not explained here.

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 coverage is 50%, with device_id and profile documented in the schema. The description reinforces device_id via the endpoint path /devices/{device_id}/playlist, but it says nothing about the optional profile parameter, so it only partially compensates for the coverage gap.

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?

The description uses a specific verb and resource: clear a device playlist and remove every item from it. It clearly distinguishes the all-items clear operation from sibling item-level tools such as trmnl_delete_playlist_item and trmnl_remove... peers.

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 destructive all-items scope is implied by 'Removes every item', which helps distinguish it from single-item removal. However, the description gives no explicit when-to-use guidance, no named alternatives, and no conditions for choosing clear versus deleting individual items or bulk-updating.

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