Skip to main content
Glama

gaussdbfornosql__ClearInstanceSessions

Close all active sessions on every node of a GaussDB NoSQL instance to clear connections, using the instance ID and project ID.

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": {
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "gaussdbfornosql__ClearInstanceSessions"
  }
}

Input Schema

NameRequiredDescriptionDefault
node_idNo节点ID。
project_idYes租户在某一region下的project ID。获取方法请参见获取项目ID。
instance_idYes实例ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It states the scope ("all nodes"), but says nothing about impact, irreversibility, required permissions, whether connections are dropped mid-transaction, or what happens to the optional node_id when the text says all nodes. That is a meaningful gap for a destructive operation.

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 short sentence with no filler and the key scope fact up front. Brevity is appropriate, though it flirts with under-specification rather than earning full marks for structure.

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 input schema is fully documented and there is no output schema to explain, so most calling mechanics are covered. For a disruptive session-termination operation with zero annotations, however, the definition should say more about consequences and preconditions.

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, instance_id, and node_id are already documented, giving a baseline of 3. The description adds only the scope of "all nodes" and does not clarify how the optional node_id narrows that scope, which is the one ambiguity worth resolving.

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 gives a specific verb and resource in Chinese: "关闭实例所有节点会话" (close/terminate all node sessions on the instance). This is enough for an agent to tell it apart from the read-only sibling gaussdbfornosql__ListInstanceSessions, though it never names that sibling explicitly.

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?

There is no guidance on when to use this tool rather than ListInstanceSessions or other instance operations, and no prerequisites, warnings, or exclusions. The agent must infer from the verb that this is a disruptive maintenance action.

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