Skip to main content
Glama

write_m3u

Generates an M3U8 playlist in original order from local files and reports any missing tracks.

Instructions

Write the playlist as M3U8 in its original order from the local files; lists the tracks still missing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNo
playlist_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

B3/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, marking this as a local write with no external effect. The description adds a useful side effect (the missing tracks are listed), but says nothing about whether an existing file is overwritten, what permission/path constraints apply, or what happens when path is omitted.

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?

A single compact sentence that front-loads the action and its ordering constraint, with the side effect appended. No filler, though it is arguably too short for the parameter gaps it must cover.

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?

For a two-parameter mutation tool with no output schema and no enum/nested complexity, the description covers the action, the format, the ordering, and the return hint. It is still incomplete on parameter semantics and overwrite behavior, but the surface area is small.

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 coverage is 0% and neither parameter is mentioned in the description: playlist_id's meaning is left to the name, and the optional path (an anyOf string/null with a null default) is completely unexplained, so the agent cannot tell whether omitted path writes alongside the playlist or to a default location.

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 (write) and resource (playlist as M3U8) plus the ordering rule and the source of truth (local files). An agent can distinguish it from siblings like sync_playlist or tidy_library, though the tool is never named against those alternatives.

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 when-to-use vs when-not guidance, no mention of a prerequisite (e.g. run after sync_playlist), and no explanation of when the optional path matters. Usage must be inferred entirely from the verb.

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