Logging them separately is the part I learned the hard way - once a bad tool call looks like the model ignoring instructions, you start "fixing" the prompt instead of the transport. The split also makes retries saner: a protocol error is worth retrying at the connection level, while a tool error should go back to the model instead of being blindly retried.