prompt_effectiveness
Analyze Agent template performance by aggregating success rates, durations, failure reasons, and lessons to identify prompts that need improvement.
Instructions
Return effectiveness statistics for Agent templates.
Frozen: still callable, no longer developed.
Aggregates activity records to compute success rate, average duration, and top failure reasons per template. Also counts failure_analysis lessons per template, matched through the failed task's assigned agent.
Use this to identify which Agent templates perform well and which need prompt improvement.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template_name | No | Optional filter (e.g. "engineering-backend-architect"). Leave empty to return stats for all templates. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||