Skip to main content
Glama

Duck Vote

duck_vote
Read-only

Collects votes from multiple AI providers on a question and its options, with reasoning, then returns vote tallies, confidence scores, and consensus level.

Instructions

Have multiple ducks vote on options with reasoning. Returns vote tally, confidence scores, and consensus level.

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>",
      "options": "<options>"
    },
    "name": "duck_vote"
  }
}

Input Schema

NameRequiredDescriptionDefault
votersNoList of provider names to vote (optional, uses all if not specified)
optionsYesThe options to vote on (2-10 options)
questionYesThe question to vote on (e.g., "Best approach for error handling?")
require_reasoningNoRequire ducks to explain their vote (default: true)

Output Schema

NameRequiredDescriptionDefault
isTieYes
tallyYes
votesYes
winnerYes
optionsYes
questionYes
validVotesYes
totalVotersYes
consensusLevelYes
confidenceByOptionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.20.14
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedOutput schema / properties / confidenceByOption / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / tally / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / votes / items / properties / error
      Added value: +{
      +  "type": "string"
      +}
  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 / voters / items / enum
      Added value: +[
      +  "openai",
      +  "google",
      +  "groq",
      +  "ollama"
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "confidenceByOption": {
      +      "additionalProperties": {
      +        "type": "number"
      +      },
      +      "type": "object"
      +    },
      +    "consensusLevel": {
      +      "enum": [
      +        "unanimous",
      +        "majority",
      +        "plurality",
      +        "split",
      +        "none"
      +      ],
      +      "type": "string"
      +    },
      +    "isTie": {
      +      "type": "boolean"
      +    },
      +    "options": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "question": {
      +      "type": "string"
      +    },
      +    "tally": {
      +      "additionalProperties": {
      +        "type": "number"
      +      },
      +      "type": "object"
      +    },
      +    "totalVoters": {
      +      "type": "number"
      +    },
      +    "validVotes": {
      +      "type": "number"
      +    },
      +    "votes": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "choice": {
      +            "type": "string"
      +          },
      +          "confidence": {
      +            "type": "number"
      +          },
      +          "nickname": {
      +            "type": "string"
      +          },
      +          "reasoning": {
      +            "type": "string"
      +          },
      +          "voter": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "voter",
      +          "nickname",
      +          "choice",
      +          "confidence",
      +          "reasoning"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "winner": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "question",
      +    "options",
      +    "winner",
      +    "isTie",
      +    "tally",
      +    "confidenceByOption",
      +    "votes",
      +    "totalVoters",
      +    "validVotes",
      +    "consensusLevel"
      +  ],
      +  "type": "object"
      +}
  5. First observedv1.0.0

TDQS

B3.4/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 safety is covered. The description adds that results include confidence scores and a consensus level, but says nothing about the cost/latency implications of fanning out to multiple LLM providers or how voters are selected when the optional list is omitted.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, both front-loaded with the action and the returned artifacts, with no redundant restatement of the title. Slightly more could be said about scope, but nothing present is wasted.

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?

An output schema exists, so explaining the tally/confidence/consensus return values is optional and correctly brief. However, for a fan-out tool touching multiple external providers, the absence of any note on cost, latency, or voter-count behavior leaves a gap an agent would want before invoking it.

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%, including the provider enum list and the 2-10 option bounds, so the schema carries the parameter burden. The description adds no extra meaning about the question/options relationship or how voter selection affects the consensus computation, which is the correct baseline for full coverage.

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?

The description names a specific verb and resource ("Have multiple ducks vote on options") and states the output shape (tally, confidence, consensus), which separates it from generic chat tools. It does not explicitly distinguish itself from closely related multi-duck siblings like duck_council, duck_debate, or duck_judge, so the differentiation is only partial.

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

Usage Guidelines3/5

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

Usage is implied: you use it when you want a set of ducks to pick among predefined options. There is no explicit when-not guidance and no reference to the many sibling multi-duck tools (duck_council, duck_debate, duck_judge, compare_ducks), leaving the agent to infer which collective tool fits which situation.

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