Skip to main content
Glama

elb__ListL7Policies

Retrieve Elastic Load Balance Layer 7 forwarding policies by project, listener, name, priority, action, or status to inspect routing rules and configuration details.

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

Input Schema

NameRequiredDescriptionDefault
idNo参数解释:转发策略ID。
nameNo参数解释:转发策略名称。
limitNo参数解释:每页返回的个数。
actionNo参数解释:转发策略的转发动作。
markerNo参数解释:上一页最后一条记录的ID。
positionNo参数解释:转发策略的优先级。
priorityNo参数解释:转发策略的优先级。数值越小,优先级越高。
project_idYes参数解释:项目ID。
descriptionNo参数解释:转发策略额描述信息。
listener_idNo参数解释:转发策略所属的监听器ID。
page_reverseNo参数解释:是否反向查询。
redirect_urlNo参数解释:转发到的url。
admin_state_upNo参数解释:转发策略的管理状态。
redirect_pool_idNo参数解释:转发到pool的ID。
display_all_rulesNo参数解释:是否显示转发策略下的rule详细信息。
provisioning_statusNo参数解释:转发策略的配置状态。
redirect_listener_idNo参数解释:转发到的listener的ID。
enterprise_project_idNo参数解释:所属的企业项目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 behavioral burden and it fails to do so. Beyond the implicit read-only nature of '查询', it says nothing about pagination (limit defaults to 2000, marker/page_reverse exist), what happens when display_all_rules is set, or what the response shape looks like — all of which matter for a list operation with 18 parameters.

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?

One short sentence, front-loaded and free of padding. The only waste is the redundant '[ELB]' service tag, but the definition is otherwise appropriately sized rather than verbose — its problem is under-specification, not wordiness.

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 an 18-parameter list tool with no annotations and no output schema, a bare 'query the list' sentence is far too thin. The agent gets no help on pagination conventions, which filters are combinable, or what the default 2000-item limit implies, so it must reverse-engineer behavior entirely from the schema.

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%, so every one of the 18 parameters is documented in the schema itself (albeit tersely with '参数解释:...' boilerplate). The description adds no additional meaning about filtering semantics, pagination, or how project_id in the path interacts with the query filters, so the baseline 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 ('查询七层转发策略列表' — list layer-7 forwarding policies), so an agent knows exactly what the tool returns. However, it offers no differentiation from sibling tools such as elb__ShowL7Policy (single policy) or elb__ListL7Rules-style queries, so the agent cannot tell from the description alone when a list versus a show is appropriate.

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 when-to-use guidance, no statement of prerequisites (e.g., needing a project_id and optionally a listener_id to scope results), and no mention of alternatives. The single sentence simply restates the operation, leaving the agent to infer that this is the bulk-retrieval counterpart to ShowL7Policy.

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