Skip to content

Commit ea5db69

Browse files
committed
feat: refine mcp prompt
1 parent 672e87c commit ea5db69

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

aperag/mcp/server.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ async def search_collection(
8080
) -> Dict[str, Any]:
8181
"""Search for knowledge in a persistent collection/knowledge base using vector, full-text, graph, and/or summary search.
8282
83-
🎯 Primary Use Case: This is the main tool for searching permanent knowledge repositories.
83+
PRIMARY USE CASE: This is the main tool for searching permanent knowledge repositories.
8484
Use this for general Q&A, knowledge retrieval, and accessing organized knowledge collections.
8585
8686
For temporary files uploaded in a chat session, use search_chat_files instead.
@@ -222,12 +222,12 @@ async def search_chat_files(
222222
) -> Dict[str, Any]:
223223
"""Search ONLY within files temporarily uploaded by the user in THIS specific chat session.
224224
225-
⚠️ IMPORTANT - When to Use This Tool:
225+
IMPORTANT - When to Use This Tool:
226226
- ONLY when searching files that the user explicitly uploaded in THIS chat conversation
227227
- For temporary, session-specific document analysis (e.g., "analyze this PDF I just uploaded")
228228
- When the user references documents they shared in the current chat
229229
230-
⚠️ DO NOT Use This Tool For:
230+
DO NOT Use This Tool For:
231231
- Searching general knowledge bases or collections (use search_collection instead)
232232
- Accessing persistent/permanent knowledge repositories
233233
- General Q&A that doesn't involve chat-uploaded files
@@ -247,7 +247,7 @@ async def search_chat_files(
247247
Note:
248248
Uses SearchResult view model for type-safe response parsing and validation.
249249
250-
🔍 Scope: This tool ONLY searches temporary files uploaded in the current chat.
250+
SCOPE: This tool ONLY searches temporary files uploaded in the current chat.
251251
It does NOT search permanent knowledge collections.
252252
253253
Return format follows the same structure as search_collection:

0 commit comments

Comments
 (0)