pub fn mcp_tool_display_name(tool_name: &str) -> Option<&str>Expand description
Bare tool name from an MCP-qualified one (None for non-MCP names).
Accepts the mcp__server__tool, mcp::provider::tool, and legacy
mcp_tool spellings. Canonical MCP name parser — do not fork the
prefix/segment handling per call site, so every surface labels the same
tool identically. Surfaces that drop the prefix unconditionally take
strip_mcp_prefix instead.