Skip to main content
Glama

trmnl_get_playlist_item_preview

Read-onlyIdempotent

Fetch the current rendered playlist image for a specific item ID to verify its appearance before deployment.

Instructions

Read the current rendered playlist image TRMNL GET /api/playlists/items/{item_id}/preview.

Input Schema

NameRequiredDescriptionDefault
pathYes
profileNoConfigured profile name; defaults to default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so the safety profile is covered. The word 'current' adds a real behavioral nuance — this returns the live rendered state, not a historical one — but nothing is said about caching/staleness or whether the preview triggers a re-render.

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?

Two short fragments with the operation front-loaded and the endpoint as supporting detail. Nothing is wasted, though restating the raw HTTP route is marginally redundant with the tool name.

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?

With no output schema, the description should clarify what a 'preview' returns — an image URL, binary image data, or a rendered markup snapshot — and it only gestures at 'rendered image'. For a read tool whose entire value is its return payload, that leaves a meaningful gap.

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%: 'profile' is documented in the schema, while the nested 'path.item_id' is not. The description's endpoint template at least confirms item_id is a path segment, which clarifies the otherwise odd nested object wrapper, but it adds no meaning about what an item_id is or how to obtain one.

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+resource ('Read the current rendered playlist image') and pins it to the concrete endpoint GET /api/playlists/items/{item_id}/preview. An agent can distinguish it from trmnl_get_preview or trmnl_get_playlist_item_schedule by the 'playlist item' scope, though no sibling is named explicitly.

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?

There is no guidance on when to call this versus trmnl_get_playlist_item_schedule, trmnl_list_playlist_items, or the generic trmnl_get_preview. The name and endpoint imply usage, but the description never states prerequisites (does the item need to exist? must a render already have occurred?).

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