Skip to main content
Glama

Read a machine

get_compute_instance
Read-onlyIdempotent

Read a virtual machine: state, SSH access, host keys. Use when after create or a power action, until the state is stable. Before: a vm_ id. Returns the machine, its ssh command and the host key fingerprints to check on first login; balance_stopped_at and delete_scheduled_at when the machine is stopped for lack of balance. Scope: compute:read. Cost: free.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "vm_0123456789abcdef01234567"
    },
    "name": "get_compute_instance"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesMachine id (vm_...).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered; the description adds real context on top: required scope compute:read, zero cost, and the fact that balance_stopped_at and delete_scheduled_at only appear when the machine is stopped for non-payment. It doesn't discuss failure modes such as an unknown id, but the added permission and conditional-field disclosure is substantive.

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?

Front-loaded with the verb and result fields, then usage triggers, prerequisites, return values, and scope/cost metadata in a tight sequence. The telegraphic sentence fragments ('Before: a vm_ id.', 'Scope: compute:read.') are dense but not wasteful.

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 it well by naming the machine record, ssh command, host key fingerprints, and the two conditionally present timestamps. For a single-id read tool that is close to complete, with error behavior the main omission.

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 schema coverage is 100%, with the pattern and example already documenting the vm_ id format. The description's 'Before: a vm_ id' merely restates the schema constraint, so it adds no meaning beyond structured fields.

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?

States a specific verb and resource (read a virtual machine) plus the payload the agent gets back: state, SSH access, host keys. That is far more concrete than the title alone. It never names a sibling such as list_compute_instances, so the singular-vs-list distinction must be inferred from 'Before: a vm_ id' 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 Guidelines4/5

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

'Use when after create or a power action, until the state is stable' gives an explicit trigger and a stopping condition, and 'Before: a vm_ id' supplies the prerequisite. It stops short of a when-not or naming an alternative tool, which keeps it out of 5 territory.

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