Skip to main content
Glama

fluentcrm_create_list

Create a new contact list in FluentCRM to organize and segment your email marketing subscribers for targeted campaigns.

Instructions

Tworzy nową listę w FluentCRM

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
descriptionNoOpis listy
slugNoSlug listy
titleYesNazwa listy

Implementation Reference

  • Core handler function in FluentCRMClient that creates a new list by sending a POST request to the '/lists' endpoint with the provided title, slug, and description.
    async createList(data: { title: string; slug?: string; description?: string; }) { const response = await this.apiClient.post('/lists', data); return response.data; }
  • MCP server tool dispatch handler that invokes the FluentCRMClient.createList method with tool arguments and formats the response.
    case 'fluentcrm_create_list': return { content: [{ type: 'text', text: JSON.stringify(await client.createList(args as any), null, 2) }] };
  • Tool registration in the MCP server's tools list, defining the name, description, and input schema for fluentcrm_create_list.
    { name: 'fluentcrm_create_list', description: 'Tworzy nową listę w FluentCRM', inputSchema: { type: 'object', properties: { title: { type: 'string', description: 'Nazwa listy' }, slug: { type: 'string', description: 'Slug listy' }, description: { type: 'string', description: 'Opis listy' }, }, required: ['title'], }, },
  • TypeScript type definition for the createList method input parameters, matching the tool schema.
    async createList(data: { title: string; slug?: string; description?: string; }) { const response = await this.apiClient.post('/lists', 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