Skip to main content
Glama

elb__UpdateL7policies

Updates an ELB Layer 7 forwarding policy by policy ID and project, letting you modify redirect targets and policy settings for listener traffic rules.

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__UpdateL7policies"
  }
}

Input Schema

NameRequiredDescriptionDefault
l7policyYes转发策略对象
project_idYes项目id
l7policy_idYes待更新的转发策略id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, yet it says nothing about whether this is a full replace or partial update, whether unspecified fields are reset to defaults, or what permissions are required. The nested schema documents individual fields but not the update semantics of the whole object.

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?

It is a single short phrase with no wasted words, but it is under-specified rather than concise. The '[ELB]' prefix is the only structural element and contributes no actionable meaning.

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?

For a mutation tool with a nested object parameter, no annotations, and no output schema, the description is far too thin. An agent cannot tell whether the call replaces or patches the policy, or what a successful update returns.

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 l7policy object properties are documented in detail, including the conditional rules tying redirect_pool_id to REDIRECT_TO_POOL and redirect_listener_id to REDIRECT_TO_LISTENER. The description adds nothing beyond this, so the baseline 3 applies.

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 "[ELB] 更新转发策略" (update forwarding policy) merely restates the tool name UpdateL7policies with an ELB prefix. It gives no scope, no distinction from the closely-named sibling elb__UpdateL7Policy, and no statement of what an L7 policy update entails.

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?

No when-to-use, when-not-to-use, or prerequisite information is given. The sibling list contains both elb__UpdateL7policies and elb__UpdateL7Policy, and an agent gets no help choosing between them or knowing whether a pool/listener relationship must already exist.

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