Skip to main content
Glama

Register Node

register_node

Add a node to the fleet inventory and test key-based SSH access without changing the node.

Instructions

Add a node to the inventory and test key-based SSH. Does not change the node.

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>",
      "host": "<host>"
    },
    "name": "register_node"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostYesIPv4/IPv6 address or hostname reachable over SSH
nameYesNode name in the inventory, for example weld_node1
tagsNoLabels for fleet targeting, e.g. ['line1','gpu']
ssh_portNo
ssh_userNoDeployment account on the nodedeploy

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

The line "Does not change the node" usefully reconciles the annotation pair readOnlyHint=false with destructiveHint=false, and the SSH test callout explains the openWorldHint=true network access. However, it omits key behavioral facts for a registration tool: what happens on duplicate names, whether a failed SSH test aborts the registration, and what account/credential must already be provisioned.

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 short sentences with the primary action first and the negative scope immediately after; every clause carries information and nothing is padded.

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

Completeness3/5

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

An output schema exists, so return values need not be described, and 5 parameters with 80% coverage are largely self-documenting. Still, for a tool that mutates inventory state and performs an outbound SSH probe, the absence of idempotency/duplicate-handling and failure-mode notes leaves a real gap.

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 coverage is 80%, so the schema already carries most parameter meaning, and the description adds no per-parameter detail. Only indirectly does "key-based SSH" gloss the ssh_user/ssh_port defaults, leaving the undocumented ssh_port field with no explanation anywhere.

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?

"Add a node to the inventory and test key-based SSH" gives a concrete verb plus resource and names the two things it actually does (inventory write + connectivity check). It does not distinguish itself from nearby siblings such as onboard_node or register_node_in_hermes, so an agent cannot fully resolve which registration path to pick from the description alone.

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 implied rather than stated: the tool is for adding an inventory entry and validating SSH key access. There is no when-to-use/when-not-to-use guidance and no named alternative, even though register_node_in_hermes and onboard_node appear to be adjacent entry points.

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