Skip to main content
Glama

add_node

Registers a new rental node and returns the Docker command to install its agent. Confirm name and type first, then run the command on the machine to bring the node online.

Instructions

PROVIDER: add a new node to the account and get the docker command that installs the agent on the machine. Confirm the name and type with the user first. The returned command contains the node's secret token: show it only to the user, never paste it anywhere public. The node comes online once the command runs on the machine, then goes through the GPU check. At most 20 nodes an hour per key.

Input Schema

NameRequiredDescriptionDefault
osNoOperating system of the machine. Default linux.
nameYesA label for the node, up to 100 characters.
spotNoA spot node: discounted and reclaimable (GPU only). Default false.
typeNoDefault gpu.
availableNoOn the market as soon as it is ready. Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.4

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and discloses important behavior: it returns a Docker command containing a secret token, the node comes online only after the command runs, and then goes through a GPU check. It also states the rate limit, though it does not mention auth requirements or failure behavior.

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?

The purpose and return value are front-loaded, followed by operational warnings and rate limit. Every sentence adds useful information: confirmation guidance, secret-handling warning, lifecycle note, and rate limit.

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?

There is no output schema, but the description explains the key return value: a Docker command containing the node secret token. Combined with the lifecycle explanation and rate limit, it gives enough context for an agent to call the tool and handle the result safely.

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%, so the schema already documents name, os, spot, type, and available, including defaults and enums. The description reinforces that name and type should be confirmed with the user but adds little parameter detail beyond the schema; baseline 3 is appropriate.

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?

The description states a specific verb and resource: add a new node to the account and return the Docker install command. The word 'new' helps distinguish it from siblings like get_node_install_command, which presumably handles existing nodes, and from list/get/update node tools.

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?

It gives clear usage context: confirm the name and type with the user first, and note the 20-nodes-per-hour limit. It does not explicitly compare against the sibling get_node_install_command, so the agent must infer that this tool is for adding a node rather than fetching a command for an existing one.

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