Skip to main content
Glama

elb__CreateL7policy

Create an Elastic Load Balancing listener forwarding policy that routes or redirects traffic to a backend pool or another listener, with optional matching rules in the same request.

Instructions

[ELB] 创建listener关联的转发策略

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>",
      "project_id": "<project_id>"
    },
    "name": "elb__CreateL7policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
l7policyYes转发策略对象
project_idYes项目id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 burden of behavioral disclosure for a mutating create operation. It says nothing about permissions required, what happens on duplicate names, whether the action type constrains which fields are mandatory, or what the response contains — all of which the agent must reverse-engineer from the nested 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 sentence with the resource front-loaded and zero filler. It is efficient, though the terseness comes at the cost of any routing or behavioral guidance.

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?

The tool has a deeply nested request object, conditional required fields, and no annotations or output schema, yet the description contributes only a one-line label. The schema covers parameters well, but the description leaves the agent without usage context or mutation behavior for a fairly complex create call.

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 documents action enums, listener protocol constraints, and conditional required fields such as redirect_pool_id and redirect_listener_id. The description adds no meaning beyond that, 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?

The description states a specific verb and resource: creating a forwarding policy (转发策略) attached to a listener. That is clear enough for an agent to know what the tool does, but it draws no boundary against the close sibling elb__CreateL7Rule, which creates the matching rules for such a policy.

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 alternatives, no prerequisite for the listener (protocol restrictions on HTTP/TERMINATED_HTTPS listeners), and no hint that rules may be created inline or separately via elb__CreateL7Rule. The agent must infer usage entirely from the 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