Discover the effective tools first
Check the current client’s tool list or use inspect_server and search_tools when available. Confirm the intended tool and workspace before preparing the call.
Validate, preview, or compile a plan
Where available, validate_tool_call checks the proposed arguments and static conditions. preview_tool_call describes predicted effects. compile_invocation_plan groups explicit calls in order for review. These steps do not run or queue the proposed work.
Check current permission and consent
A proposed call can pass static checks and still wait, be blocked or require consent. Use the correct device and workspace and read any approval requirements before asking the client to execute it.
Read actual results after execution
If you proceed, compare the tool’s report with what happened. Check the current queue, repository diff or terminal result when local work is involved. Avoid resending a write while its outcome is unclear.