Skip to main content
Glama

bcs__ListBcsEventsStatistic

Query segmented blockchain service event and alert statistics by time range, step, and filters to monitor activity and investigate incidents.

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__ListBcsEventsStatistic"
  }
}

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 behavioral burden. It implies a read-only query but does not disclose authentication needs, aggregation behavior, rate limits, pagination, or what the returned statistics contain.

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?

The definition is a single front-loaded sentence with no filler. It is concise and easy to scan, though the brevity leaves important usage and behavioral details unstated.

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?

This is a complex tool with eight parameters, nested objects, and no output schema or annotations. The description does not explain how the statistics are aggregated, what the response represents, or how parameters such as step and time_range interact, leaving significant gaps for correct invocation.

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 the schema already documents all eight parameters, including step, time_range, type, and metadata_relation. The description adds only general mentions of segmentation and filtering, which do not materially extend the schema's meaning.

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 names a specific verb and resource: querying BCS service segmented event and alarm statistics data. It distinguishes this from a plain event list by emphasizing statistics and optional filtering, but it does not explicitly name or contrast with the sibling bcs__ListBcsEvents.

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 description only states that filter conditions can be specified; it gives no guidance on when to use this statistics endpoint versus event-list or metric siblings. The intended use is implied by the word 'statistics', but there are no explicit inclusion or exclusion criteria.

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