Skip to main content
Glama

gaussdbfornosql__ListSlowLogs

Queries slow query logs for a GaussDB for NoSQL instance within a specified time range to help identify performance bottlenecks.

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

Input Schema

NameRequiredDescriptionDefault
typeNo语句类型,取空值,表示查询所有语句类型,也可指定如下日志类型:
limitNo查询记录数。取值范围[1, 100],默认10 (表示默认返回10条数据)。
offsetNo索引位置,偏移量。取值范围为 [0, 1999]。
node_idNo节点ID,取空值,表示查询实例下所有允许查询的节点。
end_dateYes结束时间,格式为“yyyy-mm-ddThh:mm:ssZ”。
project_idYes租户在某一region下的project ID。
start_dateYes开始时间,格式为“yyyy-mm-ddThh:mm:ssZ”。
instance_idYes实例ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden, yet it says nothing about read-only semantics, required permissions, time-range constraints, or result volume. Only the schema hints at pagination and date ranges; the description confirms none of this.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is compact and front-loaded with the verb, with no wasted wording. Brevity here is under-specification rather than efficiency, so it earns only a middling score.

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 an 8-parameter tool with 4 required parameters, no output schema, and no annotations, one generic sentence is insufficient. Nothing explains the time-range requirement, pagination behavior, or what a returned slow log contains, leaving the agent to reconstruct intent from the schema alone.

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 every parameter (type, limit, offset, node_id, start_date, end_date, project_id, instance_id) is already documented in the schema. The description adds no meaning about formats, defaults, or interactions, so the baseline of 3 applies.

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 states a verb and resource (query database slow logs) for GaussDB for NoSQL, so the general purpose is discernible. However, it gives no scope details and does not distinguish this tool from the many sibling slow-log tools (ListCassandraSlowLogs, ListMongodbSlowLogs, ListRedisSlowLogs, rds__ListSlowLogs, etc.), leaving the agent unable to tell which one applies to a given engine.

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?

No when-to-use guidance is offered: nothing about which engine/instance types this covers, when to prefer it over the engine-specific siblings, or any prerequisites. The agent must infer selection from the tool name alone.

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