Prompting Patterns for MCP Tools: Read-First, Summarize, Then Act
Master the art of prompting AI assistants that have MCP tools. This patterns guide teaches you how to ask for plans, preview diffs, use confirmation tokens, and batch operations—all with Corcava-specific examples you can use immediately.
Core Prompting Patterns
Pattern 1: Ask for a Plan
Before taking action, ask the AI to create a plan:
Plan-First Pattern
What the AI does:
- Calls
list_tasksto get tasks in project - Creates a plan showing which tasks will be updated
- Shows you the plan for review
- Waits for approval before updating
Benefits: Review before action, catch mistakes early, understand scope
Pattern 2: Preview Diffs
Show what will change before applying updates:
Diff Preview Pattern
What the AI does:
- Calls
get_taskto get current state - Creates diff showing before → after
- Displays diff clearly
- Waits for approval before calling
update_task
Benefits: See exactly what changes, verify correctness, prevent mistakes
Pattern 3: Confirmation Tokens
Require specific tokens to confirm important operations:
Token Confirmation Pattern
What the AI does:
- Shows preview of task to be created
- Waits for exact token match
- Only calls
create_taskafter token received - Prevents accidental confirmations
Benefits: Prevents accidental yes/no responses, requires intentional confirmation
Pattern 4: Batching
Group operations to reduce tool calls:
Batching Pattern
What the AI does:
- Calls
list_tasksonce with filters - Selects top 5 from results
- Shows preview of updates
- Batches 5
update_taskcalls after approval
Benefits: Fewer tool calls, faster execution, better performance
Read-First Pattern
Always read before writing:
Read-First Principle
Before any write operation, always read the current state first:
Why: Prevents overwriting data, ensures accuracy, shows what will change
Summarize Then Act Pattern
Have the AI summarize before taking action:
Summarize Then Act
What the AI does:
- Reads tasks and analyzes blockers
- Creates summary with proposed actions
- Shows summary for review
- Only acts after approval
Complete Pattern Examples
Example 1: Safe Task Creation
Complete Safe Create Pattern
This combines: Preview + Diff + Confirmation Token
Example 2: Batch Update with Approval
Complete Batch Update Pattern
This combines: List → Select → Preview → Diff → Batch Update
Pattern Combinations
Combining Patterns
You can combine multiple patterns for maximum safety:
- Read-First + Diff + Token: Get current state → Show diff → Require token
- Plan + Preview + Approval: Create plan → Show preview → Get approval
- Batch + Summarize + Confirm: Batch operations → Summarize → Confirm all
Best Practices
Prompting Best Practices
- Always read first: Get current state before updating
- Show previews: Always preview before write operations
- Use confirmation tokens: For critical operations, require specific tokens
- Batch when possible: Group related operations together
- Be explicit: Clearly state what should and shouldn't happen
- Specify output format: Tell AI how you want results formatted
Related Resources
Write Approval Patterns
Deep dive on approvals
50 Prompt Pack
Ready-to-use prompts
Batching Guide
Reduce tool calls
Hallucination Prevention
Verify before writing
Master MCP Prompting Patterns
Use these patterns to prompt AI assistants with MCP tools effectively and safely
