Skip to main content
Glama

undo_redo

Revert a rack state mutation or reapply a reverted change to restore the prior rack configuration during editing.

Instructions

Revert the most recent rack state mutation (undo) or reapply a reverted mutation (redo).

Input Schema

NameRequiredDescriptionDefault
actionYesHistory traversal direction: undo reverts the previous mutation, redo reapplies it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

The description adds useful behavioral context beyond the single annotation: undo reverts the most recent mutation and redo reapplies a reverted mutation. However, it omits important mutation-related details such as whether the redo history persists, error behavior when nothing exists to undo/redo, or authorization constraints.

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?

A single, front-loaded sentence that defines both actions without any wasted words. Every clause earns its place.

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 simple one-parameter tool with full schema coverage and no output schema, the description gives enough for an agent to call it correctly. Minor gaps remain around edge cases and mutation scope, but the core behavior is clear.

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% and the single 'action' parameter already has an enum and a description explaining undo/redo semantics. The description mirrors that information rather than adding format details beyond the schema.

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 specific verbs and resource: 'Revert the most recent rack state mutation' for undo and 'reapply a reverted mutation' for redo. It is clear enough to distinguish from sibling tools like mount_equipment or connect_cables, though it doesn't enumerate which rack mutations are covered.

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

Usage Guidelines3/5

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

Usage is implied through the action enum and the phrase 'most recent rack state mutation', but there is no explicit guidance on when to use undo versus redo, prerequisites, or what happens when there is no history. No alternatives are discussed, though none of the listed siblings serve this purpose.

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