Skip to main content
Glama

css__ShowLogBackup

Queries log entries for a specified Huawei Cloud CSS cluster and node by log type and severity level, using the cluster and project IDs.

Instructions

[CSS] 该接口用于查询日志信息。

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": {
      "cluster_id": "<cluster_id>",
      "instanceName": "<instanceName>",
      "level": "<level>",
      "logType": "<logType>",
      "project_id": "<project_id>"
    },
    "name": "css__ShowLogBackup"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelYes日志级别。可查询的日志级别为:INFO,ERROR,DEBUG,WARN。
logTypeYes日志类型。可查询的日志类型为:deprecation,indexingSlow,searchSlow, instance。
cluster_idYes指定查询集群ID。
project_idYes项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。
instanceNameYes节点名称。通过[查询集群详情](ShowClusterDetail.xml)获取instances中的name属性。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/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 discloses nothing beyond an implied read-only query. It omits whether results are paginated, whether a backup must exist first, permission requirements, and what the response contains — all critical for a 5-required-parameter lookup.

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?

It is a single short sentence with no wasted words, so structurally clean and front-loaded. However, brevity here comes from omission rather than efficiency — the sentence is boilerplate that conveys almost no information.

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 tool with 5 required parameters, no annotations, and no output schema, the description should at least clarify what is being queried (log backups vs. live logs) and what comes back. The rich schema compensates for parameter documentation, but the tool's scope and relation to sibling log/backup APIs remain unexplained.

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% — level, logType, cluster_id, project_id and instanceName each have examples and descriptions in the schema, including links to companion APIs. The description adds nothing about parameter meaning or how level/logType interact, so the baseline 3 applies.

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

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description reads "[CSS] 该接口用于查询日志信息" — a generic 'query log information' statement that essentially restates the Show/Log portion of the tool name. It never explains the 'Backup' aspect implied by the name (does it return log backup records or live logs?) and gives no basis for distinguishing it from siblings like css__ShowGetLogSetting or css__CreateLogBackup.

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, when-not-to-use, or prerequisite guidance at all. The agent is not told when to pick this over ShowGetLogSetting or CreateLogBackup, nor whether logs must first be backed up before querying.

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