Skip to main content
Glama

gaussdbfornosql__DeleteInstancesSession

Closes active sessions on a GaussDB for NoSQL instance node, either all sessions or specified session IDs, to terminate connections when needed.

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": {
      "is_all": "<is_all>",
      "node_id": "<node_id>",
      "project_id": "<project_id>"
    },
    "name": "gaussdbfornosql__DeleteInstancesSession"
  }
}

Input Schema

NameRequiredDescriptionDefault
is_allYes是否删除全部会话。
node_idYes节点ID。
project_idYes租户在某一region下的project ID。
session_idsNo需要删除的会话id。is_all为false的时候,session_ids为必填,不能为空。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/5.0
Behavior2/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 for a destructive mutation. It does not state that running queries on those sessions will be terminated, whether the action is reversible, what permissions are required, or what the response contains; only the generic verb 关闭 hints at mutation.

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 action is front-loaded. It is efficient, though the brevity edges toward under-specification rather than deliberate conciseness.

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 destructive, four-parameter mutation with no annotations and no output schema, the description is far too thin. It omits side effects, permission requirements, and return behavior, leaving most of what an agent needs for safe invocation undocumented.

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%, and the schema itself documents the conditional requirement that session_ids is mandatory when is_all is false. The description adds nothing beyond the schema, which is acceptable at baseline 3 when the schema is self-documenting.

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

Purpose3/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 (关闭 / close, 实例节点会话 / instance node sessions), so the agent knows the general action. However, it never says whether all sessions or selected ones are closed, and it does not distinguish itself from the read-side sibling ListInstancesSession, leaving the scope ambiguous.

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 when-to-use guidance, no mention of prerequisites such as admin privileges, and no warning about when this action is inappropriate. The agent must infer entirely from the name that this is the destructive counterpart to the listing tools.

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