timps_self_critic_agent
Improve any agent output by scoring it on a 1–10 scale, identifying weaknesses, and rerunning the originating agent with an improved prompt until the score reaches the quality threshold.
Instructions
Score any agent's output on a 1–10 quality scale, identify weaknesses, and automatically re-run the originating agent with an improved prompt until the score meets the threshold. This closes the quality feedback loop across the entire swarm.
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": {
"content": "<content>",
"agent": "<agent>",
"task": "<task>"
},
"name": "timps_self_critic_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | The original task/requirement | |
| agent | Yes | Which agent produced it | |
| content | Yes | The output to critique | |
| threshold | No | Re-run if score < threshold (default 7) | |
| max_retries | No | Max re-run attempts (default 2) |