Skip to main content
Glama

aad__UpdateInstanceIpRule

Modify the origin IP configuration for a high-defense instance forwarding rule, enabling traffic redirection to updated backend IPs.

Instructions

[AAD] 修改高防实例转发配置的源站IP

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": {
      "instance_id": "<instance_id>",
      "ip": "<ip>",
      "rule_id": "<rule_id>"
    },
    "name": "aad__UpdateInstanceIpRule"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipYes单个 IP
rule_idYes规则ID
source_ipNo源站IP,多个IP用逗号隔开,限制20个IP
instance_idYes实例Id
source_portNo源站端口
forward_portNo转发端口
forward_protocolNo转发协议,tcp或udp

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 supplied, so the description carries the full disclosure burden for a mutation operation, yet it says nothing about permissions, reversibility, or side effects. Critically, it does not state whether the supplied source IP list replaces existing rules or appends to them, which matters given the 20-IP limit documented in the schema.

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, front-loaded sentence with no filler or redundancy. It is efficient, though its brevity reflects under-specification rather than disciplined editing.

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 7-parameter mutation tool with no annotations and no output schema, the description is thinner than ideal; it omits replace-vs-append semantics and any indication of what a successful response contains. The rich schema compensates partially, keeping this from being inadequate.

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 seven parameters are already documented in the schema, setting the baseline at 3. The description echoes '源站IP' (source_ip) but adds no clarification on the distinction between the path parameter ip/rule_id and source_ip, nor on how forward_port versus source_port interact.

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 gives a specific verb (修改/modify) and resource (源站IP of the instance's forwarding configuration), so the basic operation is identifiable. However, it mentions only the source IP while the schema also exposes source_port, forward_port, and forward_protocol, so the scope of the update is understated and nothing distinguishes it from siblings like BatchCreateInstanceIpRule or ListInstanceIpRule.

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 statement of when to use this tool versus the batch-create, batch-delete, or list variants that appear alongside it, and no prerequisites or exclusions are given. The agent must infer the correct tool purely from the name and schema.

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