Skip to main content
Glama

GoldCoach

Playlist Review

playlist_review

Record a review of one saved playlist or one saved school policy. Give playlist_id or policy_id, one and not both, with reviewer (a name), reviewer_type (human, school or ai_verifier) and decision (confirm or reject). note is optional. The review sets the row's trust_state and never its status: a school's confirm sets school_confirmed; a human's or an AI verifier's confirm sets ai_verified and records the reviewer in verified_by; a reject sets rejected. A confirm of a playlist that was already ai_verified counts as a correct result in the weekly audit, and a human's reject of one as a wrong result. A reviewer may not confirm a row it built (its built_by). A run drops the Unverified label only when its playlist and its school policy are both ai_verified or school_confirmed. Returns the review's id and the row's status and trust_state.

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": {
      "reviewer": "<reviewer>",
      "reviewer_type": "<reviewer_type>",
      "decision": "<decision>"
    },
    "name": "playlist_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoOptional: what the reviewer wants kept with the decision
decisionYes
reviewerYesWho reviewed it: a name
policy_idNoThe school policy to review; give this or playlist_id, not both
playlist_idNoThe playlist to review; give this or policy_id, not both
reviewer_typeYesWho the reviewer is: a person, the school, or an AI verifier

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Far exceeds the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false): it discloses exactly which field is mutated, the trust_state value produced by each reviewer_type/decision combination, that verified_by is recorded, the weekly-audit consequence of confirming an ai_verified row, the self-review prohibition, and the run-level effect of dropping the Unverified label.

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-loads the action and the parameter exclusivity rule, then layers decision semantics. It is dense but nearly every sentence changes how the tool should be called; the audit-consequence sentence is the one piece that could be trimmed without harming invocation correctness.

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 non-idempotent mutation tool with no output schema, the description covers inputs, side effects, authorization constraints, cross-tool/run-level effects, and even the return shape ('the review's id and the row's status and trust_state'). Nothing an agent needs to invoke it correctly is missing.

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 83%, so the schema carries most parameter documentation; the description nonetheless adds real meaning — the mutual exclusivity of playlist_id/policy_id, note being optional, and, most importantly, how each reviewer_type value changes the outcome rather than just naming the identity.

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?

States a specific verb and resource ('record a review') scoped to exactly 'one saved playlist or one saved school policy', and clarifies the effect domain ('sets the row's trust_state and never its status'). An agent can tell this apart from queue/read/save siblings without opening another schema.

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?

Gives concrete invocation constraints: supply playlist_id or policy_id, 'one and not both', plus the rule that a reviewer may not confirm a row it built. It does not name an alternative tool or say when to use this versus playlist_review_queue or playlist_read, so it stops short of full when/when-not guidance.

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.