Skip to main content
Glama

playlist_collab_toggle

Toggle a playlist's collaborative and public flags. Guards against having both public and collaborative enabled simultaneously.

Instructions

Toggle collaborative/public flags (guards public=true && collaborative=true 400). Quota: 🟢 GET + PUT.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
publicNo
dry_runNoPreview only: validate inputs and describe exactly what would change without performing it
playlist_idYes
collaborativeNo
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure itself. It does reveal an important behavioral rule (public=true && collaborative=true returns 400) and the quota shape (GET + PUT), but it does not explain permissions, reversibility, side effects on existing flags, or what the response contains.

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

Conciseness5/5

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

The description is extremely compact and front-loaded: the core action appears first, followed by the key constraint and quota note. Every fragment adds useful information with no repetition or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations and no output schema, this description is too thin. It omits return behavior, auth/permission needs, handling of partial flag updates, and the interplay between dry_run and the 400 guard. An agent could call it, but would be guessing about important edge cases.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25%, so the description needs to compensate. It clarifies that public and collaborative are the flags being toggled, but it does not explain how each boolean maps to the final state, what happens if neither is provided, or how dry_run interacts with the guard. Less than half of the parameter semantics are meaningfully covered.

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?

The description uses a specific verb ('Toggle') and names the exact resource ('collaborative/public flags'), making the operation immediately clear. It also adds a distinguishing guard condition (400 when both true), helping separate it from read-only report siblings like playlist_collaboration_report.

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

Usage Guidelines2/5

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

No explicit guidance is given about when to use this tool versus alternatives. The 'Toggle' wording implies a mutation use-case, but the description does not state prerequisites, when not to use it, or compare it to any sibling tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/NovaLux12/spotify-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server