generate_system_prompt
Drafts a system prompt for a given role, then auto-lints and scores it to ensure quality. Optionally generates terse and guardrailed variants for comparison.
Instructions
Drafts a system prompt for a given role, then auto-lints and auto-scores it before returning. Pass rigor: 'both' to generate a terse and a guardrailed variant and get a judged comparison.
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": {
"role": "<role>"
},
"name": "generate_system_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | The agent's role/task, e.g. 'senior code reviewer' | |
| model | No | Override for the model | |
| rigor | No | 'both' generates a terse and a guardrailed variant and judges them head-to-head | guardrailed |
| engine | No | The underlying LLM engine to use | |
| format | No | Output format for the generated prompt(s) | plain |
| transcript | No | Optional failed-conversation excerpt to diagnose from instead of a cold role | |
| failure_modes | No | Optional known failure modes to guard against (e.g. 'hallucinates file paths', 'too verbose') |