Skip to main content
Glama

vpc__RemoveSecurityGroups

Remove one or more security groups from a specified VPC port by providing the port ID, project ID, and security group IDs.

Instructions

[VPC] 端口移除安全组

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": {
      "port": "<port>",
      "port_id": "<port_id>",
      "project_id": "<project_id>"
    },
    "name": "vpc__RemoveSecurityGroups"
  }
}

Input Schema

NameRequiredDescriptionDefault
portYes端口移除安全组请求体
port_idYes端口的唯一标识
project_idYes项目ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. 'Remove' implies a mutation that can cut network access, but the definition says nothing about permissions required, idempotency, whether the port keeps its other groups, or what happens when a group is not attached.

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

Conciseness3/5

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

The definition is a single short fragment with no wasted words, but it is under-specified rather than genuinely concise: the bracketed '[VPC]' tag and the terse phrase leave no room for the behavioral or routing information an agent needs.

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

Completeness2/5

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

This is a destructive mutation with three required parameters, a nested request body, no annotations, and no output schema. Given that weight, the description omits too much: no return value, no permission context, and no safety notes, leaving the agent with only the operation name.

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 port_id, project_id, and the nested security_groups list are already documented in the schema. The description adds no extra meaning such as list size limits or whether the call is additive or replacing, so the baseline 3 applies.

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?

The phrase '端口移除安全组' states a specific verb (remove) and resource (security groups) and adds the target the name omits: a port. It is unambiguous about what changes, but it does not distinguish this from sibling operations such as vpc__RemoveFirewallRules or vpc__DeleteSecurityGroup, so it stops short of a 5.

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 at all: nothing says to call this instead of vpc__AddSecurityGroups or vpc__DeleteSecurityGroup, and no prerequisites (port must exist, groups must currently be attached) are stated. The agent must infer everything from the tool name.

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