Skip to main content
Glama

fluentcrm_update_contact

Update contact details in FluentCRM marketing automation, including names and phone numbers, using the subscriber ID to modify customer information.

Instructions

Aktualizuje dane kontaktu

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
first_nameNo
last_nameNo
phoneNo
subscriberIdYesID kontaktu

Implementation Reference

  • Core handler function in FluentCRMClient that performs the HTTP PUT request to update a contact's data in FluentCRM API.
    async updateContact(subscriberId: number, data: any) { const response = await this.apiClient.put(`/subscribers/${subscriberId}`, data); return response.data; }
  • Tool registration in the MCP server's listTools response, including name, description, and input schema definition.
    { name: 'fluentcrm_update_contact', description: 'Aktualizuje dane kontaktu', inputSchema: { type: 'object', properties: { subscriberId: { type: 'number', description: 'ID kontaktu' }, first_name: { type: 'string' }, last_name: { type: 'string' }, phone: { type: 'string' }, }, required: ['subscriberId'], }, },
  • MCP CallToolRequestSchema dispatch case that handles the tool invocation by calling the FluentCRMClient's updateContact method with parsed arguments.
    case 'fluentcrm_update_contact': return { content: [{ type: 'text', text: JSON.stringify(await client.updateContact((args as any)?.subscriberId, args as any), 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