Skip to main content
Glama

sodax_get_partners

Retrieve a list of SODAX integration partners including wallets, DEXs, and protocols to identify available ecosystem connections for development.

Instructions

List all SODAX integration partners including wallets, DEXs, and other protocols

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNoResponse format: 'json' for raw data or 'markdown' for formatted textmarkdown

Implementation Reference

  • The actual implementation of getPartners() that fetches SODAX integration partners from the API. Uses caching and makes a GET request to /partners endpoint, returning an array of Partner objects.
    /** * List SODAX integration partners */ export async function getPartners(): Promise<Partner[]> { const cacheKey = "partners"; const cached = getCached<Partner[]>(cacheKey); if (cached) return cached; try { const response = await apiClient.get("/partners"); const partners = response.data?.data || response.data || []; setCache(cacheKey, partners); return partners; } catch (error) { console.error("Error fetching partners:", error); throw new Error("Failed to fetch partners from SODAX API"); } }
  • MCP tool registration for sodax_get_partners. Defines the tool schema with an optional format parameter (json/markdown), and wraps the getPartners() handler with error handling and response formatting.
    // Tool 9: Get Partners server.tool( "sodax_get_partners", "List all SODAX integration partners including wallets, DEXs, and other protocols", { format: z.nativeEnum(ResponseFormat).optional().default(ResponseFormat.MARKDOWN) .describe("Response format: 'json' for raw data or 'markdown' for formatted text") }, READ_ONLY, async ({ format }) => { try { const partners = await getPartners(); return { content: [{ type: "text", text: `## SODAX Partners\n\n${partners.length} integration partners\n\n` + formatResponse(partners, format) }] }; } catch (error) { return { content: [{ type: "text", text: `Error: ${error instanceof Error ? error.message : "Unknown error"}` }], isError: true }; } } );
  • Type definition for the Partner interface representing SODAX integration partners with fields like id, name, type (wallet/dex/bridge/etc.), description, website, logoUrl, and supported chains.
    /** * Integration partner */ export interface Partner { id: string; name: string; type: "wallet" | "dex" | "bridge" | "aggregator" | "lending" | "other"; description?: string; website?: string; logoUrl?: string; chains?: string[]; }
  • Analytics configuration mapping sodax_get_partners to the 'api' tool group for PostHog tracking and monitoring of tool usage.
    sodax_get_partners: "api",
  • src/index.ts:202-202 (registration)
    Lists sodax_get_partners in the API tools array exposed by the server's /api endpoint for documentation and discovery.
    "sodax_get_partners",

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/gosodax/sodax-builders-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server