Skip to main content
Glama

gaussdbfornosql__SetRecyclePolicy

Set the retention period (1-7 days) for deleted GaussDB for NoSQL instances; the new policy applies to future deletions while existing recycled instances keep their original retention.

Instructions

[GAUSSDBFORNOSQL] 设置已删除实例保留天数,修改保留天数后删除的实例按照新的天数保留,修改之前已在回收站的实例保留天数不变。

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

Input Schema

NameRequiredDescriptionDefault
project_idYes租户在某一region下的project ID。
recycle_policyYes回收策略。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations at all, the description carries the full disclosure burden. It does disclose a genuinely useful behavioral trait — the change is forward-only and does not retroactively alter instances already deleted — but it omits permission requirements, whether the policy is project-wide, idempotency, and any confirmation of what is returned.

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 dense sentence that front-loads the action and then adds the behavioral caveat, with no filler. The bracketed service tag is minor noise but does not obscure the payload.

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?

For a two-parameter mutation with a nested object and no output schema, the description covers purpose and the main side effect but leaves scope (project-wide policy affecting the whole recycle bin) and required permissions unstated. It is adequate to invoke but not fully complete for a write operation with zero annotation coverage.

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 project_id and the nested retention_period_in_days (1–7 days, default 7) are already fully documented in the schema. The description adds no extra parameter meaning such as units, bounds, or how the nested object must be shaped, so the baseline of 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 names a specific verb and resource (设置已删除实例保留天数 — set the retention days for deleted instances), which is concrete enough that an agent can distinguish writing the policy from reading it (ShowRecyclePolicy) or managing live instances. It falls short of 5 only because it never explicitly contrasts itself with those sibling tools.

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?

Usage is implied rather than stated: you call this to change the recycle-bin retention window, and the text adds the important caveat that instances already in the recycle bin keep their old retention. There is no explicit when-to-use/when-not guidance and no pointer to ShowRecyclePolicy for verifying the current value, so an agent must infer the workflow.

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