Skip to main content
Glama

gaussdbfornosql__SaveLtsConfigs

Associates GaussDB NoSQL instance slow logs with specified LTS log groups and streams, enabling automatic upload of instance logs to the linked LTS stream.

Instructions

[GAUSSDBFORNOSQL] - 将实例日志与LTS日志流关联,后台将自动上传实例日志到关联的LTS日志流里。

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": {
      "instance_ids": "<instance_ids>",
      "log_type": "<log_type>",
      "lts_group_id": "<lts_group_id>",
      "lts_stream_id": "<lts_stream_id>",
      "project_id": "<project_id>"
    },
    "name": "gaussdbfornosql__SaveLtsConfigs"
  }
}

Input Schema

NameRequiredDescriptionDefault
log_typeYes日志类型。slow_log表示慢日志。
project_idYes租户在某一region下的project ID。
instance_idsYes需要建立关联的实例ID列表。
lts_group_idYesLTS日志组ID。可通过云日志服务-“查询账号下所有日志组”API接口获取。
lts_stream_idYesLTS日志流ID。可通过云日志服务-“查询指定日志组下的所有日志流”API接口获取。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose a meaningful behavioral trait — that the backend automatically uploads logs to the linked stream. However, it says nothing about idempotency, what happens if an association already exists, required permissions, or whether the change is reversible.

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?

A single compact sentence with the vendor prefix and the core action front-loaded; nothing is redundant. It could still be split to separate the action from the post-call behavior.

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 5-required-parameter mutation tool with no annotations and no output schema, the description covers the purpose and the automatic upload effect, but omits return/response expectations and side-effect caveats an agent would need before calling it.

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 all five required parameters (including the slow_log-only enum) are already documented in the schema. The description adds no meaning beyond that, which is acceptable at baseline 3.

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 concrete verb (associate) and the two resources involved: instance logs and an LTS log stream. It is distinguishable from the Delete/List LTS siblings by implication, though it never explicitly names them.

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?

It explains the effect of the call (background upload to the associated stream) but gives no guidance on when to use this versus DeleteLtsConfigs/ListLtsConfigs, and no prerequisites such as the log type needing to be enabled first.

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