Skip to main content
Glama

gaussdb__SetRecyclePolicy

Sets the GaussDB recycle bin retention policy for a project, specifying how many days (1–7) deleted instances are retained.

Instructions

[GAUSSDB] 设置回收站策略

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": "gaussdb__SetRecyclePolicy"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes租户在某一Region下的project ID。
recycle_policyNo回收站策略。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.9/5.0
Behavior1/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, yet it discloses nothing: not that this is a mutating operation, not whether it overwrites an existing policy or applies tenant-wide, not what retention semantics mean for already-recycled instances, and not what the response contains. One line naming the resource is all that is offered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short, front-loaded line with zero padding, which is good, but the brevity reflects under-specification rather than precision. Nothing is wasted because nothing beyond the name is present.

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 mutating policy-setter with no annotations and no output schema, the description should explain scope and effect on existing recycle-bin data. The schema covers the parameters adequately, but the behavioral side is entirely absent.

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%: project_id and the nested recycle_policy.retention_period_in_days (1-7 days) are both documented in the schema. The description adds no meaning on top of that, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is essentially the tool name restated in Chinese: "设置回收站策略" adds nothing beyond SetRecyclePolicy itself. It does not say what a recycle bin policy controls in GaussDB, what scope it applies to, or how it differs from the sibling ShowRecyclePolicy beyond the verb change.

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

Usage Guidelines1/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 prerequisites (project scope, permissions, instance state), and no mention of the clearly related siblings such as gaussdb__ShowRecyclePolicy or gaussdb__ListRecycleInstances. An agent has no basis for choosing this tool over them other than guessing from the name.

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