Skip to main content
Glama

fluentcrm_update_smart_link

Modify a FluentCRM smart link's settings, including URL, tags, lists, and auto-login options, to update marketing automation behavior.

Instructions

Aktualizuje Smart Link (może nie być dostępne w obecnej wersji)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
smartLinkIdYesID Smart Link
titleNo
target_urlNo
apply_tagsNo
apply_listsNo
remove_tagsNo
remove_listsNo
auto_loginNo

Implementation Reference

  • Core implementation of the updateSmartLink method in FluentCRMClient class, which sends a PUT request to the FluentCRM API to update a Smart Link. Includes error handling for unavailable endpoints with a helpful fallback response.
    async updateSmartLink(smartLinkId: number, data: any) { try { const response = await this.apiClient.put(`/smart-links/${smartLinkId}`, data); 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: "Update Smart Link manually in FluentCRM admin panel" }; } throw error; }
  • MCP server tool handler (switch case) that dispatches fluentcrm_update_smart_link tool calls to the FluentCRMClient.updateSmartLink method, formatting the response as MCP content.
    case 'fluentcrm_update_smart_link': return { content: [{ type: 'text', text: JSON.stringify(await client.updateSmartLink((args as any)?.smartLinkId, args as any), null, 2) }] };
  • Tool registration in the MCP server's listTools response, including the tool name, description, and input schema definition.
    { name: 'fluentcrm_update_smart_link', description: 'Aktualizuje Smart Link (może nie być dostępne w obecnej wersji)', inputSchema: { type: 'object', properties: { smartLinkId: { type: 'number', description: 'ID Smart Link' }, title: { type: 'string' }, target_url: { type: 'string' }, apply_tags: { type: 'array', items: { type: 'number' } }, apply_lists: { type: 'array', items: { type: 'number' } }, remove_tags: { type: 'array', items: { type: 'number' } }, remove_lists: { type: 'array', items: { type: 'number' } }, auto_login: { type: 'boolean' }, }, 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