Skip to main content
Glama

Remove a private network

remove_private_network
Destructive

Removes a private network at once, even while it is connected: every database connection that names it stops reaching it, and its setup command stops working. Confirm with the person first. Only owners and admins can remove one.

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": {
      "name": "<name>",
      "reason": "<reason>"
    },
    "name": "remove_private_network"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe network's name: 1 to 63 lowercase letters, digits or dashes, starting and ending with a letter or digit (office, plant-2). A database connection names it in its Private network setting.
reasonYesWhy, in a sentence: kept in the workspace's activity.
workspace_idNoWorkspace id from whoami; omit when there is one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, so the bar is lower, yet the description still adds substantive behavior: removal takes effect immediately even on a connected network, every database connection naming it stops reaching it, and its setup command stops working. It also discloses the permission requirement, which annotations do not carry.

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?

Three short sentences ordered well: what happens, what breaks, then the caution and the permission gate. Every sentence earns its place, though the closing permission sentence could have been folded into the confirmation sentence without loss.

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 three-parameter tool with no output schema and full schema coverage, this covers impact, immediacy, authorization and the confirmation requirement. The only real gap is not stating whether removal is reversible or how to verify the network's connections before deleting.

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% and each of the three parameters already documents its format ('1 to 63 lowercase letters, digits or dashes'), its purpose (reason is kept in activity) and when workspace_id can be omitted. The description adds no parameter-level detail beyond mentioning that a database connection names the network, so baseline 3 applies.

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?

States a specific verb and resource (removes a private network) plus the defining scope detail that it works 'at once, even while it is connected'. That single clause separates it from add_private_network, check_private_network and the other remove_* siblings without needing to name them.

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

Usage Guidelines3/5

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

Gives a real prerequisite ('Confirm with the person first') and an authorization gate ('Only owners and admins can remove one'), which tells the agent when it is allowed to act. However, it never points at alternatives such as check_private_network to inspect impact before deleting or add_private_network to restore, so routing guidance is only implied by the situation.

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