Skip to main content
Glama

elb__UpdateL7Rule

Update an existing Layer 7 ELB forwarding rule to modify match conditions, comparison type, values, invert setting, or admin state within a policy.

Instructions

[ELB] 更新七层转发规则。

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": {
      "l7policy_id": "<l7policy_id>",
      "l7rule_id": "<l7rule_id>",
      "project_id": "<project_id>",
      "rule": "<rule>"
    },
    "name": "elb__UpdateL7Rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
ruleYes参数解释:规则对象。
l7rule_idYes规则ID。
project_idYes参数解释:项目ID。
l7policy_idYes策略ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/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 behavioral burden and it does almost nothing: "更新" conveys mutation, but nothing is said about whether this is a full replacement or a partial update of the rule object, required permissions, or whether changes are reversible. For a write operation on a load-balancer rule this is a significant disclosure gap.

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?

A single short sentence with no wasted words and the verb-resource pair front-loaded. It is concise to the point of under-specification rather than because it is efficient.

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?

Four required parameters including a nested rule object, no annotations, and no output schema — the description should explain update semantics (replace vs merge) and required identifiers, but supplies none of it. The rich schema partially compensates for parameter detail but not for the mutation behavior.

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 nested rule object is well documented field-by-field (key, value, invert, conditions, compare_type, admin_state_up), so the schema does the heavy lifting. The description adds no meaning beyond it, which is the baseline 3 case.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is essentially the tool name rendered in Chinese: "更新七层转发规则" restates UpdateL7Rule with only an "[ELB]" prefix added. It does identify the verb (update) and resource (L7 forwarding rule) but offers no scope, no target object detail, and nothing to distinguish it from siblings like elb__UpdateL7Policy or elb__CreateL7Rule.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/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 (e.g. policy must exist), and no mention of any alternative such as CreateL7Rule or UpdateL7Policy. The agent must infer everything from the name alone.

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