Skip to main content
Glama
boraswim
by boraswim

undo

Undoes the last edit, made by the user or by a tool. The app keeps 40 steps. Opening or creating a song clears them.

Instructions

Undoes the last edit, made by the user or by a tool. The app keeps 40 steps. Opening or creating a song clears them.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations, the description discloses how much history is available (40 steps) and that opening or creating a song clears that history. It does not explain edge cases such as undo with no prior edit, but it adds meaningful behavioral context for a simple mutation tool.

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 two concise sentences with the core action stated first and the history constraints immediately after. Every sentence contributes useful information, with no wasted wording.

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 zero-parameter tool with no output schema, the description is complete enough to call correctly. It covers the action, scope, history limit, and the key condition that clears undo history.

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?

The tool has zero parameters, so there are no parameter semantics to clarify. The baseline score of 4 applies, and the description does not need to add parameter detail.

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 description states a specific verb and resource: it undoes the last edit, whether made by the user or a tool. This clearly identifies the operation, but it does not explicitly distinguish it from the sibling redo tool.

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?

The description gives useful context for when the tool applies by noting it undoes the last edit from either a user or a tool. It also clarifies the history constraints, though it stops short of explicitly naming redo as the alternative or stating when not to use undo.

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