Skip to main content
Glama

nodus_verify_signal

Retrieve grounding sources to verify Oracle reasoning for prediction market signals by providing a query ID from previous signal calls.

Instructions

Retrieve grounding sources for a past signal to verify the Oracle's reasoning.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryIdYesqueryId from a previous nodus_get_signal call

Implementation Reference

  • The handler function that executes the logic for verifying a signal by queryId.
    export async function nodusVerifySignal({ queryId }) {
      if (!queryId) return err("queryId is required");
      const all   = getAllQueries(1000);
      const entry = all.find(q => q.id === queryId);
      if (!entry) return err(`Query ${queryId} not found`);
      if (!entry.success || !entry.signal) return ok({ queryId, verified: false, reason: "No signal for this query" });
    
      return ok({
        queryId,
        verified:          true,
        marketUrl:         entry.marketUrl,
        platform:          entry.platform,
        desiredOutcome:    entry.desiredOutcome || null,
        timestamp:         entry.timestamp,
        signal: {
          market_name:       entry.signal.market_name,
          predicted_outcome: entry.signal.predicted_outcome,
          probability:       entry.signal.probability,
          confidence_score:  entry.signal.confidence_score,
          key_reasoning:     entry.signal.key_reasoning,
        },
        grounding_sources: entry.signal.grounding_sources,
        note: "Verify these sources independently to audit the Oracle's reasoning.",
      });
    }

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/NodusAI-Your-Prediction-Broker/nodusai-mcp-server'

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