Skip to main content
Glama
m4l MCP server

m4l MCP server

device_extract

Writes embedded files from an in-memory Max for Live device—either all files or selected names—to a specified folder on disk for extraction.

Instructions

Write embedded files (all, or names) to a folder on disk, as currently held in memory.

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>",
      "out_dir": "<out_dir>"
    },
    "name": "device_extract"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
namesNo
out_dirYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It usefully discloses that the data written is the in-memory copy rather than what is on the device, but it omits overwrite behavior for existing files, any permission or mount prerequisites, and what confirmation is returned.

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?

A single front-loaded sentence with the action first and the source qualifier trailing. Nothing is redundant, though the fragment 'all, or `names`' reads slightly awkwardly.

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 three-parameter write tool with no annotations, no output schema, and zero schema descriptions, the definition is too thin. It does not resolve the meaning of `path`, does not state what the call returns, and does not describe filesystem side effects.

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%, so the description must explain all three parameters. It clarifies that `names` selects a subset versus all files and that `out_dir` is a folder on disk, but leaves `path` completely unexplained, which is a serious ambiguity for a required parameter.

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: writing embedded files to a folder on disk, with the qualifier that content comes from in-memory state. An agent can grasp the operation without the schema, though it does not name how it differs from siblings like device_save or device_put_file.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not guidance, and no mention of alternatives such as device_save or device_read_file. The phrase 'as currently held in memory' hints at the use case of flushing unsaved content to disk but stops short of stating it.

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