Skip to main content
Glama
test-get-orders-tool.js852 B
import { GetOrdersTool } from './tools/GetOrdersTool.js'; async function testGetOrdersTool() { const tool = new GetOrdersTool(); try { console.log('=== Testing GetOrdersTool with exact parameters ==='); const params = { transaction_id: "", customer_name: "", status: "completed", product_name: "", min_amount: 0, max_amount: 0, date_from: "2025-05-01", date_to: "2025-05-31", limit: 5 }; console.log('Input parameters:', JSON.stringify(params, null, 2)); const result = await tool.execute(params); console.log('Tool result:', JSON.stringify(result, null, 2)); } catch (error) { console.error('Error testing GetOrdersTool:', error); } } testGetOrdersTool();

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