Skip to main content
Glama

Ask a human which of two options is better

compare_with_human

Shows two options (texts, images, videos, audio clips or web pages) side by side to a verified human and returns which one they prefer ("A", "B" or "tie") with a short reason. Use it when a choice depends on taste, clarity or feel and you want a real person to decide: two logo drafts, two headlines, two voice-overs, two page designs. A is the first option, B the second; the human sees them in random order. If you have a single item to assess, use rate_with_human instead. Returns { task_id, status, result: { choice, winner_index, comment } }. A person answers in minutes to hours: when status is "pending", keep working and call get_human_feedback with the task_id later. Costs a few cents of prepaid credit (see get_account); an unanswered task is refunded.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "question": "<question>",
      "a": "<a>",
      "b": "<b>"
    },
    "name": "compare_with_human"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYesOption A. Give "text" for writing, a public https "url" for media or web pages, or "data_base64" with "mime_type" for a local file.
bYesOption B. Give "text" for writing, a public https "url" for media or web pages, or "data_base64" with "mime_type" for a local file.
contextNoOptional background the human needs: audience, goal, constraints.
questionYesWhat the human should judge, in plain words. Example: "Which logo looks more trustworthy for a bank?"
wait_secondsNoSeconds to wait for the human before returning (0-55, default 30). If the answer is not in yet, the result has status "pending" and a task_id to check later with get_human_feedback.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations are present (readOnlyHint=false, openWorldHint=true), so the bar is lower, but the description goes further anyway: it discloses prepaid cost, refund on unanswered tasks, human latency of minutes to hours, and that options are shown in random order. The return shape is spelled out too. Credit is docked slightly only because it does not describe rate limits, concurrency or what happens to tasks that expire unanswered.

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?

Front-loads the action first, then usage condition, then the alternative, then the return shape and the async/cost model. Every sentence carries distinct operational information with no filler or repetition.

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 purpose, sibling routing, return structure, cost, latency and the pending follow-up path, which is complete for a nested-object tool with no output schema. Minor omission is what happens to the credit or task if the agent never polls get_human_feedback, though refunds on unanswered tasks are mentioned.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, and the description adds real meaning on top: A is explicitly the first option and B the second, and the human sees them in randomized order, which matters for interpretation. It does not restate the per-option text/url/data_base64 guidance, which the schema already covers well.

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?

States a specific verb and resource ('shows two options ... side by side to a verified human and returns which one they prefer') and immediately names the possible outcomes ("A", "B", "tie"). Concrete examples (logo drafts, headlines, voice-overs) and the explicit contrast with rate_with_human make it unmistakable against siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives the selection condition plainly ('when a choice depends on taste, clarity or feel and you want a real person to decide') and routes the single-item case to rate_with_human. It also tells the agent what to do when the answer is not ready: keep working and call get_human_feedback with the task_id.

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.