@@ -18,6 +18,32 @@ def __init__(self):
1818    def  register_tools (self , mcp ) ->  None :
1919        """Register HR tools with the MCP server.""" 
2020
21+         @mcp .tool (tags = {self .domain .value }) 
22+         async  def  onboard_employee () ->  str :
23+             """Always use the following onboarding checklist for all new Contoso employees.  These are the only steps needed to onboard any new employee.""" 
24+             onboarding_checklist  =  """ 
25+ 
26+             ## HR representative must... 
27+             - initiate background check 
28+             - schedule orientation session 
29+             - assign a mentor 
30+             - register for benefits 
31+             - provide employee handbook 
32+             - request ID card 
33+             - set up payroll 
34+ 
35+             ## Technical Support representative must... 
36+             - setup Office 365 account 
37+             - configure laptop 
38+             - setup VPN access 
39+             - create system accounts 
40+             - send welcome email 
41+ 
42+             ## No other onboarding steps are required for any employee 
43+ 
44+             """ 
45+             return  f"Here are the necessary steps to onboard a new Contoso employee: { onboarding_checklist }  ." 
46+ 
2147        @mcp .tool (tags = {self .domain .value }) 
2248        async  def  schedule_orientation_session (employee_name : str , date : str ) ->  str :
2349            """Schedule an orientation session for a new employee.""" 
@@ -61,32 +87,6 @@ async def assign_mentor(employee_name: str, mentor_name: str = "TBD") -> str:
6187                    error_message = str (e ), context = "assigning mentor" 
6288                )
6389
64-         @mcp .tool (tags = {self .domain .value }) 
65-         async  def  standard_employee_onboarding_checklist () ->  str :
66-             """Gets the total onboarding steps required for all new Contoso employees.  These are the only steps needed to onboard any new employee.""" 
67-             onboarding_steps  =  """ 
68- 
69-             ## HR representative must... 
70-             - initiate background check 
71-             - schedule orientation session 
72-             - assign a mentor 
73-             - register for benefits 
74-             - provide employee handbook 
75-             - request ID card 
76-             - set up payroll 
77- 
78-             ## Technical Support representative must... 
79-             - setup Office 365 account 
80-             - configure laptop 
81-             - setup VPN access 
82-             - create system accounts 
83-             - send welcome email 
84- 
85-             ## No other onboarding steps are required for any employee 
86- 
87-             """ 
88-             return  f"Here are the necessary steps to onboard a new Contoso employee: { onboarding_steps }  ." 
89- 
9090        @mcp .tool (tags = {self .domain .value }) 
9191        async  def  register_for_benefits (
9292            employee_name : str , benefits_package : str  =  "Standard" 
0 commit comments