Skip to main content
Glama

compare_agents

Compare two AI agent endpoints side-by-side on the same test suite to A/B test model, prompt, or architecture changes. Results include per-test score deltas, tool diffs, and an optional HTML report.

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 provided, so description carries the burden. It mentions returns (score deltas, tool diffs, optional HTML report) but does not state whether the tool modifies anything or requires specific permissions. Assumed read-only but not explicit.

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?

Two sentences: first states purpose, second adds value and outputs. No wasted words, front-loaded with the core function.

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?

Covers main functionality and outputs. Without an output schema, a bit more detail on the return format (e.g., how deltas are displayed) would be helpful, but the description is adequate for a comparison tool with 7 parameters.

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 coverage is 100%, so each parameter is described in the schema. The description adds value by explaining the overall output but not specific parameter details. Baseline 3 is appropriate as the schema already handles parameter semantics.

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?

Description states 'Compare two agent endpoints side-by-side on the same test suite' with specific verb, resource, and context. It distinguishes from sibling tools like create_test or run_snapshot by focusing on comparison and 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?

Explicitly says 'Useful for A/B testing a new model, prompt change, or architecture swap', providing clear context for when to use. Does not state exclusions but the purpose is well-defined.

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