Skip to main content
Glama

elb__UpdateL7Policy

Update a Layer 7 forwarding policy in Huawei Cloud ELB to modify routing rules, priorities, redirects, or backend pool targets.

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": "<l7policy>",
      "l7policy_id": "<l7policy_id>",
      "project_id": "<project_id>"
    },
    "name": "elb__UpdateL7Policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
l7policyYes参数解释:l7policy对象。
project_idYes参数解释:项目ID。
l7policy_idYes参数解释:转发策略ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 discloses nothing beyond 'update'. It does not state whether omitted fields are cleared or preserved, whether the operation requires specific IAM permissions, whether it is reversible, or what errors occur when advanced forwarding (enhance_l7policy_enable) is off. Only the bare fact of mutation is conveyed.

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 is front-loaded and free of waste, but for a mutation tool with a deeply nested three-parameter body it is under-specified rather than genuinely concise. Brevity here costs information an agent needs.

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?

Given a large nested object schema, three required parameters, no annotations, and no output schema, the description should at minimum explain update semantics and the shape of the response. It explains neither, leaving the agent to reverse-engineer behavior from the 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 every nested property, including rules, redirect configs, and traffic-limit settings, is documented in the schema itself. The description adds no meaning beyond the schema, so the baseline of 3 applies.

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 and resource ('更新七层转发策略' — update layer-7 forwarding policy) with an [ELB] service tag, which is more than a tautology. However, it offers nothing to distinguish it from close siblings such as elb__UpdateL7Rule or the near-identical elb__UpdateL7policies, leaving an agent to infer the difference from names alone.

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 when-to-use guidance, no prerequisites, and no mention of alternatives. An agent is not told whether this is a full replacement or a partial update, nor when to prefer it over the sibling UpdateL7policies or UpdateL7Rule tools.

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