API Reference
Every parameter, every default, every return value for OMEGA's 12 MCP tools.
Called at session boundaries to orient the agent.
omega_welcome
Get a session welcome briefing with recent relevant memories and user profile. Call this first at the start of every session.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
project | string | — | Project path for scoping the briefing. |
session_id | string | — | Session identifier for continuity tracking. |
Example
omega_protocol
Get your coordination playbook: dynamically assembled operating instructions. Call at session start (step 2 after omega_welcome) or when you need protocol guidance.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
section | string | — | Section to retrieve: 'memory', 'coordination', 'coordination_gate', 'teamwork', 'context', 'reminders', 'diagnostics', 'entity', 'heuristics', 'git', 'what_next'. Groups: 'solo', 'multi_agent', 'full', 'minimal'. |
project | string | — | Project path for context-sensitive rules. |
Example
Core read/write operations for persistent memory.
omega_store
Store a memory with optional type and metadata. Use when the user says 'remember this' or for programmatic capture of decisions, lessons, errors, and preferences.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
contentreq | string | — | Memory content to store (also accepts 'text' as alias). |
event_type | string | "memory" | Type: memory, session_summary, task_completion, error_pattern, lesson_learned, decision, user_preference, constraint. |
priority | integer | auto | Priority 1-5 (5 = highest). Auto-set from event type if omitted. |
entity_id | string | — | Scope this memory to an entity (e.g., 'acme'). Omit for unscoped. |
project | string | — | Project path for scoping. |
session_id | string | — | Session identifier. |
metadata | object | — | Additional metadata to attach. |
agent_type | string | — | Agent type for sub-agent memory scoping (e.g., 'code-reviewer'). |
Example
omega_query
Search memories. Three modes: 'semantic' (default) for meaning-based search, 'phrase' for exact substring match, 'timeline' for recent memories grouped by day.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
query | string | — | Search query (or exact phrase when mode='phrase'). Not required for timeline mode. |
mode | string | "semantic" | Search mode: 'semantic', 'phrase', or 'timeline'. |
limit | integer | 10 | Maximum number of results to return. |
event_type | string | — | Filter by event type. |
entity_id | string | — | Filter to a specific entity. |
filter_tags | string[] | — | Hard filter: ALL tags must match (AND logic). |
context_tags | string[] | — | Context tags for relevance boosting. |
context_file | string | — | Current file being edited (boosts related results). |
days | integer | 7 | Days to look back (only for timeline mode). |
temporal_range | string[] | — | [start_iso, end_iso] date range filter. |
project | string | — | Project path for scoping. |
session_id | string | — | Session identifier. |
agent_type | string | — | Filter to a specific agent type. |
case_sensitive | boolean | false | Case-sensitive search (only for phrase mode). |
limit_per_day | integer | 10 | Max results per day (only for timeline mode). |
Example
omega_memory
Manage individual memories: edit content, delete, give feedback (helpful/unhelpful/outdated), find similar memories, or traverse the relationship graph.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
actionreq | string | — | Operation: 'edit', 'delete', 'feedback', 'similar', or 'traverse'. |
memory_idreq | string | — | Memory node ID to operate on. |
new_content | string | — | New content (only for action='edit'). |
rating | string | — | Feedback rating: 'helpful', 'unhelpful', or 'outdated' (only for action='feedback'). |
reason | string | — | Optional explanation for feedback. |
limit | integer | 5 | Max results for similar search. |
max_hops | integer | 2 | Traversal depth 1-5 (only for action='traverse'). |
min_weight | number | 0.0 | Min edge weight 0.0-1.0 (only for action='traverse'). |
Example
Task continuity, lessons, and reminders across sessions.
omega_checkpoint
Save a task checkpoint: captures current plan, progress, files touched, decisions, and key context. Enables seamless session continuity.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
task_titlereq | string | — | Brief title of the current task. |
progressreq | string | — | What's been completed, in progress, and remaining. |
plan | string | — | Current plan or goals. |
decisions | string[] | — | Key technical decisions made. |
files_touched | object | — | Map of file paths to change summaries. |
key_context | string | — | Critical context for continuation. |
next_steps | string | — | What to do next. |
project | string | — | Project path. |
session_id | string | — | Session identifier. |
Example
omega_resume_task
Resume a previously checkpointed task. Retrieves the latest checkpoint with full plan, progress, files, decisions, and next steps.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
task_title | string | — | Title of the task to resume (semantic search). |
project | string | — | Project path to filter checkpoints. |
limit | integer | 1 | Number of checkpoints to retrieve. |
verbosity | string | "full" | 'full' = everything, 'summary' = plan + progress + next, 'minimal' = next steps only. |
Example
omega_lessons
Retrieve cross-session or cross-project lessons learned, ranked by verification count and access frequency.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
task | string | — | Task description for relevance filtering. |
project_path | string | — | Project scope. |
limit | integer | 5 | Max lessons to return. |
cross_project | boolean | false | Search across all projects. |
agent_type | string | — | Filter to a specific agent type. |
exclude_project | string | — | Project to exclude (with cross_project=true). |
exclude_session | string | — | Session ID to exclude. |
Example
omega_remind
Manage time-based reminders: set new reminders, list active ones, or dismiss by ID.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
action | string | "set" | Action: 'set', 'list', or 'dismiss'. |
text | string | — | What to be reminded about (for action='set'). |
duration | string | — | When to remind, e.g. '1h', '30m', '2d' (for action='set'). |
context | string | — | Optional context for the reminder. |
reminder_id | string | — | Reminder ID (for action='dismiss'). |
status | string | — | Filter for list: 'pending', 'fired', 'dismissed', or 'all'. |
project | string | — | Project path. |
session_id | string | — | Session identifier. |
Example
Maintenance, analytics, and user profile management.
omega_profile
Read or update user profile, or list stored preferences. Profile data is encrypted at rest.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
action | string | "read" | Action: 'read', 'update', or 'list_preferences'. |
update | object | — | Profile fields to merge (only for action='update'). |
Example
omega_maintain
System maintenance: health checks, memory consolidation, compaction, backup/restore, and session cleanup.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
actionreq | string | — | Operation: 'health', 'consolidate', 'compact', 'backup', 'restore', or 'clear_session'. |
dry_run | boolean | false | Preview only (for compact). |
event_type | string | "lesson_learned" | Type to compact. |
similarity_threshold | number | 0.6 | Jaccard similarity 0.0-1.0 (for compact). |
min_cluster_size | integer | 3 | Min cluster size (for compact). |
prune_days | integer | 30 | Prune zero-access memories older than N days (for consolidate). |
max_summaries | integer | 50 | Max session summaries (for consolidate). |
filepath | string | — | File path for backup/restore. |
session_id | string | — | Session to purge (for clear_session). |
warn_mb | number | 350 | Warning threshold in MB (for health). |
critical_mb | number | 800 | Critical threshold in MB (for health). |
max_nodes | integer | 10000 | Max expected nodes (for health). |
clear_existing | boolean | true | Clear before restore. |
Example
omega_stats
Memory analytics: type breakdown, session stats, weekly digest, or forgetting audit log.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
actionreq | string | — | Which stats to retrieve: 'types', 'sessions', 'digest', or 'forgetting_log'. |
days | integer | 7 | Days for digest. |
limit | integer | 50 | Max entries for forgetting_log. |
reason | string | — | Filter forgetting_log by reason. |
Example
omega_reflect
ProAnalyze memory health: find contradictions between memories, track how decisions evolved over time, or identify stale memories that may need review.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
actionreq | string | — | Analysis type: 'contradictions', 'evolution', or 'stale'. |
topic | string | — | Topic to analyze (for contradictions/evolution). |
days | integer | 30 | Lookback window in days (for stale). |
limit | integer | 10 | Max results to return. |