diff --git a/apps/scheduler/mcp_agent/prompt.py b/apps/scheduler/mcp_agent/prompt.py
index 63fea6add7ead60f7f987768f68743ca20eceb4e..71f605b484721c7b97d841601e66cbb69ad97dd5 100644
--- a/apps/scheduler/mcp_agent/prompt.py
+++ b/apps/scheduler/mcp_agent/prompt.py
@@ -1108,7 +1108,8 @@ GEN_STEP: dict[LanguageType, str] = {
3.不要选择不存在的工具。
4.如果你认为当前已经达成了用户的目标,可以直接返回Final工具,表示计划执行结束。
5.tool_id中的工具ID必须是当前工具集合中存在的工具ID,而不是工具的名称。
- 6.工具在 XML标签中给出,工具的id在 下的 XML标签中给出。
+ 6.如果在历史记录中一个工具执行三次以上的连续失败或者是没有返回需要的信息,则在下一次步骤中不要再使用该工具。
+ 7.工具在 XML标签中给出,工具的id在 下的 XML标签中给出。
# 样例 1
# 目标
@@ -1189,10 +1190,13 @@ GEN_STEP: dict[LanguageType, str] = {
Please generate a new step based on the user's goal, current plan, and history.
# A good plan step should:
- 1. Use the most appropriate tool for the current step.
- 2. Complete the tasks at each stage based on the current plan and history.
- 3. Do not select a tool that does not exist.
- 4. If you believe the user's goal has been achieved, return to the Final tool to complete the plan execution.
+ 1. Use the most appropriate tool to complete the current step.
+ 2. Be able to complete phased tasks based on the current plan and history.
+ 3. Do not choose non-existent tools.
+ 4. If you believe that the user's goal has already been achieved, you can directly return the Final tool, indicating that the plan execution is complete.
+ 5. The tool_id must be the tool ID that exists in the current tool set, not the name of the tool.
+ 6. If a tool has failed more than three consecutive times in the history or has not returned the required information, do not use that tool in the next step.
+ 7. The tools are given in the XML tags, and the tool IDs are given in the XML tags under
# Example 1
# Objective