Skip to main content
Glama

Stop and delete a Mac

stop_mac
Destructive

Stop a Mac session: shuts down the VM and permanently deletes it and all its files, which ends billing. Read any output you need first with read_mac_output. Call it whenever the task is done so credit is not spent on an idle Mac, then poll get_mac_session until cleanup_confirmed. Cannot be undone.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesMac session ID (ses_…) returned by start_mac or list_mac_sessions.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only when the call failed

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/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, so the safety profile is covered; the description goes beyond that by specifying exactly what is destroyed ('it and all its files'), that billing stops, that the action is irreversible, and that cleanup requires polling. That is meaningful added context, though it does not discuss failure modes or partial-state behavior.

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?

Three tight sentences, front-loaded with the destructive action and its billing consequence, followed by the required pre-step and post-step. No filler and no repetition of the title.

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 single-parameter destructive tool with an output schema available, the description covers what it does, what it destroys, the reading prerequisite, and the follow-up polling. Nothing needed to invoke it correctly is missing.

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?

Only one parameter, and the schema already documents session_id at 100% coverage including the ses_… pattern and its origin (start_mac/list_mac_sessions). The description adds nothing about the parameter, so 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+resource ('Stop a Mac session: shuts down the VM and permanently deletes it') plus the consequence (ends billing). An agent can distinguish it from read_mac_output, get_mac_session, and list_mac_sessions without opening any schema.

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?

Explicitly names the prerequisites and alternatives: read output first with read_mac_output, call whenever the task is done to avoid idle spend, then poll get_mac_session until cleanup_confirmed. When-to-use and sequencing are fully specified.

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