Skip to main content
Glama

debate_run

Run a round-robin debate among AI agents on a given topic, streaming progress per turn until completion, cancellation, or failure.

Instructions

Run an async round-robin debate to completion, streaming progress.

Same arguments as debate_start plus the FastMCP-injected ctx. Returns when the loop terminates (max_turns / done / cancel / all_slots_down / error). Per-turn progress is emitted via ctx.report_progress if the client supports it (silently no-op otherwise).

Return shape (IT-008/C-01 taxonomy):

  • status: "success" — debate completed normally

  • status: "cancelled" — external debate_cancel honoured between turns

  • status: "failed" — agent registry not initialised, all slots down, zero successful turns, or unhandled exception in the loop

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agentsYes
topicYes
max_turnsNo
history_windowNo
personaNodefault
terminatorNoany
timeout_seconds_per_turnNo
ctxNo
Behavior5/5

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

With no annotations, the description fully discloses behavior: streaming via ctx.report_progress, termination conditions (max_turns, done, cancel, etc.), and return status taxonomy. This is highly transparent.

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?

The description is concise with a front-loaded purpose, a single sentence for arguments, and bullet points for return statuses. Every sentence adds value without redundancy.

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?

Given no output schema, the description explains return shapes and streaming. It covers termination conditions and statuses but lacks details on error handling or side effects. Reasonably complete for a complex tool.

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 0%, so the description must compensate. It adds that arguments are same as debate_start plus ctx (injected). While this links to another description for details, it doesn't elaborate on each parameter's meaning. The added value is moderate.

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 clearly states the tool runs an async round-robin debate to completion with streaming progress, and distinguishes from siblings by noting it shares arguments with debate_start. It covers termination conditions and return statuses, making the purpose very specific.

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 implies use for completing a debate, referencing same arguments as debate_start. However, it doesn't explicitly state when to use this vs alternatives like debate_start or debate_cancel. The context is clear but lacks exclusions.

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

Install Server

Other Tools

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/oblogin/consult-mcp'

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