Skip to main content
Glama

elb__CreateSecurityPolicy

Creates a custom ELB security policy defining TLS protocols and cipher suites, enabling its ID to be specified when configuring an HTTPS listener.

Instructions

[ELB] 创建自定义安全策略。用于在创建HTTPS监听器时,请求参数中指定security_policy_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": {
      "project_id": "<project_id>",
      "security_policy": "<security_policy>"
    },
    "name": "elb__CreateSecurityPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes参数解释:项目ID。
security_policyYes创建自定义安全策略的请求体。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/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. It does not disclose permission or authorization requirements, whether creation is idempotent or fails on duplicate names, quota limits, or what the response contains (e.g., the generated policy ID the caller needs). For a mutation tool with zero annotation coverage, this is a significant gap.

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?

Two short sentences with the action front-loaded and the usage context following, no filler. It is efficient, though the second sentence is more about the downstream listener than about this tool's own inputs.

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?

The schema is rich and fully documented, which covers the input side, but with no annotations and no output schema the description should say more about the result and operational constraints of a create operation. It is adequate for invoking the tool but incomplete for predicting its behavior.

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 the nested request body fields (name, ciphers, protocols, description, enterprise_project_id) are already fully documented in the schema. The description adds no parameter-level 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.

Purpose5/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 (创建自定义安全策略) and immediately situates it in the ELB workflow, tying it to HTTPS listener creation via security_policy_id. An agent can tell this is a create operation on a security policy, distinct from the List/Show/Delete/Update siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives the intended consumer context (creating an HTTPS listener and referencing the resulting policy by ID), which implies when the tool is useful. However, it never states when NOT to use it or names a concrete alternative such as UpdateSecurityPolicy for modifying an existing policy or ListSecurityPolicies for discovery.

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