Skip to main content
Glama

fluentcrm_get_contact

Retrieve contact details from FluentCRM marketing automation by providing a subscriber ID to access specific contact information.

Instructions

Pobiera szczegóły konkretnego kontaktu

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
subscriberIdYesID kontaktu

Implementation Reference

  • Core implementation of the tool: fetches contact details from FluentCRM REST API endpoint /subscribers/{subscriberId} using Axios client.
    async getContact(subscriberId: number) {
      const response = await this.apiClient.get(`/subscribers/${subscriberId}`);
      return response.data;
    }
  • Tool registration in the ListTools response, defining name, description, and input schema.
      name: 'fluentcrm_get_contact',
      description: 'Pobiera szczegóły konkretnego kontaktu',
      inputSchema: {
        type: 'object',
        properties: {
          subscriberId: { type: 'number', description: 'ID kontaktu' },
        },
        required: ['subscriberId'],
      },
    },
  • Input schema validation: requires subscriberId as number.
    inputSchema: {
      type: 'object',
      properties: {
        subscriberId: { type: 'number', description: 'ID kontaktu' },
      },
      required: ['subscriberId'],
    },
  • MCP server dispatch handler: calls the FluentCRMClient.getContact method with tool arguments and formats response.
    case 'fluentcrm_get_contact':
      return { content: [{ type: 'text', text: JSON.stringify(await client.getContact((args as any)?.subscriberId), 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