Skip to main content
Glama

safe_stop

Destructive

Saves all managed workspaces and stops the Colab VM only after Drive verifies every upload; refuses while jobs are active and leaves the VM running if saving fails.

Instructions

Save all managed workspaces and stop the VM only after Drive verifies every upload.

Unmanaged processes and files outside the workspace are not captured. Saving failures leave the VM running so the user can recover. Refuses while managed jobs are active. With no managed workspace there is nothing to save; the VM stops and the result reports nothing_to_save: true.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.9/5.0
Behavior3/5

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

Annotations only declare destructiveHint=true; the description adds meaningful context beyond that — verification-gated shutdown, refusal during active jobs, and fail-safe behavior on save errors. However, it leaves the stop mechanics unspecified (graceful vs forced, timeout, whether it can be interrupted), which matters for a destructive operation.

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?

Four short sentences, action front-loaded, then edge cases in descending order of importance (uncaptured data, failure handling, refusal, empty case). No filler or repetition.

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?

With no output schema, the description compensates by describing outcomes and the nothing_to_save flag, and it covers the main failure modes. Remaining gaps are the stop semantics and whether stopping is recoverable.

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?

Zero parameters, so the schema carries nothing to interpret; baseline 4 applies. The description still documents one result field (nothing_to_save: true) that substitutes for the absent output 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 a specific compound action — save all managed workspaces, then stop the VM — with a clear ordering condition (only after Drive verifies uploads). It implicitly separates itself from the plain save_workspaces sibling by adding the stop behavior, but never names or contrasts an alternative explicitly.

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 conditions: refuses while managed jobs are active, nothing to save when no managed workspace exists, and failures leave the VM running for recovery. Clear invocation context, though it doesn't route the agent to a sibling (e.g. save_workspaces) when a save-only outcome is wanted.

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