Skip to main content
Glama

sage_reflect

Store task reflections to improve future performance by recording what worked (dos) and what didn't (don'ts) after completing significant work.

Instructions

End-of-task reflection. Call this after completing a significant task to store what went right (dos) and what went wrong (don'ts). This feedback loop is critical — Paper 4 proved that agents with memory achieve Spearman rho=0.716 improvement over time while memoryless agents show rho=0.040 (no learning). Both successes and failures make you better. Store them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainNoKnowledge domain (e.g. debugging, architecture, user-prefs)general
dontsNoWhat went wrong — mistakes made, approaches that failed, things to avoid
dosNoWhat went right — approaches that worked, patterns to repeat
task_summaryYesBrief description of what the task was

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/l33tdawg/s-age'

If you have feedback or need assistance with the MCP directory API, please join our Discord server