Skip to main content
Glama

Center AI Vision GPU cloud

Wait for a machine

wait_for_machine
Read-only

Waits up to 80 seconds for a machine to finish starting. Returns its state and how to connect, or that it is still starting.

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": {
      "orderId": "<orderId>"
    },
    "name": "wait_for_machine"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish this is a safe read (readOnlyHint=true, openWorldHint=false), and the description adds real context on top: a hard 80-second wait ceiling, the two possible outcomes (ready with connection info, or still starting), and that connection details are part of the payload. It does not mention whether polling again is expected or any call-frequency constraints.

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?

Two sentences, front-loaded with the wait bound and followed by the return semantics. Nothing is redundant or padded.

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 carries the return-value burden and does so adequately by naming state, connection info, and the still-starting case. The remaining gap is the undocumented orderId and the absence of retry guidance for the still-starting outcome.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description says nothing about the single parameter, so there is no added meaning beyond the field name 'orderId' and its UUID pattern. The name is fairly self-explanatory, but the description never clarifies whether this is a machine order ID versus some other identifier, leaving the coverage gap uncompensated.

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 uses a specific verb and resource ('Waits ... for a machine to finish starting') and states the bound (80 seconds) plus what comes back. It implicitly separates itself from start_gpu/stop_machine by making clear it only waits rather than mutates. It stops short of naming a sibling alternative explicitly, which keeps it from a 5.

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 is only implied: an agent can infer this is the polling step after a machine is requested, and the 80-second cap hints that a repeat call may be needed. There is no explicit when-to-use, when-not-to-use, or guidance on what to do if the machine is still starting.

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