prompt_effectiveness
Calculates success rate, average duration, and top failure reasons for Agent templates to identify prompt improvement opportunities.
Instructions
Return effectiveness statistics for Agent templates.
Aggregates activity records to compute success rate, average duration, and top failure reasons per template. Also shows how many failure alchemy lessons are associated with each template.
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 | |||