Skip to main content
Glama
m4l MCP server

m4l MCP server

device_info

Opens a Max for Live device (.amxd) or patch file (.maxpat) and reports format, device type, embedded files, patcher summary, parameter count, and unsaved-edit state.

Instructions

Open a device (.amxd) or patch file (.maxpat) and describe it: format (plain/frozen), device type, embedded files, top-level patcher summary, parameter count and unsaved-edit state. path may be a full path or a device name found in the User Library.

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

Input Schema

NameRequiredDescriptionDefault
pathYes

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?

With no annotations, the description must carry the behavioral burden; 'describe it' plus reporting 'unsaved-edit state' strongly implies a non-mutating read that does not save, which is useful. However, it never states that it is read-only, whether it requires a running Live instance or bridge connection, what happens if the file is not found or is already open, or whether 'opening' has any side effects. Real gaps remain for a zero-annotation tool.

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?

One front-loaded sentence whose clauses are enumerated outputs, so every phrase carries information. The parenthetical extensions and the trailing path note are both load-bearing. Slightly dense for a single sentence but nothing is wasted.

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?

There is no output schema, and the description compensates by listing the reported fields, which is the right move for an inspection tool. It is nearly complete; the remaining omission is failure behavior for bad paths and the absence of any explicit read-only guarantee, which matters with no annotations present.

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 gives only a bare string titled 'Path', so the description does the work: it explains that `path` accepts either a full filesystem path or a device name resolved in the User Library, and ties it to the two file extensions. It adds no format or error semantics for unresolvable names, keeping it from a 5.

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?

States a specific verb and resource ('Open a device (.amxd) or patch file (.maxpat) and describe it') and enumerates exactly what is reported (format, device type, embedded files, patcher summary, parameter count, unsaved-edit state). That enumeration separates it from mutators like device_save or device_diff without naming them. It stops short of an explicit sibling comparison, so 4 rather than 5.

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 by the read-only framing ('describe it') and by the mention of unsaved-edit state, which signals inspection before saving. There is no explicit statement of when to prefer this over device_status, device_diff or live_device_parameters, and no preconditions stated. Adequate but leaves the agent to infer routing.

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