Skip to main content
Glama

fluentcrm_get_smart_link

Retrieve specific smart link details from FluentCRM marketing automation by providing the smart link ID.

Instructions

Pobiera szczegóły konkretnego Smart Link

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
smartLinkIdYesID Smart Link

Implementation Reference

  • Core implementation of the tool logic: calls FluentCRM API to retrieve smart link details by ID, handles 404 gracefully since the endpoint may not exist yet.
    async getSmartLink(smartLinkId: number) { try { const response = await this.apiClient.get(`/smart-links/${smartLinkId}`); return response.data; } catch (error: any) { if (error.response?.status === 404) { return { success: false, message: "Smart Links API endpoint not available yet in FluentCRM", suggestion: "Use FluentCRM admin panel to view Smart Link details" }; } throw error; } }
  • Tool registration in MCP server's listTools handler, defining name, description, and input schema.
    { name: 'fluentcrm_get_smart_link', description: 'Pobiera szczegóły konkretnego Smart Link', inputSchema: { type: 'object', properties: { smartLinkId: { type: 'number', description: 'ID Smart Link' }, }, required: ['smartLinkId'], }, },
  • Input schema validation: requires smartLinkId as number.
    inputSchema: { type: 'object', properties: { smartLinkId: { type: 'number', description: 'ID Smart Link' }, }, required: ['smartLinkId'], },
  • MCP server request handler switch case that invokes the tool implementation with the provided smartLinkId argument.
    case 'fluentcrm_get_smart_link': return { content: [{ type: 'text', text: JSON.stringify(await client.getSmartLink((args as any)?.smartLinkId), 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