import { createToolCollection } from "../client.js";
import type { BaseTool } from "../client.js";
import { createMarketEventsTool } from "./tools.js";
export function createCoinMarketCalTools({
coinMarketCalApiKey,
}: {
coinMarketCalApiKey: string;
}): BaseTool[] {
if (!coinMarketCalApiKey) {
throw new Error("CoinMarketCal API key is required for using these tools.");
}
return createToolCollection([createMarketEventsTool(coinMarketCalApiKey)]);
}
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/NaniDAO/agentek'
If you have feedback or need assistance with the MCP directory API, please join our Discord server