Skip to main content
Glama

Reset Simulation Workspace

reset_simulation_workspace
DestructiveIdempotent

Return the simulation workspace this credential is connected to to its baseline, the client's data before anything was rehearsed (governed two-step, destructive): rehearsed records, the simulated books' postings and the captured QuickBooks requests go, and the simulated clock returns to real time. The next run saves a fresh baseline. Never touches QuickBooks. Requires a credential granted the sandbox.reset capability. Call with preview=true first, confirm with the user, then repeat with the previewReceipt and a fresh idempotencyKey. Committing needs Spark's OAuth connector: in Sparki the preview works but the commit is refused, so reset from the simulated books page instead.

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": "reset_simulation_workspace"
  }
}

Input Schema

NameRequiredDescriptionDefault
previewNoStep 1 of the required two-step write: set true to receive what the reset replaces plus a single-use previewReceipt. Nothing changes until the commit.
idempotencyKeyNoCaller-generated idempotency key; required with previewReceipt to commit.
previewReceiptNoStep 2: the receipt returned by the preview call, with a fresh idempotencyKey.

Output Schema

NameRequiredDescriptionDefault
okNo
statusNo
messageNo
previewNo
restoredNo
snapshotNo
expiresAtNo
actionItemIdNo
confirmationNo
correlationIdNo
workspaceNameNo
approvalResultNo
idempotencyKeyNo
previewReceiptNo
clockPinnedAtUtcNo
idempotentReplayNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructive, idempotent, and non-read-only behavior. The description adds substantial context beyond that: which records and postings are removed, that the simulated clock returns to real time, that QuickBooks is never touched, the authorization requirement, and the two-step preview/commit protocol.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is dense and front-loaded, leading with the outcome and then the required operating procedure. Some clauses are long, but nearly all of the detail is operationally relevant rather than redundant.

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 destructive reset tool with an output schema and fully described parameters, the definition covers the key behavior, prerequisites, two-step confirmation, and environment limitation. Nothing needed to invoke it correctly appears to be missing.

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%, so the parameter definitions already explain each field. The description still adds useful semantics by clarifying the required two-step sequence and the need for a fresh idempotencyKey at commit time, though it does not add format details beyond the schema.

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 and resource: it returns the connected simulation workspace to its baseline and explains what the baseline is. It clearly distinguishes this operation from nondestructive simulation actions by naming what is destroyed and what returns to real time.

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?

Gives explicit when-to-use and how-to-use guidance: call with preview=true first, confirm with the user, then commit with the previewReceipt and a fresh idempotencyKey. It also states the required sandbox.reset capability and the Sparki-specific alternative of resetting from the simulated books page.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources