Skip to content

Commit cf138da

Browse files
committed
完善elasticsearch mcp工具的描述
1 parent 2a26a82 commit cf138da

File tree

1 file changed

+2
-2
lines changed
  • mcp-server/elasticsearch/internal

1 file changed

+2
-2
lines changed

mcp-server/elasticsearch/internal/tools.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ func GetServiceByHostIDTool() mcp.Tool {
1212
mcp.Description("主机ID,用于定位具体的服务器节点")),
1313
mcp.WithString("start_time",
1414
mcp.Required(),
15-
mcp.Description("查询开始时间,格式为 '2025-08-20T00:00:00Z'")),
15+
mcp.Description("查询开始时间,需要北京时间,格式为 'YYYY-mm-ddThh:mm:ss+08:00'")),
1616
mcp.WithString("end_time",
1717
mcp.Required(),
18-
mcp.Description("查询结束时间,格式为 '2025-08-20T23:59:59Z'")),
18+
mcp.Description("查询结束时间,需要北京时间,格式为 'YYYY-mm-ddThh:mm:ss+0800'")),
1919
)
2020
}
2121

0 commit comments

Comments
 (0)