Skip to main content
Glama

Duck Judge

duck_judge
Read-only

Evaluates and ranks multiple AI responses from a council session, using selected criteria and an optional judge persona to provide a comparative assessment.

Instructions

Have one duck evaluate and rank other ducks' responses. Use after duck_council to get a comparative evaluation.

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": {
      "responses": "<responses>"
    },
    "name": "duck_judge"
  }
}

Input Schema

NameRequiredDescriptionDefault
judgeNoProvider name of the judge duck (optional, uses first available)
personaNoJudge persona (e.g., "senior engineer", "security expert")
criteriaNoEvaluation criteria (default: ["accuracy", "completeness", "clarity"])
responsesYesArray of duck responses to evaluate (from duck_council output)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.20.14
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / responses / items / additionalProperties
      Removed value: -false
  2. Addedv1.19.6
  3. Removedv1.19.5
  4. Changed4 schema fields changedv1.2.3
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / judge / enum
      Added value: +[
      +  "openai",
      +  "google",
      +  "groq",
      +  "ollama"
      +]
    • addedInput schema / properties / responses / items / additionalProperties
      Added value: +false
  5. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds that a single duck performs the judging, implying a non-deterministic model call, but says nothing about cost, latency, or how ties are handled. With annotations carrying the read-only claim, this is adequate but thin.

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 with zero filler, purpose first and the sequencing hint second. Nothing is repeated from the schema or title.

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 tool is simple and its params are fully documented, but with no output schema the description never indicates what the ranking result looks like (scores, ordering, rationale). An agent knows how to call it but not what to expect back.

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%, and the schema itself documents the judge provider enum, persona, criteria defaults, and the shape of `responses`. The description adds no further meaning such as whether `judge` must be one of the providers already in `responses`, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: one duck evaluates and ranks other ducks' responses. This is clearly distinct from duck_council, which it names as a predecessor. It does not differentiate itself from close siblings like duck_vote or compare_ducks, which also involve comparative evaluation.

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 gives explicit sequencing guidance — 'Use after duck_council' — which tells the agent when the required `responses` input is available. It does not state when to prefer duck_vote or compare_ducks instead, so the alternatives picture is incomplete.

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