Skip to main content
Glama

compare_agents

Compare two agent endpoints side-by-side on the same test suite to A/B test model changes, prompt updates, or architecture swaps. Returns per-test score deltas and tool diffs.

Instructions

Compare two agent endpoints side-by-side on the same test suite. Useful for A/B testing a new model, prompt change, or architecture swap. Returns per-test score deltas, tool diffs, and an optional HTML report.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
v1YesBaseline agent endpoint URL (e.g. 'http://localhost:8000/invoke')
v2YesCandidate agent endpoint URL (e.g. 'http://localhost:8001/invoke')
testsNoTest directory (default: 'tests/')
adapterNoAdapter type (http, langgraph, crewai, etc.). Default: from config or http.
label_v1NoLabel for v1 in report (default: 'baseline')
label_v2NoLabel for v2 in report (default: 'candidate')
no_judgeNoSkip LLM-as-judge, deterministic scoring only. Default: false.
Behavior3/5

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

No annotations are provided, so the description must cover behavioral traits. It mentions returns (deltas, diffs, HTML) but does not disclose side effects, permissions, or error conditions. It is adequate but not detailed.

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 two sentences, front-loaded with the core action and followed by use cases. Every word adds value; no redundancy.

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?

The description covers the main workflow and outputs but lacks details on prerequisites (e.g., running agents) and output format specifics. Given 7 parameters and no output schema, it is mostly complete.

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 baseline is 3. The description adds context about A/B testing but does not elaborate on individual parameters beyond what the schema already provides.

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's purpose: compare two agent endpoints on the same test suite, returning score deltas and diffs. It distinguishes itself from sibling tools like run_snapshot or create_test by focusing on A/B testing.

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 explicitly mentions use cases like A/B testing new models or prompt changes, providing clear context. However, it does not specify when not to use it or mention alternatives among sibling tools.

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/hidai25/eval-view'

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