Skip to main content
Glama

elb__CreateL7Rule

Create a Layer 7 forwarding rule for an Elastic Load Balancer policy to route requests by domain, header, or path, with match conditions and optional inversion.

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

Input Schema

NameRequiredDescriptionDefault
ruleYes参数解释:转发规则对象。
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 provided, so the description carries the full behavioral burden, yet it discloses nothing beyond the verb 'create'. It does not state permission/auth requirements, whether the operation is idempotent, what happens on conflicting rules, or what the response contains. For a mutating create call into a nested object structure, this is a substantial 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?

It is a single short, front-loaded sentence with zero waste, but the brevity reflects under-specification rather than economy. There is no structure to speak of because there is only one generic clause.

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 takes a nested rule object plus two path identifiers, has no annotations and no output schema, so the description should be doing far more. As written, an agent knows only that it creates an L7 rule, not what identifies success or what the rule binds to.

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 each field (compare_type, type, value, key, invert, conditions) carries its own Chinese description, so the schema does the explanatory work. The description adds no meaning about how l7policy_id, project_id, and the rule object relate. Baseline 3 applies when the schema is fully documented.

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 expands the name into 'create a layer-7 forwarding rule', which at least clarifies that 'L7' means layer 7 and that the operation is a creation. However, it is nearly a restatement of the tool name elb__CreateL7Rule and offers no differentiation from siblings such as elb__CreateL7policy or elb__UpdateL7Rule. It states a verb and a resource, but nothing about scope or target.

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 guidance on when to use this tool versus creating an L7 policy (elb__CreateL7policy) or updating an existing rule, nor any mention of prerequisites such as a required l7policy_id or project_id. The agent must infer that a forwarding rule belongs to a policy from the schema 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