Skip to main content
Glama

vpc__ListSecurityGroupRules

Lists VPC security group rules by project and optional filters such as security group, direction, protocol, and enabled status, so you can inspect or audit network access controls.

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": {
      "project_id": "<project_id>"
    },
    "name": "vpc__ListSecurityGroupRules"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo功能说明:安全组规则ID,支持多个ID过滤
limitNo功能说明:每页返回个数
actionNo功能说明:安全组规则生效策略。
markerNo分页查询起始的资源ID,为空时查询第一页
enabledNo功能说明:是否启用安全组规则,不支持多值过滤。
priorityNo功能说明:优先级,支持多条过滤。
protocolNo功能说明:安全组规则协议,支持多条过滤
directionNo功能说明:安全组规则方向
ethertypeNo功能说明:IP协议类型,支持多条过滤。
project_idYes项目ID
descriptionNo功能说明:安全组规则的描述,支持多个描述同时过滤
remote_group_idNo功能说明:远端安全组ID,支持多ID过滤
remote_ip_prefixNo功能说明:远端IP地址
security_group_idNo功能说明:安全组规则所属安全组ID,支持多个ID过滤
remote_address_group_idNo功能说明:远端IP地址组ID,支持多ID过滤。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 and discloses almost nothing. "查询" implies a read-only retrieval, but pagination behavior (limit/marker), filtering semantics, ordering, and result size are never described even though the schema contains 15 filter parameters.

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 single sentence contains no wasted words and is front-loaded, but it is under-specified rather than genuinely concise — it omits everything an agent needs beyond the bare purpose.

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?

For a 15-parameter listing tool with no annotations and no output schema, the description should at least mention pagination and filtering behavior. As written, it only restates the operation name, leaving the agent without behavioral context.

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 each parameter already documents its own filter meaning. The description adds no extra semantics such as how multiple filters combine or which filters are mutually exclusive, so the baseline 3 applies.

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

Purpose3/5

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

The description states a verb and resource ("query security group rules list"), so the basic operation is identifiable. However, it gives no differentiation from the near-identical sibling vpc__NeutronListSecurityGroupRules, leaving the agent to guess which listing endpoint applies.

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 stated prerequisites, and no mention of when to prefer the Neutron variant or Show/List siblings. The only signal is the generic implication that this is a read/query operation.

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