Skip to main content
Glama

GoldCoach

Playlist Share

playlist_share

Share one run. Call this only when the person asks to share. Give the run_token of the run, the snapshot the person chose to share, includes_grades as true or false, and expires_at, which is required and must be in the future. Returns share_id and a share link that opens the snapshot with the playlist's text lines, status and source until the share expires or is revoked. A run that is not verified, because the trust state of its playlist or of its school's policy is below ai_verified, is shared with the Unverified label: the answer says so, and so does the share link each time it is opened.

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": {
      "run_token": "<run_token>",
      "snapshot": "<snapshot>",
      "includes_grades": "<includes_grades>",
      "expires_at": "<expires_at>"
    },
    "name": "playlist_share"
  }
}

Input Schema

NameRequiredDescriptionDefault
snapshotYesWhat the person chose to share of the run; stored exactly as given
run_tokenYesThe run_token the run's last answer returned
expires_atYesWhen the share ends: a UTC timestamp in the future
includes_gradesYesWhether the snapshot carries the person's grades

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnly=false and destructive=false; the description adds real behavioral context the agent would otherwise lack: the share expires or can be revoked, expires_at must be in the future, and unverified runs are still shared but labeled Unverified both in the answer and on the link. It does not say whether repeated calls create multiple independent shares, which matters given idempotentHint=false.

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 the action and the usage gate, then parameters, then return behavior, then the unverified edge case. It is a bit dense in the final sentence but no sentence is wasted.

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?

With no output schema, the description carries the return contract (share_id, link contents, expiry) and covers the non-obvious nested snapshot parameter and the unverified trust-state edge case. An agent has everything needed to call this 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%, with run_token, snapshot, includes_grades and expires_at all described in the input schema. The description largely restates those (expires_at in the future, includes_grades as true/false) rather than adding new syntax or constraints, so the baseline 3 applies.

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 sentence 'Share one run' gives a specific verb and resource, and the description states what is returned (share_id plus a link). It is clearly distinct from playlist_read/playlist_run, though it never names playlist_unshare, the sibling an agent would most confuse it with.

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?

'Call this only when the person asks to share' is an explicit gating condition that prevents unsolicited shares. It stops short of naming the alternative for reversal (playlist_unshare) or stating when not to share, so guidance is clear but not complete.

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.