Skip to main content
Glama

Onboard Node

onboard_node

Prepares an inventory node for deployment: installs missing packages, checks Docker, clones the app, fills empty .env credentials, pins HOST_IP to localhost, and stores its MCP login centrally.

Instructions

Prepare a node (job): install missing packages with passwordless sudo, check Docker, clone the app, fill empty .env credentials with random valid values, pin HOST_IP=127.0.0.1, and store the node's MCP login on the central host.

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

Input Schema

NameRequiredDescriptionDefault
nameYesNode name in the inventory, for example weld_node1
skip_platform_checkNoWrite PLATFORM_CHECK=false. Only for CI/validation on non-Panther Lake hardware

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

The annotations only say readOnlyHint=false, openWorldHint=true, destructiveHint=false; the description adds real substance beyond that by disclosing that it uses passwordless sudo, installs packages, clones a repo, writes random values into empty .env credentials, and persists the node's MCP login on the central host. These are meaningful side effects and secret-handling details an agent could not get from the annotations. It does not state idempotency (safe to re-run?) or failure/partial-completion behavior, which keeps it at 4 rather than 5.

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?

Single front-loaded sentence with the verb and object first, then the step list; no filler or restated title. It is a long run-on list, though, and would read better as a short lead sentence plus a step breakdown, so not a 5.

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?

For a multi-step, side-effecting provisioning tool this is fairly complete: the sequence of actions and the secret-handling behavior are spelled out, and an output schema exists so return values need no explanation. The remaining gap is operational context — prerequisites (node must already exist), idempotency, and rough cost/duration — which matters for a tool that runs package installs over sudo.

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 both parameters (name, skip_platform_check) are already documented, including the CI-only caveat for the platform flag. The description adds only the framing of the target as a 'node (job)' and does not elaborate on naming rules or consequences of skipping the platform check beyond what the schema says. Baseline 3 is appropriate.

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 names a specific verb (prepare/onboard) and enumerates the concrete steps: installing missing packages with passwordless sudo, Docker check, app clone, .env credential filling, HOST_IP pinning, and storing MCP login on the central host. That is far more specific than the title 'Onboard Node' alone. It stops short of 5 because it never contrasts itself with plausible siblings such as register_node, connect_node_mcp, or deploy_app, so the agent must infer the boundary.

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: the agent can infer this is the provisioning step for a node that is already in the inventory (the parameter is described as 'Node name in the inventory'). There is no explicit 'use this when X, not Y', no stated prerequisite ordering relative to register_node/connect_node_mcp, and no warning about when not to run it.

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