MCP Server implementing the Reflexion framework for agent self-reflection and episodic memory. Analyzes trial failure trajectories and generates verbal reflections to steer future attempts.
Single tool 'reflect_on_trial' has a basic schema with three required string/array parameters, but lacks critical depth. Description is present (67 chars) but generic, does not explain WHEN to use it, WHAT it returns, or HOW it guides agent behavior. Parameter descriptions are minimal (e.g., 'List of steps taken during the failed trial' lacks format/structure guidance). No output schema documented. No error handling guidance. Tool does one thing (reflection) but the interface is underspecified for LLM reasoning.
Analyze trial failure trajectory and generate verbal reflection.
Missing output schema documentation. Tool returns a dict with 'trial_index', 'task_goal', 'root_cause', 'critique' but LLM has no formal spec of these fields, types, or structure. Forces LLM to infer output shape.
Parameter descriptions are too brief and lack format/structure guidance. 'trajectory_steps' is described as 'List of steps taken during the failed trial' but does not specify: are steps strings? objects? what fields? how many? This invites malformed input.
Tool description (67 chars) is generic and does not explain WHEN to call it, WHAT it returns, or HOW it steers future trials. 'Analyze trial failure trajectory and generate verbal reflection' lacks context for LLM selection and downstream use.
No error handling guidance. If trajectory_steps is empty, error_message is malformed, or task_goal is blank, the tool silently handles edge cases (e.g., 'last_step = trajectory_steps[-1] if trajectory_steps else "initialization"'). LLM receives no recovery hints.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 44 | 2026-07-28+ | v2 |
STDIO transport only. Server is not remotely accessible and cannot be used by hosted MCP clients. Hard cap at 50 for protocol readiness.