Skip to main content
Glama

port_off

Destructive

Disable a server's physical switch port to remove network connectivity on that interface; requires server ID, port, and confirmation.

Instructions

Disable a server network port (net/port_off). DESTRUCTIVE: the server will lose network connectivity on this interface.

Input Schema

NameRequiredDescriptionDefault
idYesServer ID
portYesPhysical switch port from get_network_status
confirmYesMust be true to run the operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.0.3
    • changedInput schema / properties / id / description
      Previous value: -"ID сервера"New value: +"Server ID"
    • changedInput schema / properties / port / description
      Previous value: -"Физический порт свитча из get_network_status"New value: +"Physical switch port from get_network_status"
  2. First observedv1.0.1

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known. The description earns credit by adding the concrete consequence — the server loses network connectivity on that interface — which is more actionable than a generic destructive flag. It stops short of stating reversibility or the confirm gate.

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?

Two tight sentences with zero waste, front-loading the action and immediately following with the risk warning. Nothing could be removed without losing information.

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

Completeness4/5

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

For a destructive mutation with no output schema, the safety annotations plus the connectivity-loss warning cover the essentials, and the confirm requirement lives in the schema. Adding reversibility (use port_on to restore) would make it fully complete.

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

Parameters3/5

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

Schema description coverage is 100%, so all three parameters (id, port, confirm) are already documented in the schema. The description adds no syntax or format detail beyond that, which is the expected baseline when the schema does the heavy lifting.

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 (Disable) and resource (server network port), with the underlying API operation (net/port_off) in parentheses. It is clearly distinguishable from sibling port_on by semantics, though it never names the opposite operation explicitly.

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 when-to-use guidance, no mention of the counterpart port_on, and no stated prerequisites (e.g. that confirm must be true or that the port comes from get_network_status). The purpose implies the usage but nothing routes the agent among alternatives.

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

Deploy Server

Other Tools