Skip to main content
Glama

duck_iterate

Refine responses through iterative ping-pong between two AI models: one generates, the other critiques or improves, alternating for multiple rounds to enhance output quality.

Instructions

Iteratively refine a response between two ducks. One generates, the other critiques/improves, alternating for multiple rounds.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesThe initial prompt/task to iterate on
iterationsNoNumber of iteration rounds (default: 3, max: 10)
providersYesExactly 2 provider names for the ping-pong iteration
modeYesrefine: each duck improves the previous response. critique-improve: alternates between critiquing and improving.

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/nesquikm/mcp-rubber-duck'

If you have feedback or need assistance with the MCP directory API, please join our Discord server