MCP Servers




Local Tools


manage_context
handle_overlong_tool_outputs
Instruction
Please help me read the files in my personal workspace, find all of my invoices, and extract the relevant information. From each invoice, extract the amount, date, and vendor. Then fill theinvoice_summary.csv in my personal workspace.
Additionally, please look up the exchange rates for the dates on the invoices and calculate the total reimbursement amount in Chinese Yuan (RMB). If there is any tax, it should be included in the total. Finally, output the grand total in the format {"total": xx} to a file named total_invoice.json in my personal workspace.
Initial State
Local Workspace
workspace/
├── Invoice-66F9945C-385121.pdf
├── flight_invoice.pdf
├── flight_invoice1.pdf
├── flight_invoice3.pdf
├── invoice_240913093236943397.pdf
├── invoice_3478885.pdf
├── invoice_summary.csv
└── tmpojlmr2l4_receipt.pdf