An agent that acts first and plans later can take wrong steps that are hard to undo. Asking for a short plan before execution lets you check the order of steps, the tools it will use and what it will not do. Approve the plan, then let it run.
Checked on 2026-11-29. We did not run any tool for this guide. Every result below is an expected result, marked UNTESTED, for you to confirm on your own files.
Prerequisites
- An agent that accepts a planning instruction
- The task in one sentence
- A note of any step the agent must not take
Steps
1. Ask for a plan, not action
Tell the agent to list its steps first and wait for approval, without calling any tool yet.
Expected result: A plan request is sent with no tool calls allowed yet.
2. Read the plan for wrong steps
Check the order, the tools and any missing step. Look for a step that writes or sends data too early.
Expected result: The plan is marked approved or needs changes, with each change named.
3. Approve or correct the plan
Approve a good plan, or correct the wrong step and ask for a revised plan.
Expected result: An approved plan exists, or a corrected plan is requested.
4. Let the agent execute the plan
Let the agent run the approved steps and compare the log with the plan at the end.
Expected result: The log matches the approved plan, or each difference is noted.
Worked example
A practice task asked an agent to gather three figures and write a short note. The first plan missed the checking step.
| Plan step | Tool | Approved? |
|---|---|---|
| Search orders | search_orders | Yes |
| Check figures | read_file | Yes |
| Send email | send_email | No, too early |
Expected result: Two steps are approved and the email step is moved to last, so nothing is sent before the figures are checked (UNTESTED – confirm it yourself.)
Verdict table
| Check | Expected result | Pass? |
|---|---|---|
| Ask for a plan, not action | A plan request is sent with no tool calls allowed yet. | – |
| Read the plan for wrong steps | The plan is marked approved or needs changes, with each change named. | – |
| Approve or correct the plan | An approved plan exists, or a corrected plan is requested. | – |
| Let the agent execute the plan | The log matches the approved plan, or each difference is noted. | – |
Limits
- A plan is a promise, not a guarantee; the agent can still stray, so check the log.
- Planning adds tokens and time; skip it for trivial one-step tasks.
Sources
- Model Context Protocol (Stanford CS329T slides) – checked 2026-11-29
- The Model Context Protocol (MCP) for compliance data – checked 2026-11-29
- What is the Model Context Protocol (MCP)? – checked 2026-11-29
- Ollama v0.9.1 release notes – checked 2026-11-29
