Skip to main content
Glama

vpc__ListSecurityGroups

Lists security groups for a project so you can inspect and filter VPC security groups by ID, name, description, or enterprise project.

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__ListSecurityGroups"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo功能说明:安全组资源ID。可以使用该字段精确过滤安全组,支持多个ID
nameNo功能说明:安全组名称。可以使用该字段精确过滤满足条件的安全组,支持传入多个name过滤
limitNo功能说明:每页返回的个数
markerNo分页查询起始的资源ID,为空时查询第一页
project_idYes项目ID
descriptionNo功能说明:安全组描述新增。可以使用该字段精确过滤安全组,支持传入多个描述进行过滤
enterprise_project_idNo功能说明:企业项目ID。可以使用该字段过滤某个企业项目下的安全组。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it discharges very little of it. It never mentions pagination behavior (limit/marker), the return shape, permission requirements, or whether results include rules; 'tenant' is the sole behavioral signal, and it even conflicts slightly with the schema's project_id.

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?

A single front-loaded sentence with a useful [VPC] service tag and zero filler. Its brevity is efficient, though it tips into under-specification rather than tight writing.

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 7-parameter list tool with no annotations and no output schema, the description should explain paging and what a returned security group contains. Instead it offers one clause, and it describes scope as 'tenant' while the required parameter is project_id, leaving the agent to reconcile the two.

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 seven parameters (id, name, description, limit, marker, project_id, enterprise_project_id) are already documented precisely in the schema. The description adds nothing beyond that baseline, which is acceptable but not additive.

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 (查询/query) and resource (安全组列表/security group list) scoped to a tenant, so the operation is unambiguous. It does not, however, distinguish this tool from close siblings such as vpc__NeutronListSecurityGroups or vpc__ListSecurityGroupsByTags, leaving the agent to guess which list variant 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 preconditions, and no mention of the alternatives among the many sibling list tools. The only implicit cue is 'tenant scope,' which is not enough to route between this and the Neutron or tag-filtered variants.

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