Skip to main content
Glama

sdrs__AddProtectedInstanceNic

Adds a network interface to a specified SDRS protected instance using a subnet ID, with optional IP address and security group settings.

Instructions

[SDRS] 给指定的保护实例添加网卡。

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>",
      "protected_instance_id": "<protected_instance_id>",
      "subnet_id": "<subnet_id>"
    },
    "name": "sdrs__AddProtectedInstanceNic"
  }
}

Input Schema

NameRequiredDescriptionDefault
subnet_idYes添加网卡的子网ID。该参数是子网的network_id,和neutron_network_id的值保持一致。
ip_addressNoIP地址,若无该参数表示自动分配IP地址。
project_idYes项目ID。
security_groupsNo添加网卡的安全组信息。默认为Sys-default安全组。
protected_instance_idYes保护实例的ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/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 entire behavioral burden, yet it discloses nothing beyond the mutation itself. It does not say whether the call requires the instance to be stopped, whether permissions beyond project access are needed, whether the NIC can be removed later (the sibling DeleteProtectedInstanceNic exists but is not referenced), or what happens on partial failure.

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

Conciseness3/5

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

The single sentence contains no redundant wording and front-loads the action, but it is under-specified rather than genuinely concise. The '[SDRS]' prefix adds little for an agent that already has 'sdrs__' in the tool name.

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?

This is a five-parameter mutation tool with no annotations and no output schema. The rich parameter schema partially compensates, but the description still leaves an agent without any of the operational context (preconditions, side effects, reversibility) needed to invoke a write operation confidently.

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 the schema already explains subnet_id (network_id mapping), ip_address auto-allocation, security_groups defaulting to Sys-default, and both path IDs. The description adds no further meaning, so the baseline of 3 applies.

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 ('添加网卡' – add a NIC) and names the target ('指定的保护实例' – the specified protected instance). An agent can distinguish this from the DeleteProtectedInstanceNic sibling purely from the verb. No explicit sibling differentiation is offered, but the action is unambiguous.

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 guidance on when to use this tool versus alternatives, no prerequisites (e.g., instance must exist or be in a particular state), and no mention of limits on NIC count or subnet constraints. Only the bare action is stated.

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