Skip to main content
Glama

hss__ListClusterEventLogs

Query Kubernetes cluster event logs filtered by cluster, namespace, resource, event type, and time range to investigate issues.

Instructions

[HSS] 查询k8s集群事件列表

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>",
      "end_time": "<end_time>",
      "limit": "<limit>",
      "offset": "<offset>",
      "project_id": "<project_id>",
      "start_time": "<start_time>"
    },
    "name": "hss__ListClusterEventLogs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitYes每页显示个数,默认为10
offsetYes偏移量:指定返回记录的开始位置,必须为数字,取值范围为大于或等于0,默认0
reasonNo事件的触发原因
end_timeYes查询日志范围的最大时间
line_numNo查询cce集群事件时需要传的分页行号
namespaceNo产生事件的命名空间
cluster_idYes集群id
event_nameNo事件名称
event_typeNo事件类型,包含以下几种:
project_idYes租户项目ID
start_timeYes查询日志范围的最小时间
cluster_nameNo集群名称
resource_nameNo产生事件的资源名称
resource_typeNo产生事件的资源类型
enterprise_project_idNo主机所属的企业项目ID。0

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?

No annotations are supplied, so the description carries the full disclosure burden, yet it adds nothing beyond the name. It does not state that the call is a read-only query, that start_time/end_time are mandatory and in what unit, how pagination via limit/offset/line_num behaves, or what permission scope is needed. The only implicit signal is the verb 查询 (query), which weakly suggests a non-mutating read.

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?

A single short sentence with no wasted words and the resource front-loaded, but its brevity reflects under-specification rather than economy. For a 15-parameter, 6-required tool, that one line is far too thin to be considered well-structured guidance.

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?

Given 15 parameters, 6 of them required, no annotations, and no output schema, the description is materially incomplete. Nothing explains required time-range bounds, pagination strategy, or what the returned event records contain, leaving the agent to reconstruct all of that 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% across the 15 parameters, so field meanings, ranges, defaults, and path-vs-query placement are already documented in the schema. The description adds no clarification of the non-obvious parts (time-unit semantics, line_num for CCE clusters, event_type enumeration that the schema truncates mid-sentence), so baseline 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 phrase "[HSS] 查询k8s集群事件列表" gives a verb (query) and a resource (k8s cluster event list), so the general purpose is legible. But it is essentially a Chinese restatement of the tool name ListClusterEventLogs, and it does nothing to separate this tool from close siblings such as hss__ListClusterEvents, hss__ListClusterAuditLogs, or hss__ListEventHandleHistory, which an agent must choose between.

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 at all: no prerequisites, no statement of which cluster/project scope is required, and no mention of any alternative tool. An agent must infer from the name alone that this is the event-log listing versus the audit-log or event-history siblings.

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