Skip to main content
Glama

fluentcrm_list_smart_links

Retrieve and search Smart Links from FluentCRM marketing automation to manage tracked URLs and campaign links within your WordPress plugin.

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 handler function in FluentCRMClient that attempts to fetch smart links from '/smart-links' endpoint and provides fallback message if not available (404).
    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;
      }
    }
  • Tool registration in the MCP server's tools list, including name, description, and input schema.
      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' },
        },
      },
    },
  • MCP server request handler case that delegates execution to client.listSmartLinks and formats response.
    case 'fluentcrm_list_smart_links':
      return { content: [{ type: 'text', text: JSON.stringify(await client.listSmartLinks(args || {}), null, 2) }] };
  • Input schema for the tool defining optional page and search parameters.
    inputSchema: {
      type: 'object',
      properties: {
        page: { type: 'number', description: 'Numer strony' },
        search: { type: 'string', description: 'Szukaj Smart Link' },
      },
    },

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