Skip to main content
Glama

GoldCoach

Playlist Schools

playlist_schools
Read-only

One row for each school the playlist store holds a policy, an index run, a playlist or a build request for, ordered by state, then school name. Answered only to main KSAserver's own key; any other caller is refused. Takes no argument, or unitid for one school's row alone. Each row gives unitid, and name and state as the publish this host serves holds them (null where it holds no such school); index, the school's latest academic policy index run as playlist_index_status reads it (status none, running, done or failed; current; publish_version; finished_at; error; policy_pages; left_out); pages_to_read, the count of the page list kept with the policy in use, null where none is kept; last_build, the school's newest build request of either kind by the time it was asked (request_id, rebuild_policy, checklist_id, status, requested_at, error, published_only, timed_out, policy_fallback, attempt_errors, not_read, the counts of policy_warnings and playlist_warnings, policy_pages_read and policy_characters_read), never its learners, null where none is held; policy_in_use, the newest policy that is a draft, not rejected and passed its checks (trust_state, source, created_at), null where none; playlists, the count of the school's checklists with a playlist in use; open_orders, the count of its rebuild orders open or taken; and open_tasks, the count of its slot tasks open or taken on each checklist's copy in use (a run's work copy is not counted). With unitid, the row also gives playlist_rows: one row for each of the school's checklists with a playlist or a playlist build request, each with checklist_id; award_title and program_name as the publish holds them (null where it holds none); playlist, the playlist in use by the same rule as playlists (playlist_id, policy_id, program_id, trust_state, created_at, warning_count and warnings, its validation's warnings as saved), null where none; last_build, the checklist's newest build request with the same fields as the school's last_build, and also started_at, saved_trust, playlist_warnings, steps (the run's steps, each name, started_at, ms and ending), released, reason, rebuild_order, rebuild_playlist, retry_flagged, slot_calls_used and copy_id, null where none; and slot_tasks, the slot tasks of the checklist's template-built copy in use (count, and by_state: each slot state's count, a task with no state counted as open), null where none is in use. A value the store does not hold is null. Read-only: nothing is built or kept, and no model is called.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "playlist_schools"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitidNoOptional: one school, by its IPEDS UNITID; its row alone, with playlist_rows

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, yet the description still adds value: the key restriction, the ordering rule, explicit null semantics ('A value the store does not hold is null'), and the closing assurance that nothing is built or kept and no model is called. That last point matters because the row contents describe index runs and build requests, which could otherwise read as triggering work. It does not cover latency or result-set size for a store-wide scan, which would help on the no-argument path.

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 it is then followed by one enormous unstructured paragraph enumerating every column of both the school row and the nested playlist_rows, with deep parenthetical nesting such as the nested last_build field list. It is a wall of text that an agent cannot scan; a per-field list or grouped sections would preserve the same information at far lower reading cost.

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?

There is no output schema, so the description must carry the return shape, and it does so exhaustively: counts, nullable fields, nested playlist_rows with slot_tasks breakdowns, and how aggregates like open_orders and open_tasks are counted. Some definitions are near-circular ('playlist, the playlist in use by the same rule as playlists'), but an agent has enough to interpret the response correctly.

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 100% and the single unitid parameter is already described there as an IPEDS UNITID returning that school's row with playlist_rows. The description restates this ('Takes no argument, or unitid for one school's row alone') without adding format or edge-case detail, so it does little beyond the schema. A stronger entry would say what happens for an unknown or non-numeric unitid.

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?

The opening clause states a concrete resource and scope: one row per school for which the playlist store holds a policy, index run, playlist or build request, ordered by state then name. An agent can tell this is a store-wide roster. It stops short of naming a sibling for comparison, even though playlist_summary and playlist_index_status clearly overlap in subject matter.

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?

It gives two useful usage facts: the tool takes no argument or a single unitid, and that unitid additionally returns playlist_rows. The authorization note ('Answered only to main KSAserver's own key; any other caller is refused') is a real prerequisite. But there is no guidance on when to choose this roster over playlist_summary, playlist_index_status or playlist_build_requests, so the choice among siblings is left to inference.

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.