Skip to main content
Glama

vpc__ShowSecurityGroupRule

Retrieve details of a single VPC security group rule using its project ID and rule ID to inspect configuration and verify network access settings.

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_rule_id": "<security_group_rule_id>"
    },
    "name": "vpc__ShowSecurityGroupRule"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID
security_group_rule_idYes安全组规则ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/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, yet it only restates that a rule is queried. It says nothing about required permissions, behavior when the rule or project does not exist, or what the response contains. Read-only intent is inferable from '查询', but that is the extent of the behavioral context.

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 short tag-plus-phrase with zero filler and the resource front and center. It is efficient, though so compressed that it offers no supporting structure or elaboration.

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 simple two-parameter read tool with no output schema and no annotations, the description is minimally sufficient: an agent knows it fetches one rule by ID. It is incomplete in that nothing is said about the return payload or failure modes, which an agent might still need given there is no output schema.

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% and both parameters (project_id with a 32-hex pattern, security_group_rule_id) are already documented in the schema. The description adds no format hints, scoping notes, or meaning beyond what the schema provides, which is the expected baseline of 3.

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 gives a specific verb ('查询' / query) and a specific resource ('单个安全组规则' / a single security group rule), so an agent can distinguish it from List/Create/Delete siblings in the VPC family. It does not, however, distinguish it from the near-identical vpc__NeutronShowSecurityGroupRule sibling, leaving the only real ambiguity unresolved.

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 only implied: 'single' suggests fetching one existing rule by identifier rather than enumerating rules, which weakly contrasts with ListSecurityGroupRules. There is no explicit statement of when to prefer this over the Neutron variant, and no preconditions or error conditions are mentioned.

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