Skip to main content
Glama
yantrix-ai

@praveen030686/data-apis-mcp

crypto_get_signal

Analyze cryptocurrency trading signals with confidence scores, momentum indicators, and sentiment data to inform investment decisions. Powered by x402 USDC micropayments on Base.

Instructions

Get enriched trading signal (BUY/HOLD/SELL) with confidence score, momentum indicators, and sentiment data. Costs $0.05 USDC per request via x402 on Base.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYesCrypto symbol (e.g., BTC, ETH, SOL)

Implementation Reference

  • Registration and implementation of the "crypto_get_signal" tool. It fetches signal data from the CRYPTO_API and returns it as a JSON-formatted string.
    server.registerTool(
      "crypto_get_signal",
      {
        title: "Get Crypto Trading Signal",
        description: `Get enriched trading signal (BUY/HOLD/SELL) with confidence score, momentum indicators, and sentiment data.
    Costs $0.05 USDC per request via x402 on Base.`,
        inputSchema: {
          symbol: z.string().min(1).max(10).describe("Crypto symbol (e.g., BTC, ETH, SOL)"),
        },
        annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true },
      },
      async ({ symbol }) => {
        const data = await apiFetch(`${CRYPTO_API}/api/v1/signal/${symbol.toUpperCase()}`);
        return { content: [{ type: "text", text: JSON.stringify(data, 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/yantrix-ai/x402-apis-mcp-server'

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