Skip to main content
Glama

fluentcrm_detach_contact_from_list

Remove a contact from specified lists in FluentCRM to manage audience segmentation and update contact relationships.

Instructions

Usuwa kontakt z listy

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
subscriberIdYesID kontaktu
listIdsYesLista ID list

Implementation Reference

  • MCP tool handler that executes the detach contact from list operation by calling the FluentCRMClient method with extracted arguments.
    case 'fluentcrm_detach_contact_from_list': return { content: [{ type: 'text', text: JSON.stringify(await client.detachContactFromList((args as any)?.subscriberId, (args as any)?.listIds), null, 2) }] };
  • Registers the tool in the MCP server's tool list, including name, description, and input schema.
    { name: 'fluentcrm_detach_contact_from_list', description: 'Usuwa kontakt z listy', inputSchema: { type: 'object', properties: { subscriberId: { type: 'number', description: 'ID kontaktu' }, listIds: { type: 'array', items: { type: 'number' }, description: 'Lista ID list' }, }, required: ['subscriberId', 'listIds'], }, },
  • Core implementation in FluentCRMClient: sends POST request to FluentCRM API endpoint to detach contact from specified lists.
    async detachContactFromList(subscriberId: number, listIds: number[]) { const response = await this.apiClient.post( `/subscribers/${subscriberId}/lists/detach`, { lists: listIds } ); 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