Skip to main content
Glama

fluentcrm_list_campaigns

Retrieve email campaign lists from FluentCRM to view and manage marketing automation campaigns directly within your workflow.

Instructions

Pobiera listę kampanii email

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
searchNo

Implementation Reference

  • Core handler function in FluentCRMClient that fetches campaigns via API GET /campaigns with optional params.
    async listCampaigns(params: any = {}) { const response = await this.apiClient.get('/campaigns', { params }); return response.data; }
  • Registers the fluentcrm_list_campaigns tool in the MCP server's tool list with description and input schema.
    { name: 'fluentcrm_list_campaigns', description: 'Pobiera listę kampanii email', inputSchema: { type: 'object', properties: { page: { type: 'number' }, search: { type: 'string' }, }, }, },
  • Input schema definition allowing optional page and search parameters.
    inputSchema: { type: 'object', properties: { page: { type: 'number' }, search: { type: 'string' }, }, },
  • MCP tool dispatcher case that invokes the client.listCampaigns method and formats response.
    case 'fluentcrm_list_campaigns': return { content: [{ type: 'text', text: JSON.stringify(await client.listCampaigns(args || {}), null, 2) }] };

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