Skip to main content
Glama
TeleKashOracle

telekash-mcp-server

get_sentiment

Analyze prediction market sentiment with AI-powered scoring, recommendations, and confidence levels to inform trading decisions and augment prediction models.

Instructions

Get AI-powered sentiment analysis, recommendation, and confidence score for any prediction market.

Returns sentiment score (-1 to 1), actionable recommendation (bullish/bearish/neutral), and AI confidence level. Goes beyond raw probability — analyzes market psychology, crowd wisdom, and directional bias. Use for trade signals, contrarian analysis, or augmenting your own prediction models with market sentiment data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
market_idYesThe market UUID or external_id (ticker)

Implementation Reference

  • The handler function that implements the logic for get_sentiment, querying the database for sentiment data associated with a market_id.
    async function getSentiment(
      supabase: SupabaseClient,
      args: { market_id: string },
    ): Promise<ToolResult> {
      const market = await findMarket(supabase, args.market_id);
      if (!market) return err("Market not found");
    
      // Check stored sentiment
      const { data: sentiment } = await supabase
        .from("telekash_market_sentiment")
        .select("*")
        .eq("market_id", market.id)
        .order("created_at", { ascending: false })
        .limit(1)
        .single();
    
      if (sentiment) {
        return json({
          market_id: market.id,
          title: market.title,
          sentiment: {
  • Registration/dispatch logic for the get_sentiment tool within the tool execution switch-case.
    case "get_sentiment":
      return getSentiment(supabase, args as { market_id: string });
  • Schema definition for the get_sentiment tool, providing description and input validation requirements.
    {
      name: "get_sentiment",
      description: `Get AI-powered sentiment analysis (-1 to 1), recommendation, and confidence for a market.`,
      inputSchema: {
        type: "object",
        properties: {
          market_id: {
            type: "string",
            description: "Market UUID or external_id",
          },
        },
        required: ["market_id"],

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/TeleKashOracle/mcp-server'

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