Skip to main content
Glama

fluentcrm_get_smart_link

Retrieve specific smart link details from FluentCRM marketing automation to access and manage tracking links for campaigns and communications.

Instructions

Pobiera szczegóły konkretnego Smart Link

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
smartLinkIdYesID Smart Link

Implementation Reference

  • Core implementation of the smart link retrieval logic in the FluentCRMClient class. Makes API GET request to /smart-links/{id} and handles 404 with informative message.
    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; } }
  • MCP server switch case that registers and dispatches the tool call to the client.getSmartLink method.
    case 'fluentcrm_get_smart_link': return { content: [{ type: 'text', text: JSON.stringify(await client.getSmartLink((args as any)?.smartLinkId), null, 2) }] };
  • Input schema definition for the tool, specifying smartLinkId as required number parameter.
    inputSchema: { type: 'object', properties: { smartLinkId: { type: 'number', description: 'ID Smart Link' }, }, required: ['smartLinkId'], },
  • Full tool registration entry in the tools list for ListToolsRequestSchema, including name, description, and 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'], }, },

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