Skip to main content
Glama
m4l MCP server

m4l MCP server

patch_remove_box

Delete a box from a Max patch along with its lines and parameter registry entries, including nested entries, to remove the object and related data.

Instructions

Delete a box, its lines, and its (and any nested) parameter registry entries.

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

Input Schema

NameRequiredDescriptionDefault
boxYes
fileNo
pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It does valuable work by disclosing the destructive cascade (lines and nested parameter registry entries are also removed), which the agent could not infer from the schema. However, it omits irreversibility, required permissions, behavior when the box does not exist, and any confirmation semantics, which matter a great deal for an unstoppable delete.

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?

A single front-loaded sentence with zero filler, leading with the destructive action and immediately qualifying its blast radius. Nothing could be cut without losing meaning.

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?

This is a destructive mutation with no annotations, no output schema, and 0% parameter coverage, so the description should do more than one sentence. It successfully covers the destruction scope but leaves parameter meaning, prerequisites, and failure behavior entirely unaddressed.

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% and none of the three parameters are explained in prose. 'box' is at least implied as the deletion target, but 'path' and the optional 'file' are completely undocumented, so an agent cannot tell whether 'path' scopes the file or the box hierarchy, or what 'file' overrides.

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 (delete) applied to a specific resource (box) and explicitly enumerates the cascade scope: its lines and its, plus any nested, parameter registry entries. That scope detail distinguishes it from a simple box-metadata edit such as patch_box, though it never names a sibling to contrast with.

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?

Gives no when-to-use or when-not-to-use guidance, no prerequisites, and no pointer to alternatives such as patch_box (for non-destructive edits) or device_remove_file. The agent must infer entirely from the tool name and the sibling list.

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