#3569862: Lower generateToolId() limit from 64 to 50 to reserve space for client prefixes

MCP clients like Claude Code prepend "mcp__{server-name}__" to tool names, pushing the total over 64 characters and causing API errors. Lowering the internal threshold to 50 reserves 14 characters for these client-side prefixes.

Note: This commit was vibe-coded entirely with Claude Code (Opus 4.5) and needs human review before pushing upstream.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

Closes #3569862

Merge request reports

Loading