Skip to main content
Glama

Connect Node Mcp

connect_node_mcp

Reconnect a node's MCP server after a redeploy done outside the orchestrator by creating an SSH tunnel, pinning its current nginx certificate, and waiting for tools/list.

Instructions

(Re)connect a node's MCP server: SSH tunnel, pin its current nginx certificate, wait for tools/list. Run after a redeploy done outside the orchestrator.

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": "connect_node_mcp"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesNode name in the inventory, for example weld_node1
wait_secondsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, and destructiveHint=false, so the safety profile is partly covered. The description adds real value by disclosing side effects: it opens an SSH tunnel, pins the node's current nginx certificate (a persistent state change), and blocks on tools/list. It does not say whether an existing tunnel is replaced, what happens if pinning fails, or that the certificate pin applies globally rather than per-session.

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?

Two sentences, front-loaded with the operation and followed by the usage condition, with no filler. The parenthetical "(Re)connect" and the step list carry real information rather than restating the title.

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?

An output schema exists, so return values need no explanation, and the annotations cover the safety profile. For a network-touching, state-changing reconnect operation the definition is nearly sufficient, with the main gap being failure/timeout semantics for `wait_seconds`.

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 50%: `name` is documented inline with an example, but `wait_seconds` (default 300) has no description anywhere. The phrase "wait for tools/list" hints at the timeout, yet it never states units, that wait_seconds bounds it, or what occurs when it expires — so the description only marginally compensates for the gap.

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?

"(Re)connect a node's MCP server" names a specific verb and resource, and the colon-enumerated steps (SSH tunnel, pin nginx certificate, wait for tools/list) make the operation concrete and clearly distinct from siblings like register_node or node_status. It stops short of naming an alternative tool, which keeps it from a 5.

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?

"Run after a redeploy done outside the orchestrator" gives an explicit triggering condition, which is exactly the context an agent needs. It does not state when NOT to use it (e.g., redeploys done via the orchestrator, or for nodes never registered), so there is no exclusion guidance.

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