Skip to main content
Glama

Disconnect

disconnect
Destructive

Unplug a cable from a specified input using its moduleId:port identifier to remove an unwanted patch connection in a modular synth setup.

Instructions

Unplug the cable going into an input ("moduleId:port").

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

Input Schema

NameRequiredDescriptionDefault
toYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered. The description contributes the fact that what gets destroyed is a cable connection into a specific input port, but it omits error behavior when no cable is present and whether the operation is idempotent or reversible.

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?

One sentence, no filler, with the action and the addressing format both front-loaded. Nothing is wasted or buried.

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 one-parameter tool with no output schema, the description supplies what the schema does not: the meaning and format of the address. It stops short of describing post-conditions (what the patch looks like after, whether a dangling module remains), which keeps it from a 5.

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% – the only structured constraint is a regex pattern – so the description carries the burden and delivers: it explains that `to` is an input address in "moduleId:port" form. It could still state whether the port half must exist or be free.

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?

"Unplug the cable going into an input" is a specific verb plus resource, and it names the target as an input rather than an output port. An agent can distinguish it from `connect` and `remove_module` on the sibling list, though the description never explicitly frames it as the inverse of `connect`.

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 by "unplug the cable going into an input" – the agent must infer that this is the undo/removal counterpart of `connect`. There is no statement of prerequisites (must a cable exist first?), no when-not guidance, and no mention of `undo` as an alternative path.

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