Skip to main content
Glama

elb__ShowL7rule

Retrieves details of a Layer 7 forwarding rule associated with a specified forwarding policy using the rule ID, policy ID, and project ID.

Instructions

[ELB] 根据指定ID查询某转发策略下关联的转发规则详情。

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

Input Schema

NameRequiredDescriptionDefault
l7rule_idYes转发规则id
project_idYes项目id
l7policy_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 supplied, so the description carries the full disclosure burden. It implies a read-only lookup but says nothing about required permissions, error behavior for a nonexistent or mismatched rule/policy pair, or which rule attributes come back. For a read tool this is thin but not actively misleading.

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?

It is a single front-loaded sentence with no filler, and the resource and scope appear early. The only weakness is that '指定ID' is imprecise for a three-ID call, a small waste of an otherwise tight sentence.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a simple single-resource read with three fully documented path parameters and no output schema, so the structured fields cover most of what an agent needs. The description could still say what constitutes the returned '详情' (rule type, value, comparison method) or note that all three IDs must be consistent, leaving a modest gap.

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 coverage is 100% and each path parameter already has a Chinese description (转发规则id, 项目id, 转发策略id). The description adds only the scoping relationship ('rule belongs to the policy') and does not clarify the role of project_id or the rule/policy ID distinction. Baseline 3 is appropriate when the schema does the heavy lifting.

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 names a concrete verb and resource: query the details of a forwarding rule (转发规则详情) that belongs to a given forwarding policy (转发策略). That is more specific than a bare restatement of the name. However, it gives no hint about how this differs from the sibling elb__ShowL7Policy or when to prefer one over the other, and '指定ID' (singular 'specified ID') undersells the three identifiers actually required.

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?

The description only states what the tool retrieves; it never says when to use it, when not to, or which sibling to call instead (e.g. elb__ShowL7Policy for the policy itself, elb__DeleteL7rule for removal). The only implicit guidance is the mention that the rule lives under a policy, which an agent must infer on its own.

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