Skip to main content
Glama

compare_search

Read-onlyIdempotent

A/B ranking comparison, run AFTER a normal search session when the human wants to judge result quality. Ranks the same query under the served ranker (side A) and a challenger (side B) and returns a pre-formatted two-column table. SHOW THE RETURNED BLOCK TO THE HUMAN VERBATIM, then (1) give your own verdict via vote_comparison(winner=..., judged_by="agent", query=..., track_b=...) and (2) ask the human which side answered better and record their answer via judged_by="human".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
intentYes
track_bNoA
locationNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already indicate a safe read-only, idempotent operation. The description adds substantial behavioral context: it ranks the same query under two rankers, returns a pre-formatted two-column table, and mandates a specific follow-up workflow including showing output verbatim, submitting an agent verdict, and recording the human verdict.

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?

Every sentence carries necessary information, starting with purpose and usage, then behavior, then required follow-up actions. Despite the density, there is no filler and the structure is logical.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The operational workflow and output expectations are well covered, and the output schema relieves the description of explaining return values. However, the tool cannot be reliably invoked because the three input parameters are entirely undocumented in both the schema and the description, creating a clear completeness gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, but it never explains the 'intent', 'track_b', or 'location' parameters. It refers to 'same query' without explicitly mapping that to the intent parameter, and gives no guidance on what values track_b or location should take.

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 names a specific operation: A/B ranking comparison between the served ranker and a challenger. It clearly distinguishes this from normal search and from vote_comparison, which is described as a follow-up step rather than the same tool.

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 states when to use the tool: after a normal search session when the human wants to judge result quality. It also implies a temporal exclusion by requiring a prior search session, but it does not explicitly name alternatives or conditions when this tool should not be used.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources