Skip to main content
Glama
m4l MCP server

m4l MCP server

device_remove_file

Remove an embedded file from a frozen Max for Live device and clear its dependency_cache entry; changes remain in memory until the device is saved.

Instructions

Remove an embedded file from a frozen device (and its dependency_cache entry). In memory until saved.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose two non-obvious behaviors: removal also drops the dependency_cache entry, and the change is staged in memory rather than persisted. It omits what happens on a missing path/name, whether the operation is reversible (device_revert exists), and any error or permission semantics.

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?

Two short, front-loaded sentences with no filler; the side effect is parenthetical and the persistence caveat trails as a compact fragment. Slightly terse to the point of leaving key semantics (persistence target) unstated.

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

Completeness3/5

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

For a mutation tool with no annotations and no output schema, the description covers side effects and persistence staging reasonably well, but leaves parameter meaning and failure/reversibility behavior unexplained. An agent could still mis-invoke it by passing the wrong form of path or name.

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% — both parameters carry only bare titles ('Name', 'Path'). The description does nothing to clarify whether path is a device filesystem path, a container path, or a lookup root, nor how name relates to path. This is a real gap for a two-required-parameter tool.

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?

Uses a specific verb (Remove) plus a precise resource (an embedded file from a frozen device), and even names the associated dependency_cache entry. It is clearly distinguishable from siblings like device_put_file or device_read_file, though it never explicitly contrasts with them.

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?

There is no explicit statement of when to use this versus device_put_file, device_extract, or device_revert. The phrase 'In memory until saved' implies a follow-up save is required, but the agent must infer that and guess which sibling performs it.

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