Skip to main content
Glama

fluentcrm_delete_list

Delete a contact list from FluentCRM marketing automation by specifying the list ID to remove it from your WordPress plugin.

Instructions

Usuwa listę z FluentCRM

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
listIdYesID listy

Implementation Reference

  • Handler for fluentcrm_delete_list tool: extracts listId from arguments and calls client.deleteList to delete the list via FluentCRM API.
    case 'fluentcrm_delete_list':
      return { content: [{ type: 'text', text: JSON.stringify(await client.deleteList((args as any)?.listId), null, 2) }] };
  • Registers the fluentcrm_delete_list tool in the MCP server's tool list, including name, description, and input schema.
    {
      name: 'fluentcrm_delete_list',
      description: 'Usuwa listę z FluentCRM',
      inputSchema: {
        type: 'object',
        properties: {
          listId: { type: 'number', description: 'ID listy' },
        },
        required: ['listId'],
      },
    },
  • FluentCRMClient helper method that performs the actual API deletion of a list by ID using DELETE /lists/{listId}.
    async deleteList(listId: number) {
      const response = await this.apiClient.delete(`/lists/${listId}`);
      return response.data;
    }
  • Input schema definition for fluentcrm_delete_list tool, requiring a numeric listId.
    inputSchema: {
      type: 'object',
      properties: {
        listId: { type: 'number', description: 'ID listy' },
      },
      required: ['listId'],
    },

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