Skip to main content
Glama

fluentcrm_list_smart_links

Retrieve and search Smart Links from FluentCRM to manage automated marketing URL tracking and redirection for your campaigns.

Instructions

Pobiera listę Smart Links z FluentCRM (może nie być dostępne w obecnej wersji)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoNumer strony
searchNoSzukaj Smart Link

Implementation Reference

  • Core implementation of the tool logic: Attempts to GET /smart-links from FluentCRM API with optional params, handles 404 by returning a helpful message indicating the endpoint is not yet available.
    async listSmartLinks(params: any = {}) { // Try to get smart links - this might not work until FluentCRM adds the endpoint try { const response = await this.apiClient.get('/smart-links', { params }); return response.data; } catch (error: any) { // If endpoint doesn't exist, return helpful message if (error.response?.status === 404) { return { success: false, message: "Smart Links API endpoint not available yet in FluentCRM", suggestion: "Use FluentCRM admin panel to manage Smart Links manually", available_endpoints: [ "FluentCRM → Smart Links (admin panel)", "Custom WordPress hooks for Smart Links" ] }; } throw error; } }
  • Registers the MCP tool 'fluentcrm_list_smart_links' in the listTools response, including description and input schema for page and search parameters.
    name: 'fluentcrm_list_smart_links', description: 'Pobiera listę Smart Links z FluentCRM (może nie być dostępne w obecnej wersji)', inputSchema: { type: 'object', properties: { page: { type: 'number', description: 'Numer strony' }, search: { type: 'string', description: 'Szukaj Smart Link' }, }, }, },
  • Defines the input schema for the tool, accepting optional 'page' (number) and 'search' (string) parameters.
    inputSchema: { type: 'object', properties: { page: { type: 'number', description: 'Numer strony' }, search: { type: 'string', description: 'Szukaj Smart Link' }, }, },
  • MCP server switch case handler that calls the client.listSmartLinks method with arguments and formats response as MCP content.
    case 'fluentcrm_list_smart_links': return { content: [{ type: 'text', text: JSON.stringify(await client.listSmartLinks(args || {}), 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