Skip to main content
Glama

gaussdbfornosql__ListInstanceSessions

Retrieves active sessions for a GaussDB for NoSQL instance, optionally filtered by node, so you can inspect connections and troubleshoot access.

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__ListInstanceSessions"
  }
}

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.6/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 behavioral burden and discloses almost nothing. It does not state that the call is read-only, whether results are paginated, what permissions are required, or what the response contains; for a session-enumeration API this leaves the agent guessing about safety and result handling.

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?

The single sentence is front-loaded and contains no filler or redundancy. It is efficient, though its brevity is closer to under-specification than to well-calibrated concision.

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?

With no annotations and no output schema, the definition must explain the result shape, pagination, and read-only nature itself, and it does none of these. For a three-parameter enumeration tool on a specific database service, the description is too thin to let an agent invoke it confidently.

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%, with all three parameters (node_id, project_id, instance_id) documented in the schema, so the baseline is 3. The description contributes no additional parameter meaning – notably it does not explain the optional node_id filter or how it narrows results.

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 gives a verb and a resource ("获取实例的会话" – retrieve an instance's sessions), but it essentially restates the name ListInstanceSessions and adds no distinguishing detail. It does not say what a "session" is here or how this differs from sibling operations like ClearInstanceSessions, so an agent has only a name-level understanding.

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 prerequisites, and no mention of alternatives or exclusions. The agent must infer from the name alone that this is the read counterpart to ClearInstanceSessions, and nothing indicates when listing sessions is appropriate versus other instance-inspection 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