@@ -1473,14 +1473,22 @@ static const char MCP_SERVER_INSTRUCTIONS[] =
14731473 "Results are paginated.";
14741474
14751475static const char MCP_ANALYSIS_SERVER_INSTRUCTIONS[] =
1476- "analysis tool profile: read-only graph work via search_graph, trace_path, "
1477- "get_code_snippet, query_graph, get_architecture, or search_code. Use check_index_coverage "
1478- "for cited paths; paginate.";
1476+ "analysis tool profile (read-only): a code knowledge graph of the indexed repository for "
1477+ "structural questions: where a symbol is defined, who calls a function, what it calls, call "
1478+ "chains and data flow, which code a change affects, how modules fit together. search_graph "
1479+ "finds symbols; trace_path follows callers, callees and data flow; get_code_snippet returns "
1480+ "exact source; query_graph runs multi-hop Cypher; get_architecture summarizes structure; "
1481+ "search_code combines text search with graph context; detect_changes maps the current diff "
1482+ "to affected symbols. check_index_coverage tells whether a cited file was fully indexed. "
1483+ "Results are paginated.";
14791484
14801485static const char MCP_SCOUT_SERVER_INSTRUCTIONS[] =
1481- "scout tool profile: fast positive discovery via search_graph, trace_path, "
1482- "get_code_snippet, or get_architecture with narrow limits. Use check_index_coverage for "
1483- "cited paths. Findings are provisional.";
1486+ "scout tool profile (fast, provisional): quick structural lookups in the indexed "
1487+ "repository: where a symbol is defined, who calls a function, what it calls. search_graph "
1488+ "finds symbols; trace_path follows callers and callees; get_code_snippet returns exact "
1489+ "source; get_architecture summarizes structure; narrow limits keep answers fast. "
1490+ "check_index_coverage tells whether a cited file was fully indexed. Findings are "
1491+ "provisional.";
14841492
14851493static char *cbm_mcp_initialize_response_for_profile(const char *params_json,
14861494 cbm_mcp_tool_profile_t profile) {
0 commit comments