Skip to main content
Glama

elb__ListL7rules

Lists forwarding rules associated with a specified ELB L7 policy, with optional filters and pagination to inspect request-routing configurations.

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

Input Schema

NameRequiredDescriptionDefault
idNo转发规则ID。
keyNo匹配内容的键值。默认为null。该字段为预留字段,暂未启用。
typeNo转发规则的匹配类型。取值范围:HOST_NAME:匹配请求中的域名;PATH:匹配请求中的路径;同一个转发策略下转发规则的type不能重复。
limitNo分页查询中每页的转发规则个数
valueNo匹配内容的值。
invertNo是否反向匹配;取值范围:true/false。默认值:false;该字段为预留字段,暂未启用。
markerNo分页查询的起始的资源id,表示上一页最后一条查询记录的转发规则的id。不指定时表示查询第一页。
project_idYes项目id
l7policy_idYes转发策略id
compare_typeNo转发匹配方式:
page_reverseNo分页的顺序,true表示从后往前分页,false表示从前往后分页,默认为false。
admin_state_upNo转发规则的管理状态;取值范围: true/false。该字段为预留字段,暂未启用。默认为true。
provisioning_statusNo转发规则的配置状态,可以为ACTIVE、PENDING_CREATE 或者ERROR。默认值:ACTIVE;该字段为预留字段,暂未启用。

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 burden. '查询...列表' implies a read-only operation, but it says nothing about pagination behavior (even though limit/marker/page_reverse exist), permission or project scoping, or the fact that many query fields are reserved and unused — all of which matter for correct invocation.

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 front-loaded sentence with no wasted wording and the scope stated before the resource. It is efficient, though its brevity is partly a symptom of under-specification rather than deliberate density.

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 13-parameter tool with no annotations and no output schema, one sentence is thin. It does not explain result scoping, pagination semantics, or the read-only nature of the call, leaving the agent to infer behavior from the schema alone.

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%, with all 13 parameters documented in the schema itself (including reserved-field notes), so the baseline of 3 applies. The description adds no additional parameter meaning, such as how l7policy_id scopes results or how the filter fields combine.

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 gives a specific verb (查询/list), resource (转发规则列表 / forwarding rules), and scope (指定转发策略下 / under a given forwarding policy), which lets an agent distinguish it from elb__ListL7Policies and other elb__List* siblings. It stops short of explicitly naming or contrasting a sibling, so it lands just below the top mark.

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 explicit when-to-use or when-not-to-use guidance, no mention of prerequisites such as needing a valid l7policy_id, and no routing to alternatives like elb__ListL7Policies. Usage is only weakly implied by the phrase 'specified forwarding policy'.

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