Skip to main content
Glama

fluentcrm_pause_campaign

Pause an active FluentCRM marketing campaign to temporarily stop sending emails and automation sequences to contacts.

Instructions

Wstrzymuje kampanię

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
campaignIdYesID kampanii

Implementation Reference

  • Core handler function in FluentCRMClient class that implements pausing a campaign by POSTing to the FluentCRM API endpoint `/campaigns/${campaignId}/pause` and returns the response data.
    async pauseCampaign(campaignId: number) { const response = await this.apiClient.post(`/campaigns/${campaignId}/pause`); return response.data; }
  • MCP server request handler switch case that receives the tool call, extracts campaignId from args, calls client.pauseCampaign, and formats the response as MCP content.
    case 'fluentcrm_pause_campaign': return { content: [{ type: 'text', text: JSON.stringify(await client.pauseCampaign((args as any)?.campaignId), null, 2) }] };
  • Tool registration in the listTools response, defining the tool name, description, and input schema. This is passed to MCP server.setTools.
    { name: 'fluentcrm_pause_campaign', description: 'Wstrzymuje kampanię', inputSchema: { type: 'object', properties: { campaignId: { type: 'number', description: 'ID kampanii' }, }, required: ['campaignId'], }, },
  • Input schema defining the required 'campaignId' parameter of type number for the tool.
    inputSchema: { type: 'object', properties: { campaignId: { type: 'number', description: 'ID kampanii' }, }, required: ['campaignId'], },

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