Local stdio
Local stdio — reserve standard output for protocol messages and send diagnostics to standard error.
First observation
Bind discovery and invocation to the same session. A tool name cached before a role change can still appear in the client after the server has revoked its grant.