Skip to main content
Glama

Remove network

k8s_remove_network
Destructive

Remove a Kubernetes network by network ID to clean up unused or misconfigured network resources. Set confirm to true for destructive execution when the client cannot answer a confirmation prompt.

Instructions

Invoke the remove_network operation.

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": {
      "network_id": "<network_id>"
    },
    "name": "k8s_remove_network"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoExplicitly confirm this destructive operation. Needed only when the client cannot answer a confirmation prompt.
contextNoNamed context of the multi-context pool to run against (see cm_multi_context list_contexts); the default context if omitted.
network_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.4.2

TDQS

D1.7/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and openWorldHint=true, so the safety profile is covered structurally. The description adds nothing beyond that: no statement of what gets deleted, whether dependent workloads are affected, or whether the idempotent/missing-network case errors. It does not contradict the annotations, but it carries zero behavioral value.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short sentence with no wasted words, but brevity here is under-specification rather than conciseness — there is no front-loaded statement of effect or scope for the agent to anchor on.

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

Completeness1/5

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

This is an open-world destructive operation with an undocumented required identifier and no output schema; the description supplies none of the missing context (what is removed, blast radius, confirmation behavior, error semantics). Completely inadequate for the tool's complexity.

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 coverage is 67%: confirm and context are documented in the schema, but network_id has no description at all, and the tool description does not compensate (no format, no accepted identifier kind, e.g. name vs ID). The description adds no meaning beyond the schema.

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

Purpose2/5

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

"Invoke the remove_network operation" restates the tool name (k8s_remove_network / title "Remove network") without adding specificity. It does not say what a "network" is here (CNI network, NetworkPolicy, cluster network object) nor distinguish this from the docker_/podman_remove_network siblings.

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

Usage Guidelines1/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 prerequisites, and no mention of when a user should prefer the docker/podman equivalents. The definition gives the agent nothing to route on.

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