Skip to main content
Glama

GoldCoach

Playlist Build Requests

playlist_build_requests

The Queue's build requests, held in the playlist store and written only here. Answered only to main KSAserver's own key: the requests hold the emails of learners who asked for their result by email; any other caller is refused. action list (the default) answers the requests, the newest first, with an optional limit. action get, with request_id, answers one. action open, with request (the request to write) and open_statuses, writes it unless a request for the same key (a policy rebuild: its school; a checklist build: its checklist) has one of those statuses, in which case the optional learner joins that request; started says which. action requeue, with request_id, open_statuses and set, sets those fields on the request unless another request for the same key has one of those statuses; queued says which, with the reason. action set, with request_id and set, sets those fields. action carry_over, with source and requests, carries main's old request file over once; without requests it answers whether the carry-over was made.

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_build_requests"
  }
}

Input Schema

NameRequiredDescriptionDefault
setNoWith requeue or set: the fields to set
limitNoOptional, with list: how many requests to answer; absent, all
actionNolist (the default), get, open, requeue, set or carry_over
sourceNoWith carry_over and requests: where the requests were held
learnerNoOptional, with open: the learner who joins an open request
requestNoWith open: the request to write
requestsNoOptional, with carry_over: the requests to carry over
request_idNoWith get, requeue or set: the request
open_statusesNoWith open or requeue: the statuses of a request still building

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only say non-read-only, non-destructive, non-idempotent, closed-world. The description goes well beyond: it discloses the auth constraint (answered only to main KSAserver's key, other callers refused), the sensitivity of the data (learner email addresses), the collision/merge behavior for 'open' (joins an existing request for the same key with a matching status), the conditional failure gives a reason, and carry_over happens 'once'. No contradiction with the annotations.

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

Conciseness3/5

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

It is one long run-on paragraph with deeply nested clauses; the per-action explanations would be far easier to scan as a list. Almost every sentence carries information, so there is little waste, but the structure undermines fast comprehension.

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?

For a nine-parameter, multi-action tool with nested objects and no output schema, the description covers both invocation conditions and return semantics ('the newest first', 'started says which', 'queued says which, with the reason'). The auth caveat is included. Only the relationship to sibling tools remains unaddressed.

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 already 100%, so 3 is the floor, but the description adds genuine cross-parameter logic the schema cannot express: which parameters apply to which action, and that carry_over without 'requests' behaves as a query rather than a write. That conditional pairing is real added meaning.

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 first sentence names the resource precisely: build requests held in the playlist store, 'written only here', which distinguishes this from the read-only siblings like playlist_read or playlist_rebuild_orders. The six action verbs are enumerated with their required parameters, so an agent knows what the tool does. It stops short of stating a single primary purpose, presenting instead a bundle of actions.

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?

Each action is given its triggering parameter ('action get, with request_id', 'action requeue, with request_id, open_statuses and set'), and list is explicitly marked as the default. Absence of an explicit 'use X instead' routing against siblings is the main gap, but the per-action conditions are unusually concrete.

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.