Tool Boundary Design — When to Split, When to Consolidate
Core 7 min +30 XP
💡
THE ANALOGY
A Swiss army knife vs a specialized toolkit. A Swiss army knife is convenient but you'd never do serious work with a saw the size of your thumb. Specialized tools do their job precisely. The question is: when does combining tools help Claude, and when does it hurt?
⚠️ EXAM TRAP — The Wrong Answer People Choose
Consolidating tools to reduce tool count when the operations are genuinely distinct. Combining 'get_customer_profile' and 'update_customer_email' into one tool is wrong — they have different preconditions, different side effects, and different appropriate contexts.
KEY POINTS
1 Split tools when: operations have different preconditions, different side effects, or Claude would legitimately call one without the other.
2 Consolidate tools when: operations are always called together, have the same inputs, and represent a single logical operation.
3 Read and write operations should almost always be separate tools — different authorization requirements and different risk profiles.
4 A tool that does too much creates ambiguity about what Claude actually called it for and makes hooks harder to write.
5 Tool granularity should match decision granularity — Claude makes one decision per tool call.