Skip to main content
Glama
jonathan-politzki

Smartlead Simplified MCP Server

clientManagement.ts1.7 kB
import { CategoryTool, ToolCategory } from '../types/common.js'; // Client Management Tools export const ADD_CLIENT_TOOL: CategoryTool = { name: 'smartlead_add_client', description: 'Add a new client to the system, optionally with white-label settings.', category: ToolCategory.CLIENT_MANAGEMENT, inputSchema: { type: 'object', properties: { name: { type: 'string', description: 'Name of the client', }, email: { type: 'string', description: 'Email address of the client', }, permission: { type: 'array', items: { type: 'string' }, description: 'Array of permissions to grant to the client. Use ["full_access"] for full permissions.', }, logo: { type: 'string', description: 'Logo text or identifier', }, logo_url: { type: ['string', 'null'], description: 'URL to the client\'s logo image', }, password: { type: 'string', description: 'Password for the client\'s account', }, }, required: ['name', 'email', 'permission', 'password'], }, }; export const FETCH_ALL_CLIENTS_TOOL: CategoryTool = { name: 'smartlead_fetch_all_clients', description: 'Retrieve a list of all clients in the system.', category: ToolCategory.CLIENT_MANAGEMENT, inputSchema: { type: 'object', properties: { // This endpoint doesn't require specific parameters beyond the API key // which is handled at the API client level }, required: [], }, }; // Export all tools as an array for easy registration export const clientManagementTools = [ ADD_CLIENT_TOOL, FETCH_ALL_CLIENTS_TOOL, ];

Implementation Reference

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/jonathan-politzki/smartlead-mcp-server'

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