Skip to main content
Glama

GoldCoach

Playlist Run

playlist_run

Play a person's held courses through a checklist's stored playlist and get their progress line by line. Checklists are read from captured HTML or from an anchored PDF page range. Give checklist_id and held, the whole list each time. Every held course is landed in one call: a course taken at the playlist's school lands as itself, a course from another school lands as the receiving course the school's known transfer rules name, a course with no known mapping is unresolved, and a failing or withdrawn grade (F, U, NC, NP, W) does not land. An answer that is not done carries continue: send continue back unchanged, with the same checklist_id and held, until the answer says done. Each line takes landed courses until its target (its courses or credits) is reached, in this order: course and one_of lines, choose lines, slot and area lines, the major elective, then open electives. The last call's answer gives the summary, every line with its state (met, partial, open, uncertain or not_a_course), its target, what was assigned and every held course placed on it, credit_short where a course meets a line on its code with fewer credits, the credits applied (each placed course once, by what it landed as), the step timings and the steps (the rule lookup, landing and settlement, each with its outcome, count and ms), what the person still needs, what did not count and why, the playlist's id, status and source, and a run_token. If no active, validated playlist is held for the checklist, the answer says so and names playlist_open as the next call; a run is never made against the harvested checklist. If the playlist, or the school policy it rests on, is rejected, nothing is run either: the answer says which of the two was rejected and names the call that rebuilds it. Pass first_run true when the playlist was assembled in this same conversation, immediately before the run. The person's courses are never stored: they come in each call and go back in continue, which you keep. Only the run's line states, counts and timings are recorded, after the answer. Every answer carries trust: the run's trust state, the weaker of the playlist's and its school policy's, with who built the playlist and when, who verified or confirmed it and when, its catalog edition, and one sentence. Always tell the person the trust statement. A run whose trust state is below ai_verified says Unverified. mapped_from says what the answer is from: playlist, with its playlist_id and trust state, or harvested_checklist where no playlist is held and nothing was run.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "checklist_id": "<checklist_id>",
      "held": "<held>"
    },
    "name": "playlist_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
heldYesThe courses the person holds, as many as there are, the whole list on every call, in the form checklist_map accepts: each { unitid or school, code, title, credits, grade, term }. An empty list runs the checklist with no courses or exams: one call, every line that asks for a course is open, and the answer says what is still needed
continueNoFrom the previous answer: its continue, sent back unchanged. Leave it out on the first call
first_runNoFirst call only: true when the playlist was assembled in this same conversation, immediately before the run; otherwise the run is recorded as a hit
checklist_idYesThe checklist, by its checklist_id from an earlier answer

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false, idempotentHint=false and destructiveHint=false; the description adds far more behavior: per-course landing outcomes (self, transfer-mapped, unresolved, failing/withdrawn grades excluded), line fill ordering, credit_short semantics, deferred recording of line states/counts/timings, and that held courses are never stored. It also mandates surfacing the trust statement and explains mapped_from. No contradiction with the mutation/imprecision hints.

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?

Front-loaded with purpose, then the loop protocol, then landing rules, then the answer shape, then edge cases and trust — a logical order. It is dense and several sentences are very long run-ons (the 'last call's answer gives...' enumeration), which costs the top score, but almost nothing is filler.

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, stateful, multi-call tool with no output schema, the description carries the full burden and meets it: it documents the answer fields, line states, step timings, trust block, mapped_from, continue protocol, and both rejection paths. An agent has enough to call it correctly on the first try and to continue the loop.

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?

Schema coverage is 100% so the baseline is 3, but the prose adds procedural meaning the schema does not: continue must be echoed back unchanged alongside the same checklist_id and held, and first_run must be true only for a playlist assembled in this same conversation immediately before the run. The empty-held behavior is already in the schema, so it is not double-counted.

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?

Opens with a specific verb+resource+scope: 'Play a person's held courses through a checklist's stored playlist and get their progress line by line.' That distinguishes it from checklist_map (mapping courses) and playlist_open (which the description explicitly names as the prerequisite call when no playlist exists).

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

Usage Guidelines5/5

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

Gives explicit operating rules: supply checklist_id and held with the whole list each call; on a non-done answer, resend continue unchanged until done; pass first_run true only when the playlist was assembled in this same conversation. It also names the alternative calls for the two failure cases (playlist_open when no validated playlist is held; the rebuilding call when playlist or policy is rejected) and states that a run is never made against the harvested checklist.

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.