Skip to main content
Glama

Connect

connect

Patches a cable from an output to an input using moduleId:port identifiers and replaces any existing cable on a busy input.

Instructions

Patch a cable from an output to an input, both written "moduleId:port". An input takes one cable: plugging into a busy input replaces its cable.

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "connect"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
fromYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

A4.4/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing the key side effect: plugging into a busy input silently replaces its existing cable. That is precisely the kind of consequence an agent must know before calling a mutation tool whose annotations only say destructiveHint=false. It stops short of covering failure modes (e.g., nonexistent moduleId or type mismatch), so it is not a 5.

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 zero filler; the format constraint comes first and the replacement caveat second, which is the right order for an agent scanning before a write.

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?

No output schema exists, but the description gives enough to call the tool correctly and anticipate the overwrite. Missing only error/validation behavior when a module or port does not exist, which matters for a two-required-param mutation tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the schema exposes only a regex pattern, so the description carries the load: it defines the 'moduleId:port' format and assigns meaning to each param ('from' = output, 'to' = input). No concrete example is given, and the port-naming convention is left implicit, keeping it below 5.

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?

States a specific verb and resource ('Patch a cable from an output to an input') and pins down both the direction and the string format. An agent can distinguish this from siblings like disconnect or set_transport without opening any schema.

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?

The directionality ('from an output to an input') and the one-cable-per-input rule make the usage context clear for a patching operation. However, it never names the counterpart tool (disconnect) or states exclusions, so routing versus the sibling that removes cables is left to inference.

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