Skip to main content
Glama

Stop an instance

stop_instance

Stop an instance

Stops it now and bills it to this second (one minute at least). From the next call on, calls to its model are billed per token again. Stopping a stopped instance answers it as it is.

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": {
      "id": "<id>"
    },
    "name": "stop_instance"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe instance id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations, the description discloses the billing consequences that actually drive the decision: prorated billing to the second with a one-minute minimum, and a switch back to per-token model billing from the next call. It also discloses graceful handling of a redundant stop. It does not say whether the instance is destroyed, whether in-flight requests are cut off, or how billing settles afterwards, which keeps it short of a 5.

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?

Three short sentences, front-loaded with the action and its immediate cost effect; each sentence carries distinct information. The opening line merely restates the title, and the closing sentence ("answers it as it is") is awkwardly phrased, which costs a point but not much else.

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, non-read-only tool with no output schema and annotations covering the safety profile, the description supplies the material an agent needs: immediacy, billing impact, and redundant-call behavior. Only lifecycle details (destruction, restart path, request interruption) are absent, and the presence of start_instance makes the restart path largely self-evident.

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?

There is a single required `id` parameter with 100% schema description coverage, so the schema already carries the semantics. The description adds no format, validation, or identification guidance for the id, which is the expected baseline when the schema does the work.

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 names a specific verb and resource (stop an instance) and immediately scopes the action in time ("Stops it now"). It does not explicitly differentiate from the obvious sibling start_instance, so the distinction has to be inferred from the names rather than stated.

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

Usage Guidelines3/5

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

Usage context is implied rather than stated: the agent learns the action is immediate and that calling it on an already-stopped instance is a harmless no-op. There is no explicit when-to-use versus when-not guidance and no named alternative, so the agent must infer that this is the counterpart to start_instance.

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