Skip to main content
Glama

GoldCoach

Playlist Save

playlist_save

Save one checklist's playlist after the server checks it. lines is the ordered list of the playlist's lines. The server checks that line_ids are unique and order runs 1, 2, 3 without gaps; that the credits of every line except option_list and note add up to the published credits (within the range, where a range is published); that every slot's fills_from names an option_list and every option_list is named by a slot; that every course code is one of the school's learning units; that every area designation is in the school policy; that choose has n no greater than its courses; that every quote appears verbatim in the capture its source names, which may be the requirements section, a linked section, or any other capture held for the checklist's school; and that every course code of the checklist's requirement items that the school holds appears in a line or in a note line that names it (a footnote, a permission note or a tag in parentheses outside the items is not counted); and that every checklist item naming a learning unit with published credits is on a course, one_of, choose or option_list line or accepted by an area line, never only a note; that the playlist carries the last requirement group the checklist holds (a playlist that ends before it is never saved); that options the page prints as a choice or as "or" alternatives are not each a required course line, and no course is on two course lines; that every course code a line carries is printed in the requirements, on a linked page or in the line's quote; that a note line carries no course codes; and that a restricted line carries its rule. Where the credits do not add up, the error names the lines that carry no requirement item, or the groups printed with credits that no line carries. It never alters what the lines say; it adds accepts to each area line and min_courses where the text names a number of courses. It returns playlist_id, status, and every error in plain words, each naming its line: lines with errors are saved as rejected, so correct them and save again. A build that passes replaces the playlist in use only when there is none, when the catalog page has changed, or when the one in use is unverified or rejected. Otherwise it is kept as a candidate: the answer gives candidate_id and the playlist in use, the candidate is never used for anyone's progress, and playlist_compare compares the two.

Input Schema

NameRequiredDescriptionDefault
linesNo
built_byYesWho built this playlist: a short string naming the agent and model. Stored with the saved playlist. A save without it is rejected.
checklist_idYesThe checklist, by its checklist_id
accept_warningsNoOptional, false where left out: true saves the result with its warnings. A value's shape, a line's kind and its line_id still refuse the save, and so do a playlist that ends before the last requirement group, options made each a required line or a course on two course lines, a quote not found verbatim or a capture not held, a course code on a note line, and a code the page does not print. A quote over 300 characters is cut at a word boundary with "…" (marked quote trimmed); every other check marks what it concerns not established. Each mark is kept in that item's warnings, and the result is saved with trust state partial, or inferred where it rests on an inferred policy.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

The description goes far beyond the annotations by disclosing the full validation contract, rejected-line behavior, exactly when a passing build replaces the playlist in use, and when it is kept as a candidate that is never used for progress. This is consistent with readOnlyHint=false, destructiveHint=false, and idempotentHint=false. It also explains that the save never alters line text but adds accepts and min_courses.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, but the validation section is an extremely dense run-on chain of semicolon-separated checks that is hard to scan. Several clauses are close duplicates, such as the repeated course-code and quote checks, and the description would benefit substantially from grouping or bullets. It is comprehensive but poorly structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex, non-read-only save tool with no output schema, the description is unusually complete: it covers validation, error behavior, return fields, rejected saves, replacement rules, candidate handling, and the role of playlist_compare. An agent has enough information to know what will happen on success and failure.

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?

With 75% schema description coverage, the baseline is 3, but the description adds meaningful meaning for the largest parameter: lines must satisfy unique line_ids, consecutive order, credit totals, quote checks, and course-code rules. It also states that built_by is stored with the playlist and that a save without it is rejected. It does not add much beyond the schema for checklist_id, groups, or accept_warnings, so it falls short of a 5.

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: 'Save one checklist's playlist after the server checks it.' It scopes the operation to a single checklist and clearly names playlist_compare as the follow-up for candidate comparison. It is not tautological; an agent can tell what is being saved and what validation surrounds the save.

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

Usage Guidelines4/5

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

Usage is strongly implied: save after the server checks, correct rejected lines and save again, and use playlist_compare when a build is kept as a candidate. It gives clear context for when saving is appropriate and what happens on validation failure, but it does not explicitly exclude other playlist tools such as build or review tools.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.