Skip to main content
Glama

elenchus_generate_roles

Create customized Verifier and Critic role prompts for adversarial code verification through a three-step process: detect domain, generate verifier, then generate critic.

Instructions

Generate customized Verifier/Critic role prompts based on user requirements. This is a 3-step process:

  1. detect_domain - Detects the verification domain from requirements

  2. generate_verifier - Generates Verifier role (needs domain result)

  3. generate_critic - Generates Critic role (needs verifier role)

Each step returns a prompt to send to an LLM. After all 3 steps, call elenchus_set_dynamic_roles with the results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdYesSession ID to generate roles for
stepYesGeneration step: detect_domain → generate_verifier → generate_critic
previousResultNoJSON result from previous step (domain detection result for verifier, verifier role for critic)

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/jhlee0409/elenchus-mcp'

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