Skip to main content
Glama

ces__ShowEventData

Queries host configuration event data by event type, time range, and dimension parameters. Use it for SAP Monitor in HANA scenarios to retrieve host configuration metrics.

Instructions

[CES] 查询指定时间范围指定事件类型的主机配置数据,可以通过参数指定需要查询的数据维度。注意:该接口提供给HANA场景下SAP Monitor查询主机配置数据,其他场景下查不到主机配置数据。

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": {
      "dim.0": "<dim.0>",
      "from": "<from>",
      "namespace": "<namespace>",
      "project_id": "<project_id>",
      "to": "<to>",
      "type": "<type>"
    },
    "name": "ces__ShowEventData"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes查询数据截止时间UNIX时间戳,单位毫秒。from必须小于to;如:1607150598177。
fromYes查询数据起始时间,UNIX时间戳,单位毫秒;如:1607146998177。
typeYes事件类型,只允许字母、下划线、中划线,字母开头,长度不超过64,如instance_host_info。
dim.0Yes指标的第一层维度,目前最大支持4个维度,维度编号从0开始;维度格式为dim.0=key,value,如mongodb_cluster_id,4270ff17-aba3-4138-89fa-820594c39755;key为指标的维度信息,如:文档数据库服务,则第一层维度为mongodb_cluster_id,value为文档数据库实例ID;各服务资源的指标维度名称可查看:“[服务指标维度](https://support.huaweicloud.com/usermanual-ces/zh-cn_topic_0202622212.html)”。
dim.1No指标的第二层维度,目前最大支持4个维度,维度编号从0开始;维度格式为dim.1=key,value,如mongos_instance_id,c65d39d7-185c-4616-9aca-ad65703b15f9;key为指标的维度信息,如:文档数据库服务,则第二层维度为mongos_instance_id,value为文档数据库集群实例下的mongos节点ID;各资源的指标维度名称可查看:“[服务指标维度](https://support.huaweicloud.com/usermanual-ces/zh-cn_topic_0202622212.html)”。
dim.2No指标的第三层维度,目前最大支持4个维度,维度编号从0开始;维度格式为dim.2=key,value,如mongod_primary_instance_id,5f9498e9-36f8-4317-9ea1-ebe28cba99b4;key为指标的维度信息,如:文档数据库服务,则第三层维度为mongod_primary_instance_id,value为文档数据库实例下的主节点ID;各资源的指标维度名称可查看:“[服务指标维度](https://support.huaweicloud.com/usermanual-ces/zh-cn_topic_0202622212.html)”。
dim.3No指标的第四层维度,目前最大支持4个维度,维度编号从0开始;维度格式为dim.3=key,value,如mongod_secondary_instance_id,b46fa2c7-aac6-4ae3-9337-f4ea97f885cb;key为指标的维度信息,如:文档数据库服务,则第四层维度为mongod_secondary_instance_id,value为文档数据库实例下的备节点ID;各资源的指标维度名称可查看:“[服务指标维度](https://support.huaweicloud.com/usermanual-ces/zh-cn_topic_0202622212.html)”。
namespaceYes指标命名空间,如:弹性云服务器的命名空间为SYS.ECS,文档数据库的命名空间为SYS.DDS,各服务的命名空间可查看:“[服务命名空间](https://support.huaweicloud.com/usermanual-ces/zh-cn_topic_0202622212.html)”。
project_idYes项目编号。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full behavioral burden and does supply the important HANA-only applicability limit. It does not cover permissions, result volume, pagination, or what the returned data looks like, so significant disclosure gaps remain for a query endpoint.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences: the purpose first, then the critical applicability caveat. There is no redundant wording and the ordering puts the most decision-relevant constraint where an agent will see it.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The parameters are richly documented in the schema and the HANA restriction is disclosed, but the description says nothing about the shape or size of the returned host configuration data, and with nine parameters and no output schema that leaves an agent guessing at results.

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 explains from/to, type, namespace, project_id, and the dim.N format. The description only adds the general notion that dimensions are selectable via parameters, which the schema already documents in more detail.

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 states a specific verb and resource: query host configuration data for a given time range and event type, with dimensions selectable via parameters. This is more specific than the name 'ShowEventData' alone, though it never names a sibling such as ShowMetricData to sharpen the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit when-not: the interface only serves SAP Monitor in HANA scenarios and returns no host configuration data in other scenarios. That is a real usage constraint, but no alternative tool is named for the cases where this one cannot be used.

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