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"],
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden. It discloses behavioral traits like returning sentiment score (-1 to 1), actionable recommendation, and AI confidence level, which helps understand output. However, it lacks details on rate limits, error handling, or performance characteristics that would be useful for an agent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately sized and front-loaded, starting with the core functionality. Each sentence adds value, such as explaining the return values and use cases, with no redundant or wasted information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (sentiment analysis with AI) and no output schema, the description does a good job explaining return values (sentiment score, recommendation, confidence). However, it could be more complete by detailing error cases or limitations, especially since annotations are absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents the market_id parameter. The description does not add any specific meaning or usage details about the parameter beyond what the schema provides, such as examples or constraints, resulting in a baseline score.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool performs 'AI-powered sentiment analysis, recommendation, and confidence score for any prediction market,' specifying both the action (get analysis) and resource (prediction market). It distinguishes from siblings like get_probability by emphasizing it 'goes beyond raw probability' to analyze psychology and crowd wisdom.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context for when to use it: 'for trade signals, contrarian analysis, or augmenting your own prediction models with market sentiment data.' However, it does not explicitly state when not to use it or name alternatives among siblings, such as get_probability for raw probability data.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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