Skip to main content
Glama

vpc__ShowSecurityGroup

Retrieve details for a single security group in a VPC by project ID and security group ID to inspect its configuration and rules.

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>",
      "security_group_id": "<security_group_id>"
    },
    "name": "vpc__ShowSecurityGroup"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID
security_group_idYes安全组资源ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.7/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, yet it discloses nothing beyond the fact that this is a lookup. It does not say whether the call is read-only (only implied by '查询'), what happens if the ID does not exist, or whether the response includes rules and tags.

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 bracketed-tag-plus-phrase line with zero wasted words and the resource front-loaded. It is efficient, though its brevity edges toward under-specification rather than optimal sizing.

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?

The tool is structurally simple (2 required path params, no nested objects, no output schema), so little is strictly required. Still, for a detail-fetch tool with no annotations, the definition leaves the agent guessing about return contents and failure behavior, making it only minimally adequate.

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 both project_id and security_group_id are already documented in the schema, including the hex pattern for project_id. The description adds no meaning beyond those fields, so the baseline of 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 clear verb and resource ('查询单个安全组详情' – query a single security group's details), and '单个' distinguishes it from the list-style siblings such as vpc__ListSecurityGroups. However, it gives no basis for choosing it over near-identical siblings like vpc__NeutronShowSecurityGroup or vpc__ShowSecurityGroupTags, so the purpose is clear but not differentiated.

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 prerequisite statement, and no reference to any alternative. The only implied usage cue is the word '单个' (single), which weakly positions it against list tools but does not guide selection among the several other Show* security group 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