Skip to main content
Glama
roblox-studio
by nardjay

Undo / redo

history
Destructive

Undo or redo the last change in Roblox Studio, or write an explicit waypoint into the undo history so you can reverse or restore tool-driven edits.

Instructions

Undo or redo the last change in Studio, or write an explicit waypoint into the undo history. Each of your mutating tool calls is already a single undo step, so "undo" reverses the last tool call.

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": {
      "action": "<action>"
    },
    "name": "history"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesOperation to perform.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description adds a real behavioral model beyond them: undo granularity is per mutating tool call, and the third action writes an explicit waypoint. It omits failure modes (undo with empty history) and whether undo/redo invalidates the opposite stack, so not a 5.

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?

Two sentences, the primary operation and its scope front-loaded, followed by the one non-obvious behavioral fact. No filler and nothing repeated from the schema.

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 one-parameter, no-output-schema tool with full annotations, this is nearly complete: the agent knows the operation, its grain, and that it mutates history. The remaining gap is error/edge behavior and the practical result of writing a waypoint.

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?

Schema coverage is 100% and the single enum is already labeled 'Operation to perform', so the baseline would be 3. The description adds meaning to the values by explaining what undo/redo operate on and roughly what a waypoint is, though 'waypoint' remains the least concretely defined of the three.

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 set (undo, redo, waypoint) against a specific resource (the last change in Studio / the undo history). It is clearly distinguishable from the mutation siblings like set_properties or delete_instance, though it does not name any sibling to route against.

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?

It gives concrete context for when to reach for it: undo reverses the agent's own last mutating tool call, since each mutating call is a single undo step. It gives no explicit exclusions or guidance on choosing 'waypoint' over 'undo', so it stops short of 5.

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