Skip to main content
Glama

List network security groups

list_network_security_groups
Read-onlyIdempotent

Lists security groups in an owned VPSnet project so you can review network access rules and retrieve group IDs for management.

Instructions

List groups in the owned project. Copy project_id from the network; do not invent an account identifier. Requires explicit networking:read for reads or networking:manage for changes; full/read defaults do not grant networking. The backend enforces ownership, feature availability and service 2FA locks.

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": "list_network_security_groups"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesExact lowercase UUID returned by an owned networking resource

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.16

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, yet the description still adds real behavioral context: explicit networking:read is required and full/read defaults do not grant networking, and the backend enforces ownership, feature availability and service 2FA locks. These are the kinds of preconditions an agent cannot infer from annotations. The "networking:manage for changes" phrase is boilerplate that does not apply to a list operation and slightly muddies the signal.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the verb and scope, followed by the parameter-sourcing rule and then the permission/enforcement caveats. Nothing is repeated and the ordering matches how an agent needs the information. The only removable fragment is the "for changes" clause, which is minor.

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

Completeness4/5

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

For a one-parameter read-only lister with full annotation coverage and no output schema, the description covers scope, the ID sourcing rule, permission requirements and enforcement gates. It does not mention pagination or what the returned collection contains, which is a modest gap given there is no output schema to fall back on.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single parameter is fully documented as a lowercase UUID, so the baseline is a 3. The description exceeds that by warning to "copy project_id from the network; do not invent an account identifier," which heads off a concrete, plausible misuse (supplying an account ID instead of a project UUID).

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 opens with a specific verb and resource ("List groups") scoped to "the owned project," which lets an agent distinguish it from the create/update/delete/clone siblings in the same family. It never spells out "network security groups" in the body, relying on the title for the resource noun, so it is clear but not maximally self-contained.

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: the agent learns this is a read scoped to an owned project and that reads need networking:read, but no sibling is named as an alternative (e.g., get_network_security_policy or list_network_appliances for different resource types). The closing clause about networking:manage "for changes" adds confusion rather than routing guidance for a read-only tool.

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