Skip to main content
Glama

bcs__ListBcsEvents

Queries Huawei Cloud Blockchain Service events and alerts with filters for type, time range, and metadata, enabling targeted monitoring and troubleshooting.

Instructions

[BCS] 该接口用于查询BCS服务的事件、告警数据,可以指定查询时的过滤条件。

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": {
      "blockchain_id": "<blockchain_id>",
      "project_id": "<project_id>",
      "step": "<step>",
      "time_range": "<time_range>"
    },
    "name": "bcs__ListBcsEvents"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNo返回列表的排序方式,可以为空
stepYes统计步长。毫秒数
typeNo查询类型。type=active_alert代表查询活动告警,type=history_alert代表查询历史告警。不传或者传其他值则返回指定查询条件的所有信息。
searchNo模糊查询匹配字段,可以为空
project_idYes租户从IAM申请到的projectid,一般为32位字符串。
time_rangeYestimeRange用于指标查询时间范围,主要用于解决客户端时间和服务端时间不一致情况下,查询最近N分钟的数据。另可用于精确查询某一段时间的数据。
blockchain_idYes区块链服务id
metadata_relationNo查询条件组合,可以为空

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 provided, so the description carries the full disclosure burden, and it does little beyond naming it a query. It omits whether results are paginated or capped, whether it requires specific IAM permissions for project_id/blockchain_id, whether there is a time-window limit, and what the response contains. The word 'query' at least makes the read-only nature apparent, which keeps this above a 1.

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, and the filtering capability is stated immediately. It is efficient, though its brevity is partly a symptom of thin content rather than disciplined editing.

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 eight-parameter tool with nested objects, four required parameters, and no output schema or annotations, the description is far too thin. It should at minimum explain the statistical step/time_range behavior and how the type enum changes the result set, since the agent must rely entirely on the schema field text.

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 all eight parameters, including the enum for type and the nested metadata_relation structure, so the schema does the heavy lifting. The description adds nothing beyond the schema (e.g., it does not explain step or time_range semantics), so the baseline of 3 applies.

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 gives a clear verb+resource: querying BCS service event and alert data, with optional filtering. It is meaningfully specific about the domain object, but it does not distinguish this tool from the close sibling bcs__ListBcsEventsStatistic, so an agent cannot tell from the text which one returns raw events versus aggregates.

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?

The only usage hint is that filter conditions may be specified. There is no statement of when to prefer this tool over ListBcsEventsStatistic or other event-listing siblings, and no prerequisites, exclusions, or pagination guidance.

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