Skip to main content
Glama

fluentcrm_create_contact

Create a new contact in FluentCRM marketing automation by providing email and optional contact details to build your customer database.

Instructions

Tworzy nowy kontakt w FluentCRM

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailYesEmail kontaktu
first_nameNoImię
last_nameNoNazwisko
phoneNoNumer telefonu
address_line_1NoAdres
cityNoMiasto
countryNoKraj

Implementation Reference

  • MCP tool handler case that executes the fluentcrm_create_contact by calling FluentCRMClient.createContact with input arguments.
    case 'fluentcrm_create_contact': return { content: [{ type: 'text', text: JSON.stringify(await client.createContact(args as any), null, 2) }] };
  • Input schema definition for the fluentcrm_create_contact tool, specifying parameters like email (required), names, phone, address fields.
    inputSchema: { type: 'object', properties: { email: { type: 'string', description: 'Email kontaktu' }, first_name: { type: 'string', description: 'Imię' }, last_name: { type: 'string', description: 'Nazwisko' }, phone: { type: 'string', description: 'Numer telefonu' }, address_line_1: { type: 'string', description: 'Adres' }, city: { type: 'string', description: 'Miasto' }, country: { type: 'string', description: 'Kraj' }, }, required: ['email'], },
  • Tool registration in the ListTools response, defining name, description, and input schema for fluentcrm_create_contact.
    { name: 'fluentcrm_create_contact', description: 'Tworzy nowy kontakt w FluentCRM', inputSchema: { type: 'object', properties: { email: { type: 'string', description: 'Email kontaktu' }, first_name: { type: 'string', description: 'Imię' }, last_name: { type: 'string', description: 'Nazwisko' }, phone: { type: 'string', description: 'Numer telefonu' }, address_line_1: { type: 'string', description: 'Adres' }, city: { type: 'string', description: 'Miasto' }, country: { type: 'string', description: 'Kraj' }, }, required: ['email'], }, },
  • Core helper method in FluentCRMClient that creates a new contact by POSTing to the /subscribers API endpoint.
    async createContact(data: { email: string; first_name?: string; last_name?: string; phone?: string; address_line_1?: string; city?: string; state?: string; country?: string; postal_code?: string; [key: string]: any; }) { const response = await this.apiClient.post('/subscribers', data); return response.data; }

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/netflyapp/fluentcrm-mcp-server'

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