Skip to main content
Glama

Start an instance

start_instance
Destructive

Start an instance

Starts a machine for one model: gpuClass (default h200) and size (eighths of a node, default 1) pick its spec and price, fixed for as long as it runs. Billing is per second while it runs, one minute at least: the first minute is debited at once. From the next call on (within a few seconds), the account's calls to that model through any of its model keys cost nothing per token and are held to the machine's limits instead (429 with Retry-After past one). It runs until stopped (stop_instance), until its hours pass, or until the balance runs out. One running instance per model: a second start of the same model is a 409 conflict naming the running one. 402 insufficient_balance when the balance does not cover the first minute; 503 not_configured while no price is known for the model.

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": {
      "model": "<model>"
    },
    "name": "start_instance"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNoEighths of a node: 1 is 1/8 node, 2 a quarter, 4 a half, 8 a full node.
hoursNoHow long it runs, in hours from now (0.25 is 15 minutes, 2 is two hours); it stops by itself then. Null or absent: it runs until you stop it or the balance runs out. Billing is per second either way.
modelYes
gpuClassNoThe node class the machine is sized like: one the model is offered on (its machines in list_instance_types). Absent: the model's own class.
instanceNameNoYour name for it, shown in the console's history and the API.
idempotencyKeyNoOptional. A unique string so that repeating this call never creates twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well past the annotations: per-second billing with a one-minute minimum debited immediately, the token-pricing and rate-limit consequences for subsequent calls, lifetime semantics, and specific failure modes (409 conflict naming the running instance, 402 insufficient_balance, 503 not_configured). This is exactly the mutation-cost disclosure an agent needs before committing.

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?

Dense but front-loaded: identity of the action first, then pricing, then consequences, then error codes. Every sentence carries operational information, though the run-on structure around billing could be broken into shorter clauses.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 does not indicate what a successful response contains (instance identity, name, expiry), so the agent cannot anticipate the return value. Everything else an agent needs to call it safely is present.

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 already 83%, so the schema carries most parameter documentation. The description adds value by tying gpuClass and size to what they determine (spec and price, fixed for the machine's lifetime) and their defaults, which the schema alone does not frame economically.

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 and resource ("Starts a machine for one model") and immediately scopes it by spec (gpuClass, size) and pricing. It is clearly distinguishable from stop_instance, which it names as the terminating action.

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?

Establishes when this applies: dedicated capacity for one model, billed while running, ending via stop_instance, expiry of hours, or balance exhaustion. It also points to list_instance_types for which classes a model is offered on. No explicit 'don't use this if...' but the one-instance-per-model conflict rule effectively covers the duplicate-start case.

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