From 34e00404e9561dcaf8d2d99df7470757a4fee915 Mon Sep 17 00:00:00 2001 From: tanaka takashi Date: Wed, 1 Jul 2026 00:17:40 +0900 Subject: tool description最適化 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mcp/tools/rebuild_index.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/mcp/tools/rebuild_index.c') diff --git a/src/mcp/tools/rebuild_index.c b/src/mcp/tools/rebuild_index.c index 7208d77..e6dbf69 100644 --- a/src/mcp/tools/rebuild_index.c +++ b/src/mcp/tools/rebuild_index.c @@ -59,6 +59,11 @@ call_rebuild_index(const mcpc_tool_t *tool, mcpc_ucbr_t *result) bool tiny_mcp_register_rebuild_index(mcpc_server_t *server) { - mcpc_tool_t *tool = tiny_mcp_tool_new("rebuild_index", "Compact and rebuild", call_rebuild_index); + mcpc_tool_t *tool = tiny_mcp_tool_new( + "rebuild_index", + "Compact the store and rebuild its snapshot and in-memory indexes. Use it " + "for maintenance or to physically remove logically deleted records; it may " + "block other requests while running.", + call_rebuild_index); return tool && mcpc_server_add_tool(server, tool) == MCPC_EC_0; } -- cgit v1.2.3