Skip to main content
Glama

vpc__NeutronListSecurityGroupRules

Lists security group rules visible to the requesting tenant with filters for protocol, direction, IP version, ports, and security group IDs; use pagination markers when results exceed 2000.

Instructions

[VPC] 查询提交请求的租户有权限查看的所有安全组规则。单次查询最多返回2000条数据,超过2000后会返回分页标记。分页查询请参考分页查询

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "vpc__NeutronListSecurityGroupRules"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo按照安全组规则对应的id过滤查询结果
limitNo每页返回的个数
markerNo分页查询起始的资源ID,为空时查询第一页
protocolNo按照安全组规则的IP协议过滤查询结果
directionNo按照安全组规则的方向过滤查询结果,支持ingress和egress进行过滤
ethertypeNo按照网络类型过滤查询结果,支持IPv4或者IPv6
tenant_idNo按照安全组规则所属的项目ID过滤查询结果
descriptionNo按照安全组规则的描述过滤查询结果
port_range_maxNo按照最大端口过滤查询结果
port_range_minNo按照最小端口过滤查询结果
remote_group_idNo按照与此安全组规则关联的远端安全组ID过滤查询结果
remote_ip_prefixNo按照与此安全组规则匹配的远端IP网段过滤查询结果
security_group_idNo按照与此安全组规则所属的安全组ID过滤查询结果

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations provided, the description carries the disclosure burden and does add useful behavior: tenant permission scoping, a hard 2000-record cap, and the fact that a pagination marker is returned past that threshold. It does not state the response shape or confirm that the call is a non-mutating read beyond the wording '查询'.

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 clauses, front-loaded with the resource and scope, then the result cap. The closing pointer '分页查询请参考分页查询' (for pagination, refer to pagination query) is circular and earns little, but there is no other padding.

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

Completeness3/5

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

For a 13-parameter list tool with no output schema, the description covers the important runtime limit and pagination path but leaves the returned fields and how to consume the paging marker unexplained. It is adequate, not 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 13 filters (id, protocol, direction, remote_group_id, etc.) are already documented in the schema. The description adds only the pagination relationship between the result cap, 'limit' and 'marker'; it says nothing about filter combination or precedence, 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 description names a specific verb and resource ('查询...所有安全组规则' / list all security group rules) and adds a scope qualifier (only those the requesting tenant is permitted to view). It does not, however, distinguish this from the similarly named sibling 'vpc__ListSecurityGroupRules', so an agent cannot tell from the description alone which list tool to pick.

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?

Usage is implied rather than stated: it tells you this returns everything the tenant can see, and it explains what to do when results exceed 2000 (use the pagination marker). There is no explicit when-to-use/when-not-to-use guidance and no named alternative among the many sibling list tools.

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