Skip to main content
Glama

undo

Revert the last change in Roblox Studio via ChangeHistoryService; call again to step further back through prior changes.

Instructions

Undo the last change in Studio (ChangeHistoryService). Repeat the call to undo further back.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "undo"
  }
}

Input Schema

NameRequiredDescriptionDefault
clientNoTarget a specific Studio client by name (as shown on the panel, e.g. "studio"). Omit to auto-pick: the only active client, or the most recently active one when several are connected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the important stateful trait that each call peels back one more step of ChangeHistoryService history. It is silent on what happens when history is empty, how many steps are retained, whether the undo is reversible via redo, and what the call returns on success or failure.

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 short sentences, purpose first and the repeat-to-go-further behavior second. No filler, no restatement of the title, nothing that fails to earn its place.

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

Completeness3/5

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

For a zero-required-parameter, no-output-schema tool this covers the essentials of what the tool does and how to chain it. It leaves gaps around failure when history is exhausted and around multi-client scoping, which matter given the stateful Studio context and the absence of annotations.

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?

The single client parameter is fully documented in the schema (100% coverage), including auto-pick semantics, so the schema does the heavy lifting. The description never mentions client targeting at all, adding no meaning beyond the schema; baseline 3 applies.

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?

States a specific verb (Undo) against a specific resource (the last change in Studio) and names the underlying mechanism, ChangeHistoryService. The verb alone separates it cleanly from the sibling redo, so an agent can pick it without inspecting either schema.

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?

Clearly tells the agent to call this after a change and that repeating the call walks further back through history, which is the key usage pattern. It doesn't state exclusions (e.g. what to do when there is nothing left to undo), so it stops short of full when/when-not guidance.

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