Skip to main content
Glama

workspace_restart

Destructive

Restart the current workspace VM from its persistent disk. The response acknowledges the provider request before the VM is ready.

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": {
      "workspaceSlug": "<workspaceSlug>"
    },
    "name": "workspace_restart"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspaceSlugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, but the description adds real value by disclosing the asynchronous contract: the response only acknowledges the provider request and the VM is not yet ready. It also implies ephemeral state is discarded by restarting from the persistent disk, though it stops short of warning about terminated processes or expected duration.

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, zero filler, with the action front-loaded and the async caveat following. Every clause carries information an agent needs.

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 single-parameter mutation tool with no output schema and annotations covering the safety profile, the definition covers the action, its scope, and its async semantics. It is only slightly short on what is lost during the restart and roughly how to poll for readiness.

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 schema has one required parameter (workspaceSlug) with 0% description coverage, and the description says nothing about whether it expects a slug, ID, or display name. For a single obvious identifier this is a modest gap, but the description adds no meaning 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 gives a specific verb and resource ('Restart the current workspace VM') plus a meaningful scope detail ('from its persistent disk'). It implicitly distinguishes itself from app_restart by targeting the VM rather than an app, but it never names or contrasts any sibling explicitly.

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

Usage Guidelines2/5

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

There is no statement of when to pick this over app_restart, workspace_reprovision, or workspace_delete, and no prerequisites or exclusions. The only usage signal is an implied 'restart the VM' from the resource name, leaving the agent to infer the choice.

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.