Skip to main content
Glama

Move, Rename, or Remove Mounted Equipment

modify_equipment
Destructive

Move, rename, or destructively remove an existing mounted device or child sub-module in the active rack, recalculate 3D cable splines, and re-run 5-stage validation. 'instance_id' resolves across top-level devices and carrier sub-modules, and required fields depend on 'action': 'move' updates 'u_position' and 'face' on rackmount gear or 'slot_id' and optional 'parent_carrier_id' across carriers for sub-modules with primary fields taking precedence over 'new_*' aliases, 'rename' updates or clears 'hostname', and 'remove' cascades to child sub-modules plus attached cables and external endpoints when 'remove_connected_cables' is true. Pushes the prior state onto the undo stack and updates rack.yaml atomically, or returns status 'INVALID' without mutating state when 'instance_id' or a target carrier is unknown. Use to update or delete a mounted instance; use mount_equipment to add new hardware, or disconnect_cables to remove cables while keeping devices mounted.

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": {
      "instance_id": "<instance_id>",
      "action": "<action>"
    },
    "name": "modify_equipment"
  }
}

Input Schema

NameRequiredDescriptionDefault
faceNoNew mounting face ("front" or "rear") when action is "move" on a rackmount device (takes precedence over new_face).
actionYesModification operation: "move" relocates a device, "rename" updates its hostname, and "remove" deletes the device instance.
slot_idNoTarget slot_id inside parent_carrier_id when action is "move" on a child sub-module.
hostnameNoNew logical hostname when action is "rename" (takes precedence over new_hostname).
new_faceNoOptional alias for face when action is "move".
u_positionNoNew 1-indexed U position when action is "move" on a direct rackmount device (takes precedence over new_u_position).
instance_idYesExisting mounted device or child sub-module instance_id to modify.
new_hostnameNoOptional alias for hostname when action is "rename".
new_u_positionNoOptional alias for u_position when action is "move".
parent_carrier_idNoTarget parent carrier instance_id when action is "move" on a child sub-module.
remove_connected_cablesNoWhen action is "remove", whether to automatically disconnect all cables and external endpoints attached to the removed device (default: true).

Output Schema

NameRequiredDescriptionDefault
dataYesEquipment modification result payload.
issuesYesStructured diagnostic findings (ERROR, WARNING, INFO) with actionable remediation_suggestions.
statusYesDeterministic execution outcome: "VALID" when the operation succeeded with 0 validation errors; "INVALID" when precondition or engineering validation errors are present in issues[].
summaryYesConcise human- and agent-readable summary of the tool result and validation status.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and non-idempotency, but the description adds substantial behavior beyond them: 3D cable-spline recalculation, a 5-stage validation re-run, undo-stack push, atomic rack.yaml write, cascade to child sub-modules and external endpoints when remove_connected_cables is true, and a non-mutating 'INVALID' failure path. These are exactly the consequences an agent must know before invoking a destructive mutation.

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?

Front-loaded with the core action and tight routing guidance at the end. The middle sentence is one very long chain packing action-conditional semantics, precedence, and cascade behavior, which is information-dense but heavy to parse in one pass.

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

Completeness5/5

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

An output schema exists, so return values need no explanation, and the description still covers the failure mode ('INVALID' without mutating state). For an 11-parameter destructive mutation, the atomicity, cascade, validation, and undo guarantees leave nothing critical unstated.

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 coverage is 100%, so field meanings are already documented, yet the description still adds the conditional structure the schema does not express: which fields matter per action (move → u_position/face for rackmount vs slot_id/parent_carrier_id for sub-modules, rename → hostname, remove → remove_connected_cables) and the primary-over-alias precedence. It stops short of adding new format detail, but the action-to-parameter map is genuinely additive.

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

Purpose5/5

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

The description leads with a precise verb set and resource: "Move, rename, or destructively remove an existing mounted device or child sub-module in the active rack." It names the scope (active rack, top-level and sub-module instances), which immediately separates it from mount_equipment and the cable tools.

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

Usage Guidelines5/5

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

It gives an explicit positive case ("Use to update or delete a mounted instance") and names two disambiguating alternatives with the condition that selects each: mount_equipment for adding hardware, disconnect_cables for removing cables while keeping devices mounted. Nothing about the choice is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources