Skip to main content
Glama

elb__UpdateRecycleBinPolicy

Updates the Elastic Load Balancer recycle bin policy, including retention hours and recycle threshold, so deleted resources follow the configured recovery rules. The recycle bin must already be enabled.

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__UpdateRecycleBinPolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes租户ID
recycle_binNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It does disclose one real behavioral trait – the call fails if the recycle bin is disabled – but says nothing about required permissions, whether the update is a full replace or a partial merge, or what happens to unspecified policy fields.

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 first and the failure condition second – front-loaded and waste-free. The opening clause slightly restates the tool name, which keeps it from a 5.

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?

This is a mutation tool with a nested-object parameter, no annotations, no output schema, and only 50% schema coverage. The description should compensate by explaining what the policy controls and the effect of a partial update, but it covers only the disabled-recycle-bin failure mode.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 50%, and the description adds no parameter-level meaning at all. The nested recycle_bin object itself has no description in the schema and none in the prose, so the agent gets no help on how retention_hour and recycle_threshold_hour interact or whether providing only one is valid.

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 ('更新回收站的配置' – update the recycle bin configuration), which is clearly distinct from the sibling elb__UpdateRecycleBinEnable (toggling) and elb__ShowRecycleBin (reading). It does not explicitly name or differentiate from those siblings, so it falls short of a 5.

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

Usage Guidelines4/5

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

It gives an explicit precondition: the recycle bin must already be enabled, otherwise the update raises an error. That is a useful when-not signal, though it does not name elb__UpdateRecycleBinEnable as the prerequisite call, leaving the agent to infer the alternative.

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