Skip to main content
Glama

gaussdbfornosql__ListCassandraSlowLogs

Query GeminiDB (for Cassandra) slow logs by instance and time range, with keyword, table, keyspace, and execution-time filters to diagnose database performance.

Instructions

[GAUSSDBFORNOSQL] 查询GeminiDB(for Cassandra)数据库慢日志信息,支持日志关键字搜索。

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_time": "<end_time>",
      "instance_id": "<instance_id>",
      "limit": "<limit>",
      "project_id": "<project_id>",
      "start_time": "<start_time>"
    },
    "name": "gaussdbfornosql__ListCassandraSlowLogs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitYes表示每次查询的日志条数,最大限制100条。
node_idNo节点ID,取空值,表示查询实例下所有允许查询的节点。
end_timeYes结束时间,格式为“yyyy-mm-ddThh:mm:ssZ”。
keywordsNo根据多个关键字搜索日志全文,表示同时匹配所有关键字。
line_numNo日志单行序列号,第一次查询时不需要此参数,下一次查询时需要使用,可从上一次查询的返回信息中获取。
project_idYes租户在某一region下的project ID。
start_timeYes开始时间,格式为“yyyy-mm-ddThh:mm:ssZ”。
instance_idYes实例ID,可以调用“查询实例列表和详情”接口获取。如果未申请实例,可以调用“创建实例”接口创建。
operate_typeNo语句类型,取空值,表示查询所有语句类型。
max_cost_timeNo支持根据最大执行时间范围查找日志。单位:ms
min_cost_timeNo支持根据最小执行时间范围查找日志。单位:ms
table_keywordsNo根据多个数据库表名关键字模糊搜索日志,表示匹配至少一个关键字。
keyspace_keywordsNo根据多个键空间关键字模糊搜索日志,表示匹配至少一个关键字。

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 exist, so the description carries the full behavioral burden and mostly fails it. It conveys nothing about expected permissions, result ordering, the fact that line_num drives a cursor-style pagination flow, or what the caller should do when the response is truncated — all behaviorally significant for a 13-parameter log query.

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 front-loaded sentence with no filler or redundant phrasing. It is efficient, though its brevity borders on under-specification given the tool's complexity.

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 13 parameters, 5 required, no annotations, no output schema, and a non-trivial pagination mechanism, one generic sentence is not sufficient context. An agent learns what the tool returns in aggregate but not how to page, what filters interact, or what limits apply beyond the schema.

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 including line_num, node_id, and the cost-time bounds is already explained in the schema. The description adds only a restatement that keyword search is supported, so the baseline 3 is appropriate.

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 states a specific verb and resource: querying slow log information for GeminiDB (for Cassandra). Naming the Cassandra engine implicitly separates it from the sibling ListInfluxdbSlowLogs/ListMongodbSlowLogs/ListRedisSlowLogs variants, though it never names or routes to them 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 when-to-use guidance, no mention of prerequisites (an existing instance), and no pointer to alternative tools such as the engine-specific siblings or the desensitization toggle. The single hint is that keyword search is supported, which is already documented in the schema.

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