Skip to main content
Glama
test-send-excel-100.js1.17 kB
import { SendExcelEmailTool } from './tools/SendExcelEmailTool.js'; async function testSendExcelEmail100() { const tool = new SendExcelEmailTool(); try { console.log('=== Testing SendExcelEmailTool with 100 records ==='); const params = { type: "orders", email: "terry.hk796@gmail.com", subject: "訂單數據出口", message: "以下是最近的訂單數據的Excel匯出。", limit: 100 }; console.log('Input parameters:', JSON.stringify(params, null, 2)); console.log('Starting tool execution with 100 records...'); const startTime = Date.now(); const result = await tool.execute(params); const endTime = Date.now(); console.log('Tool execution completed successfully!'); console.log('Execution time:', (endTime - startTime) / 1000, 'seconds'); console.log('Result:', JSON.stringify(result, null, 2)); } catch (error) { console.error('Error testing SendExcelEmailTool with 100 records:', error); console.error('Error stack:', error.stack); } } testSendExcelEmail100();

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/uberr2000/mcp_demo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server