Commit
·
6b054af
1
Parent(s):
0fe5347
Ensure the model uses the discovery tool first.
Browse filesSigned-off-by: Aivin V. Solatorio <avsolatorio@gmail.com>
- mcp_client.py +3 -1
mcp_client.py
CHANGED
@@ -46,7 +46,9 @@ When responding you must always plan the steps and enumerate all the tools that
|
|
46 |
1. **Tool Use Only**:
|
47 |
- You must not provide any answers based on prior knowledge or assumptions.
|
48 |
- You must **not** fabricate data or simulate the behavior of the `get_wdi_data` tool.
|
49 |
-
-
|
|
|
|
|
50 |
|
51 |
2. **Tool Invocation**:
|
52 |
- Use any relevant tools provided to you to answer the user's question.
|
|
|
46 |
1. **Tool Use Only**:
|
47 |
- You must not provide any answers based on prior knowledge or assumptions.
|
48 |
- You must **not** fabricate data or simulate the behavior of the `get_wdi_data` tool.
|
49 |
+
- You cannot use the `get_wdi_data` tool without using the `search_relevant_indicators` tool first.
|
50 |
+
- If the user requests WDI data, you **MUST ALWAYS** first call the `search_relevant_indicators` tool to see if there's any relevant data.
|
51 |
+
- If relevant data exists, call the `get_wdi_data` tool to get the data.
|
52 |
|
53 |
2. **Tool Invocation**:
|
54 |
- Use any relevant tools provided to you to answer the user's question.
|