Skip to main content
Glama

IA-QA — 152 QA & Dev Tools for AI Agents

analyze_responses

Read-onlyIdempotent

Semantically analyze N already-produced model outputs for the SAME task (the MCP counterpart to the LLM Sandbox). Without a reference: computes consensus — pairwise cosine agreement, the most-representative output, and the outlier. With a reference (ground truth): also ranks every output by closeness (token cosine + ROUGE-L composite) and names the closest. No LLM, no key, runs locally. The reference mode is gate-able in CI; the consensus/outlier mode is a signal (no reference to fail against). You bring the outputs (2+). A 2-way head-to-head with structural JSON diff is compare_responses.

Input Schema

NameRequiredDescriptionDefault
referenceNoOptional ground-truth answer. If set, each output is also ranked by closeness to it and the closest one is named.
responsesYesThe outputs to analyze (same task, N models/prompts/versions). Each item is a plain string or { "label": "GPT-4o", "text": "..." }. At least 2 required.

Output Schema

NameRequiredDescriptionDefault
countNo
summaryNo
consensusNo
reference_rankingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "reference": "Paris is the capital of France.",
      +    "responses": [
      +      {
      +        "label": "A",
      +        "text": "Lyon is the capital."
      +      },
      +      {
      +        "label": "B",
      +        "text": "Paris is the capital of France."
      +      }
      +    ]
      +  }
      +]
  2. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.