Skip to main content
Glama

fluentcrm_update_contact

Update contact information in FluentCRM marketing automation by modifying fields like name and phone number using the contact's ID.

Instructions

Aktualizuje dane kontaktu

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
subscriberIdYesID kontaktu
first_nameNo
last_nameNo
phoneNo

Implementation Reference

  • MCP tool handler switch case that executes the tool by calling FluentCRMClient.updateContact with subscriberId and the provided arguments, returning JSON stringified response.
    case 'fluentcrm_update_contact': return { content: [{ type: 'text', text: JSON.stringify(await client.updateContact((args as any)?.subscriberId, args as any), null, 2) }] };
  • Input schema definition for the tool, specifying parameters like subscriberId (required), first_name, last_name, phone.
    inputSchema: { type: 'object', properties: { subscriberId: { type: 'number', description: 'ID kontaktu' }, first_name: { type: 'string' }, last_name: { type: 'string' }, phone: { type: 'string' }, }, required: ['subscriberId'], },
  • Tool registration in the ListTools response, defining name, description, and input schema.
    { 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'], }, },
  • FluentCRMClient helper method that performs the actual API update via PUT request to /subscribers/{subscriberId} endpoint.
    async updateContact(subscriberId: number, data: any) { const response = await this.apiClient.put(`/subscribers/${subscriberId}`, data); return response.data; }

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