MCP Servers




Local Tools



manage_context
handle_overlong_tool_outputs
Instruction
In my workspace, employees have uploaded their expense claim materials. You need to first check each expense claim to ensure: All required supporting documents are complete (i.e., every item listed in the claim has a corresponding invoice). And the claimed amounts match the amounts shown on the corresponding invoices. If either of these requirements is not met, send an email to each of the corresponding employee and CC his/her manager. The email subject should be:Expense Claim Review Required: {claim_id}. If both requirements are satisfied, accurately write the data from the expense claim into the 2024Q4REIMBURSEMENT table in the Snowflake database. For any expense claims that exceed the allowed limit, mark them as abnormal (flag = 1). In such cases, also send an email notification to each of the employee and CC his/her department manager. The email subject should be: Expense Over-Cap Notice: {claim_id}