Skip to main content
Glama

fluentcrm_list_campaigns

Retrieve email campaign lists from FluentCRM to manage marketing automation, with options to search and paginate results.

Instructions

Pobiera listę kampanii email

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
searchNo

Implementation Reference

  • MCP server request handler case for 'fluentcrm_list_campaigns' tool. Receives arguments, calls client.listCampaigns, and formats response as MCP content.
    case 'fluentcrm_list_campaigns': return { content: [{ type: 'text', text: JSON.stringify(await client.listCampaigns(args || {}), null, 2) }] };
  • FluentCRMClient method implementing the core logic: GET request to /campaigns API endpoint with optional params (page, search), returns API response data.
    async listCampaigns(params: any = {}) { const response = await this.apiClient.get('/campaigns', { params }); return response.data; }
  • Registration of the tool in MCP server's tools list, defining name, description, and input schema for pagination and search.
    { name: 'fluentcrm_list_campaigns', description: 'Pobiera listę kampanii email', inputSchema: { type: 'object', properties: { page: { type: 'number' }, search: { type: 'string' }, }, }, },
  • Input schema defining optional 'page' (number) and 'search' (string) parameters for listing campaigns.
    inputSchema: { type: 'object', properties: { page: { type: 'number' }, search: { type: 'string' }, }, },

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