Skip to main content
Glama
m4l MCP server

m4l MCP server

patch_connections

Retrieve incoming and outgoing connections for a box, including named send/receive partners, or list every connection in a patcher to inspect Max for Live signal flow.

Instructions

Connections of one box (incoming per inlet, outgoing per outlet, plus named send/receive partners anywhere in the device), or with no box, every line in a patcher (patcher = subpatcher path).

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

Input Schema

NameRequiredDescriptionDefault
boxNo
fileNo
pathYes
limitNo
patcherNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that named send/receive partners are included device-wide and that `patcher` scopes to a subpatcher, but it never states that the operation is read-only/non-mutating, nor that results are capped by `limit` (default 300), which materially affects what an agent receives.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is compact and packs the two scope modes into one sentence, but the sentence is a dangling clause with no subject or verb, which hurts front-loading and makes the primary action harder to grasp at a glance.

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

Completeness2/5

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

For a 5-parameter tool with no annotations, no output schema, and zero schema coverage, the description is thin: it omits the return shape, truncation behavior, and the roles of `path`, `file`, and `limit`. An agent could not confidently determine which parameters to supply or what the response will look like.

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

Parameters2/5

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

Schema description coverage is 0% across 5 parameters. The description explains `box` and `patcher` (subpatcher path) meaningfully, but `path`, `file`, and especially `limit` (a truncation cap defaulting to 300) are left entirely to an undocumented schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the resource (connections of a box, or all lines in a patcher) and even the granularity (incoming per inlet, outgoing per outlet), which distinguishes it from patch_connect/patch_disconnect. But it is a noun phrase with no verb, so an agent must infer that this is a read/list operation rather than an edit.

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?

The box-vs-no-box branch is spelled out ("or with no `box`, every line in a patcher"), which is real conditional guidance. There is no explicit when-to-use framing, no statement that this is inspection-only, and no pointer to sibling tools for actually creating or removing connections.

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