Skip to main content
Glama

vpc__NeutronListSecurityGroups

Lists all security groups for a tenant with filters for ID, name, description, and project ID, returning up to 2,000 results and a pagination marker for larger sets.

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

Input Schema

NameRequiredDescriptionDefault
idNo按照安全组对应的ID过滤查询
nameNo按照安全组的名称过滤查询
limitNo每页返回的个数
markerNo分页查询起始的资源ID,为空时查询第一页
tenant_idNo按照安全组所属的项目ID过滤查询
descriptionNo按照安全组的描述过滤查询

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 supplied, the description carries the full behavioral burden, and it does add real value by disclosing the 2000-record result cap and that a pagination marker is returned beyond that. It does not state that the operation is non-destructive/read-only in so many words, nor what each returned security group contains, nor any auth or throttling behavior.

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 compact sentence front-loads the resource scope, then the result cap, then pagination, which is a sensible order. The trailing pointer to '分页查询' is vague and slightly wasteful, but there is no padding elsewhere.

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 read-only list tool with no output schema and no annotations, the description covers the essentials of scope and pagination but says nothing about the shape of the returned records or how the marker should be reused. It is adequate to call the tool, but not complete about the results.

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 six filters (id, name, tenant_id, description, limit, marker) are already documented in the schema, and the description adds no filter semantics beyond that. Baseline 3 is appropriate; the only added semantics is the interaction between the default limit of 2000 and pagination.

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?

States a specific verb and resource (query / all security groups) and scopes it to the requesting tenant, so an agent knows exactly what is enumerated. It does not distinguish itself from siblings such as vpc__ListSecurityGroups, vpc__ListSecurityGroupsByTags, or vpc__NeutronListSecurityGroupRules, 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 Guidelines3/5

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

Usage is implied by 'query all security groups of the tenant' and the 2000-record cap hints at when pagination is needed, but there is no explicit when-to-use versus sibling list tools and no when-not-to-use guidance. The pointer to '分页查询' (pagination query) is a bare reference with no actionable detail.

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