Skip to main content
Glama

Get a stop by id

get_stop
Read-onlyIdempotent

Retrieve a sandbox stop by its stop ID to inspect a past stop, including stops that remain readable after resume or later stops. Returns 404 for unknown IDs or stops from another sandbox.

Instructions

Get a stop by id. Returns one stop of this sandbox by the id that POST /sandboxes/{sandboxId}/stop returned. Old stops stay readable after a resume or a later stop. Returns 404 when the id is unknown or belongs to another sandbox.

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": {
      "sandboxId": "<sandboxId>",
      "stopId": "<stopId>"
    },
    "name": "get_stop"
  }
}

Input Schema

NameRequiredDescriptionDefault
stopIdYes
sandboxIdYesPublic Sandbox id returned by create/list/get sandbox calls.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so the safety profile is covered. The description adds genuinely new behavior: stop records persist and stay readable across resume or subsequent stops, and 404 is returned for unknown ids or ids belonging to another sandbox — useful failure-mode and isolation context.

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 short sentences, front-loaded with purpose, then id provenance, then retention and error behavior. No filler and nothing repeated from annotations or schema.

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 two-parameter read tool with rich annotations and no output schema, the description covers purpose, id source, persistence semantics, and 404 behavior. The only real gap is the shape of the returned stop object, which is not described anywhere since there is no output schema.

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 50%: sandboxId is documented in the schema but stopId is not. The description compensates by explaining exactly where stopId comes from (the POST /sandboxes/{sandboxId}/stop response) and by tying stop lookup to a specific sandbox, adding meaning beyond the bare string type.

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?

Specific verb and resource ('Get a stop by id') plus scoping ('one stop of this sandbox') and the exact provenance of the id ('the id that POST /sandboxes/{sandboxId}/stop returned'). This clearly separates it from get_sandbox, stop_sandbox, and stop_command without needing their schemas.

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?

Effectively tells the agent when to use it: after a stop operation, using the id that the stop call returned, and notes it remains valid after resume or a later stop. It does not name an alternative or an explicit when-not-to-use case, but the id-provenance constraint is a strong routing signal.

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