Skip to main content
Glama
florenciakabas

xai-toolkit

compare_predictions

Compare two model predictions on the same data point to identify agreement, confidence levels, and key feature differences. Use this to verify cross-model consistency and build trust in AI predictions.

Instructions

Compare what two models predict for the same sample and explain why.

Returns whether the models agree, their confidence levels, and which
features they share or diverge on — all in plain English. Use this
to build trust in predictions by checking cross-model consistency.

Args:
    model_id_1: ID of the first model (e.g., "gbc_lubricant_quality").
    model_id_2: ID of the second model (e.g., "rf_lubricant_quality").
    sample_index: Row index in the test dataset to compare (0-based).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
model_id_1Yes
model_id_2Yes
sample_indexYes

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/florenciakabas/xai-mcp'

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