Skip to main content
Glama

gaussdbfornosql__ShowErrorLog

Retrieve GaussDB NoSQL error logs by instance, node, time range, and statement type to diagnose database issues and review recent errors.

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

Input Schema

NameRequiredDescriptionDefault
typeNo语句类型,取空值,表示查询所有语句类型,也可指定如下日志类型:
limitNo查询记录数。取值范围[1, 100],默认10 (表示默认返回10条数据)。
offsetNo索引位置,偏移量。取值范围为 [0, 1999]。
node_idNo节点ID,取空值,表示查询实例下所有允许查询的节点。
end_timeYes结束时间,格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。
project_idYes租户在某一Region下的Project ID。
start_timeYes开始时间,格式为“yyyy-mm-ddThh:mm:ssZ”。其中,T指某个时间的开始,Z指时区偏移量,例如北京时间偏移显示为+0800。开始时间不得早于当前时间31天。
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 behavioral burden, yet it says nothing about permissions, the 31-day time-window restriction, pagination behavior, or whether results are complete or sampled. All of that is only discoverable by reading the parameter schema, which is the reference layer, not the description.

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 clause with zero filler and the resource front-loaded. However, the brevity edges toward under-specification rather than efficient structure, since the phrase could have carried one routing hint at little cost.

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 eight parameters, four of them required, no output schema, and no annotations, this tool needs considerably more descriptive support than one clause. The 31-day start_time constraint and the query-vs-path split are behaviorally important and left entirely to 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%, with every one of the eight parameters documented in the schema itself, so the baseline is 3. The description adds no extra meaning about type, node_id, or time-format handling beyond what the schema already states.

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 pairs a specific verb (查询/query) with a specific resource (数据库错误日志/database error logs), so an agent knows exactly what it retrieves. It stops short of differentiating from near-siblings such as gaussdbfornosql__ListMongodbErrorLogs or rds__ListErrorLogs, leaving the distinction to inference.

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 precondition text, and no naming of alternatives among the many error-log tools in the sibling list. The agent must guess whether this or ListMongodbErrorLogs is the correct entry point.

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