Skip to main content
Glama

undo_preview

Preview a Spotify mutation revert before applying it: see the exact diff and target inversion calls from the receipt, with no changes executed.

Instructions

Dry-run for undo_mutation: shows exactly what a receipt-driven revert WOULD do (diff of before/after, target inversion calls) without executing. 0-2 reads.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
checkNoOptionally verify the target still exists (1 read)
mutation_idYesReceipt id (rcpt_N) to preview reverting
response_formatNo'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API objectconcise
Behavior4/5

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

No annotations are provided, so the description carries the burden of behavioral disclosure. It clearly states this is a non-executing dry-run, shows what output will contain (diff, target inversion calls), and gives a read-cost estimate. It does not disclose the exact output format beyond the schema's response_format enum, but the key safety-relevant behavior (no execution) is explicit.

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 compact and front-loaded, with the core purpose stated in the opening phrase. The read-cost hint is a useful addition, and there is no redundant text or repetition of schema details.

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 non-executing preview tool with a fully-covered schema and no output schema, the description covers the essential context: what it does, what it doesn't do, and the cost. It could mention expected response format more explicitly, but the response_format parameter already documents the options. No critical gap for an agent to use it 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 description coverage is 100%, so parameters are already well-documented. The description adds meaning by tying mutation_id to a receipt id and mentions the optional check behavior but does not add much beyond the schema. Baseline 3 is appropriate since the schema does the heavy lifting.

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 clearly identifies this as a dry-run for undo_mutation, explicitly stating it shows what a receipt-driven revert would do (diff of before/after, target inversion calls) without executing. This distinguishes it from the actual mutation tool and other read tools, making its purpose unmistakable.

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

Usage Guidelines5/5

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

The description explicitly frames the tool as a preview before executing undo_mutation, naming the related mutation tool and stating that it does not execute. The '0-2 reads' cost hint additionally signals when it is safe to invoke, giving clear context for when to use it versus the actual undo operation.

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