Skip to main content
Glama

Terminate External Building Cable Drops on Patch Panel

plan_external_endpoints
Destructive

Terminate external building or room cable drops onto the rear RJ45 ports of a mounted patch panel without consuming rack U slots, and optionally auto-create labeled Cat6A front patch cables to a mounted switch. 'groups[]' batch-generates drops first—with 'custom_labels[]' overriding numbered 'label_prefix' entries per index—followed by 'endpoints[]', allocating sequential free rear ports from 'start_port_number' and sequential free switch RJ45 ports from 'auto_connect_switch_start_port'. Setting 'clear_existing' destructively removes prior external drops on 'patch_panel_instance_id' and their front patch cables before allocation, while unmounted patch-panel or switch IDs return status 'INVALID' without mutating state. Use for off-rack building wiring entering the enclosure; never mount room endpoints via mount_equipment, and use connect_cables for purely internal rack-to-rack links.

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": {
      "patch_panel_instance_id": "<patch_panel_instance_id>"
    },
    "name": "plan_external_endpoints"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupsNoBatch groups of external drops (e.g., 10x PoE cameras, 5x Wi-Fi APs, 5x room LAN outlets).
endpointsNoIndividual external building/room drops to terminate on the rear of the patch panel.
clear_existingNoIf true, destructively clears existing external_endpoints (and their front patch cables) on patch_panel_instance_id before planning.
entry_positionNoRear building cable conduit entry point into the rack frame.top-rear
start_port_numberNo1-indexed starting port number on the patch panel (defaults to next free rear port or 1).
patch_panel_instance_idYesMounted patch panel instance_id whose rear ports receive the incoming building cable drops.
auto_connect_switch_start_portNo1-indexed starting Ethernet port number on auto_connect_switch_instance_id (e.g., 1 for eth1).
auto_connect_switch_instance_idNoOptional switch instance_id to automatically patch from the front of the patch panel using labeled Cat6A cables.

Output Schema

NameRequiredDescriptionDefault
dataYesExternal endpoint planning and auto-patching 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.9/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds the crucial specifics: clear_existing removably destroys prior external drops and their front patch cables before allocation, and unmounted patch-panel or switch IDs return status 'INVALID' without mutating state. That failure-mode and mutation-scope detail is genuine value beyond the annotations.

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 scope, and every clause carries substance — allocation order, destructive behavior, and sibling routing. It is a single dense run-on paragraph, though, and would scan better split into short sentences or bullets.

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?

For a destructive, multi-parameter planning tool the description covers scope, ordering, port allocation, destructive clearing, and the INVALID non-mutating failure path; an output schema exists so return-value detail is not required. Nothing an agent needs to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description still adds cross-parameter semantics the schema cannot express: groups[] are batch-generated first, custom_labels[] override numbered label_prefix entries per index, endpoints[] follow, and ports allocate sequentially from start_port_number and auto_connect_switch_start_port. This ordering and interaction meaning goes well past per-field descriptions.

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?

Specific verb+resource: terminating external building/room cable drops onto rear RJ45 ports of a mounted patch panel, without consuming rack U slots. It also names the optional side effect (auto-created labeled Cat6A front patch cables to a switch), so an agent can distinguish it from connect_cables and mount_equipment.

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?

Explicit routing is given: use for off-rack building wiring entering the enclosure, never mount room endpoints via mount_equipment, and use connect_cables for purely internal rack-to-rack links. Both a when-to-use and two when-not-to-use alternatives are named.

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