Skip to main content
Glama
debug_create_record-test.jsβ€’745 B
// Developer aid script to quickly exercise create-record in E2E helpers // Usage: node scripts/debug_create_record-test.js import { callUniversalTool } from '../test/e2e/utils/enhanced-tool-caller.js'; import { testDataGenerator } from '../test/e2e/fixtures/index.js'; async function debugCreateRecord() { const companyData = testDataGenerator.companies.basicCompany(); console.log('Creating company with data:', JSON.stringify(companyData, null, 2)); const response = await callUniversalTool('create-record', { resource_type: 'companies', record_data: companyData, }); console.log('Response structure:', JSON.stringify(response, null, 2)); } debugCreateRecord().catch((e) => { console.error(e); process.exit(1); });

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/kesslerio/attio-mcp-server'

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