Skip to main content
Glama
computenexa-gpuInfrastructure

ComputeNexa MCP Server

Official

Get a machine

get_machine
Read-onlyIdempotent

Retrieve a machine’s state, connection details (SSH, browser apps, API endpoint), remaining time, keep-running status, and costs without exposing keys.

Instructions

One machine: its state, how to connect (SSH command, browser apps, API or endpoint address), time left, keep-running status and costs. Never its keys.

Input Schema

NameRequiredDescriptionDefault
machine_idYese.g. cnx-7f3a9c

Output Schema

NameRequiredDescriptionDefault
idYese.g. cnx-7f3a9c
appYes
gpuYes
labelYes
modelNo
stateYesrequested | provisioning | running | stopping | terminated | failed
regionNo
billingNo
projectNo
gpu_countYes
end_reasonNo
expires_atYes
charged_usdYes
launched_byNo
ssh_commandYesWhile running, if the machine has an SSH key
api_base_urlNoModel API / Voice Agent machines: their API address
browser_appsNoApps to open from the dashboard's Open button while running
endpoint_urlNoYour own server on the machine's port 8000
refunded_usdYes
renew_failedNo
endpoint_nameNo
cost_so_far_usdYesWhat it costs if it ended now
next_renewal_atNo
startup_progressNo
time_left_minutesYes
keep_running_hoursYesRenews this many hours at a time; null = off
price_per_hour_usdYesFor the whole machine (all its GPUs)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/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 safety is covered. The description adds real value beyond that by scoping what is returned and explicitly stating 'Never its keys' — a security-relevant negative that steers agents toward get_endpoint_key. It does not mention behavior for unknown/expired IDs.

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?

One dense sentence with the resource front-loaded, then the returned facets, then an important exclusion at the end. No filler and nothing redundant with the title.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read tool with full annotation coverage and an output schema, the description covers purpose, contents, and the one non-obvious caveat (keys excluded). Nothing an agent needs in order to call it correctly is missing.

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?

Schema description coverage is 100% and the single machine_id parameter already carries an example format (cnx-7f3a9c) plus length bounds, so the baseline of 3 applies. The description adds no syntax, format, or lookup guidance for the identifier.

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?

Names a specific verb (get) and resource (one machine) and enumerates the returned facets: state, connection details, time left, keep-running status, costs. The phrase 'One machine' implicitly distinguishes it from list_machines, so an agent can route between single-fetch and listing without opening another schema.

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: 'One machine' vs. the list_machines sibling signals the retrieve-a-single-record case, but there is no explicit when-to-use, no prerequisite (e.g. machine must exist / be owned by caller), and no named alternative for related needs like get_endpoint_key.

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