Engram is an MCP server published by tools.engram, hosted at api.engram.tools. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 17 tools, including engram_start, engram_rehydrate, engram_recall, engram_store, engram_report_outcome.
Memory for AI agent teams across tools, sessions, repositories, and teammates.
1 connections through 4 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Begin meaningful work in a repository with a Markdown briefing: session id, ranked private/public memory, workspace guidance and optional checklists. Unlike engram_smarter, this includes workspace onboarding/activation guidance; unlike engram_rehydrate, it prepares a starting briefing instead of reconstructing a prior journal. Use once when beginning work; choose engram_smarter for a task switch and engram_rehydrate for recovery. Supply repo and task when known; context overrides the generated project/market/role/stack/task query. Reuses one eligible active journal; new_session=true deliberately creates a separate journal. Supply session_id for parallel work. Ambiguous automatic selection returns 409; list sessions and choose an exact id. Records a session event; repeating may add events or open another session. Consumes workspace daily call quota; quota exhaustion requires reset or a plan change, not immediate retries. OAuth: memory:read and session:write.
| Parameter | Type | Description |
|---|---|---|
| repo | string | Repository slug, e.g. engram or billing-api, within the authenticated workspace. This is a memory filter, not a filesystem path or workspace selector. |
| role | string | Agent responsibility used in task context, e.g. backend engineer. Start/setup default to implementation agent. |
| task | string | Concrete current goal or decision, e.g. diagnose checkout retries; used to focus context and session recovery. |
| depth | string | Default focused uses a small retrieval budget; deep expands it when focused results are insufficient. An explicit limit overrides the default budget. |
| limit | number | Maximum retrieved memories, 1–30. Omitted defaults: focused=8, deep=16; explicit values override these defaults. |
| stack | array | Project technologies used to focus context; omit when unknown. |
| market | string | Business/domain context, e.g. fintech or education; not a geographic access setting. |
| context | string | Optional full task context; overrides the query generated from project, role, market, stack and task. |
| project | string | Product/project name for session context. Start/setup use it as the repository hint when repo is omitted. |
| agent_tool | string | Calling client name for attribution, e.g. codex, claude-code, cursor, or gemini. Omit if unknown. |
| session_id | string | Exact journal id from start/rehydrate/list_sessions. Disambiguates parallel work; writing requires your active session. Rehydrate may read shared or closed history. |
| new_session | boolean | Default false reuses one eligible active journal. True creates a separate journal for parallel work; retries can create another session. Keep the returned session_id. |
| include_skills | boolean | Include relevant procedural checklists. If omitted, the server infers this from task/context keywords; false suppresses checklists. |
| pending_feedback | array | Batch feedback for earlier retrieval_ids, committed independently before this action. Requires outcome:write; same actual-use feedback is safe to retry. No extra call quota. Omit unassessed results. |
{
"name": "engram_start",
"title": "Start Engram",
"description": "Begin meaningful work in a repository with a Markdown briefing: session id, ranked private/public memory, workspace guidance and optional checklists. Unlike engram_smarter, this includes workspace onboarding/activation guidance; unlike engram_rehydrate, it prepares a starting briefing instead of reconstructing a prior journal. Use once when beginning work; choose engram_smarter for a task switch and engram_rehydrate for recovery.\n\nSupply repo and task when known; context overrides the generated project/market/role/stack/task query. Reuses one eligible active journal; new_session=true deliberately creates a separate journal. Supply session_id for parallel work. Ambiguous automatic selection returns 409; list sessions and choose an exact id. Records a session event; repeating may add events or open another session. Consumes workspace daily call quota; quota exhaustion requires reset or a plan change, not immediate retries. OAuth: memory:read and session:write.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"repo": {
"type": "string",
"description": "Repository slug, e.g. engram or billing-api, within the authenticated workspace. This is a memory filter, not a filesystem path or workspace selector."
},
"role": {
"type": "string",
"description": "Agent responsibility used in task context, e.g. backend engineer. Start/setup default to implementation agent."
},
"task": {
"type": "string",
"description": "Concrete current goal or decision, e.g. diagnose checkout retries; used to focus context and session recovery."
},
"depth": {
"enum": [
"focused",
"deep"
],
"type": "string",
"description": "Default focused uses a small retrieval budget; deep expands it when focused results are insufficient. An explicit limit overrides the default budget."
},
"limit": {
"type": "number",
"maximum": 30,
"minimum": 1,
"description": "Maximum retrieved memories, 1–30. Omitted defaults: focused=8, deep=16; explicit values override these defaults."
},
"stack": {
"type": "array",
"items": {
"type": "string",
"description": "Technology name, e.g. TypeScript or PostgreSQL."
},
"description": "Project technologies used to focus context; omit when unknown."
},
"market": {
"type": "string",
"description": "Business/domain context, e.g. fintech or education; not a geographic access setting."
},
"context": {
"type": "string",
"description": "Optional full task context; overrides the query generated from project, role, market, stack and task."
},
"project": {
"type": "string",
"description": "Product/project name for session context. Start/setup use it as the repository hint when repo is omitted."
},
"agent_tool": {
"type": "string",
"description": "Calling client name for attribution, e.g. codex, claude-code, cursor, or gemini. Omit if unknown."
},
"session_id": {
"type": "string",
"description": "Exact journal id from start/rehydrate/list_sessions. Disambiguates parallel work; writing requires your active session. Rehydrate may read shared or closed history."
},
"new_session": {
"type": "boolean",
"description": "Default false reuses one eligible active journal. True creates a separate journal for parallel work; retries can create another session. Keep the returned session_id."
},
"include_skills": {
"type": "boolean",
"description": "Include relevant procedural checklists. If omitted, the server infers this from task/context keywords; false suppresses checklists."
},
"pending_feedback": {
"type": "array",
"items": {
"type": "object",
"required": [
"retrieval_id",
"memory_id"
],
"properties": {
"detail": {
"type": "string",
"maxLength": 2000,
"description": "Non-sensitive evidence for the supplied relevance/usefulness assessment. Initial-fit notes are separate from actual-use evidence. Never include credentials or raw customer data."
},
"memory_id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Exact memory id included in this retrieval_id result list, not a repo, session id or memory text."
},
"relevance": {
"enum": [
"relevant",
"irrelevant",
"uncertain"
],
"type": "string",
"description": "Initial fit to that query, independent of whether the memory was used."
},
"usefulness": {
"enum": [
"helpful",
"unhelpful",
"not_used",
"not_evaluated"
],
"type": "string",
"description": "Actual use only. not_used/not_evaluated do not change confidence."
},
"retrieval_id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Exact retrieval_id returned with these memories; never substitute session_id."
},
"failure_reason": {
"enum": [
"outdated",
"wrong_context",
"incorrect",
"partial",
"other"
],
"type": "string",
"description": "Only with usefulness=unhelpful: outdated means obsolete, wrong_context means a poor query fit, incorrect means false, partial means partly useful."
}
},
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1,
"description": "Batch feedback for earlier retrieval_ids, committed independently before this action. Requires outcome:write; same actual-use feedback is safe to retry. No extra call quota. Omit unassessed results."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"text",
"format",
"truncated"
],
"properties": {
"text": {
"type": "string",
"description": "The same bounded payload as content[0].text; interpret it using format. JSON text contains the endpoint-specific fields described by this tool."
},
"format": {
"enum": [
"markdown",
"json",
"text"
],
"type": "string",
"description": "Payload encoding: Markdown context/checkpoint, serialized JSON data, or plain confirmation text."
},
"memory_id": {
"type": "string",
"description": "Exact id returned by a single-memory store; use it for later recall/outcome/replacement/lifecycle operations. Not a grant of permission."
},
"truncated": {
"type": "boolean",
"description": "True when the payload exceeded 120,000 characters and was cut with a notice. Narrow the request; truncated JSON is not parseable."
},
"retrieval_id": {
"type": [
"string",
"null"
],
"description": "Exact committed retrieval exposure id, available even if the text is truncated. null means exact feedback unavailable."
},
"feedback_receipt": {
"description": "Acknowledgement for pending_feedback; independent of the main action."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Recover interrupted work after compaction, resume or lost context. Returns Markdown checkpoints, decisions, gotchas, open loops and recent events. Unlike engram_start, this restores the prior journal when available; unlike engram_recall or engram_smarter, it recovers session history rather than only searching durable knowledge. session_id selects an accessible workspace session. Closed or teammate journals are read-only history, never reopened. Automatic recovery requires one active journal for this member, repo/project and authenticated OAuth connection or supplied agent_tool within the recovery window. Multiple matches return 409: list sessions and choose an id. since filters events after selection. If none matches, loads durable task memory and opens a journal. Repeating active recovery adds events; it does not erase history. Consumes workspace daily call quota. OAuth: memory:read and session:write.
| Parameter | Type | Description |
|---|---|---|
| repo | string | Repository slug, e.g. engram or billing-api, within the authenticated workspace. This is a memory filter, not a filesystem path or workspace selector. |
| task | string | Concrete current goal or decision, e.g. diagnose checkout retries; used to focus context and session recovery. |
| depth | string | Default standard: up to 30 events/4 summaries; brief uses 12/2, full 60/8. This controls journal detail, not retrieval depth. |
| since | string | Optional ISO 8601 lower bound for journal events, e.g. 2026-10-16T10:00:00Z; omit for normal recent-session recovery. |
| reason | string | Recovery trigger, e.g. context compaction or resumed after interruption; recorded in the journal. |
| project | string | Product/project name for session context. Start/setup use it as the repository hint when repo is omitted. |
Answer one concrete question from authenticated workspace/public memory before deciding or debugging. Unlike engram_smarter, this retrieves question-specific evidence without task checklists; unlike engram_get_context, it returns one ranked memory list instead of separate category samples. Use engram_rehydrate to recover an interrupted session. Returns JSON with ranked memories, ids, trust/conflict signals and retrieval hints. Example: {"repo":"engram","query":"What did we learn about Netlify SSR costs?"}. No matches returns count=0; deepen or rephrase rather than assume the answer. repo/type/tags narrow the question; limit overrides the depth budget. Records retrieval telemetry without editing knowledge. Consumes workspace daily call quota; stop on quota errors and retry only transient failures. OAuth: memory:read.
| Parameter | Type | Description |
|---|---|---|
| repo | string | Repository slug, e.g. engram or billing-api, within the authenticated workspace. This is a memory filter, not a filesystem path or workspace selector. |
| tags | array | Topic labels for storing or filtering memory; omit when no useful labels apply. |
| type | string | Knowledge category: team rule, reusable pattern, pitfall, proven fix, design decision, or library/version quirk. |
| depth | string | Default focused uses a small retrieval budget; deep expands it when focused results are insufficient. An explicit limit overrides the default budget. |
| limit | number | Maximum retrieved memories, 1–20. Omitted defaults: focused=5, deep=12; explicit values override these defaults. |
| query * | string |
Save independently maintained knowledge privately. Use type+content for one claim, optionally with claim metadata; use claims for 1–32 separate units committed together, each with its own id, lifecycle and outcomes. Never mix single-memory fields with claims. Keep a rule, a product decision and a dated deployment state separate. Necessary rationale stays with its claim. Use engram_reflect for session summaries, not a composite memory. To correct knowledge, supply the complete replacement in content and old ids in supersedes_memory_ids; change_reason explains the replacement. Old entries retain history; this is not permanent deletion. For reviewed legacy notes, supply claims plus split_from(memory_id,content_sha256): first call previews without writes; applying requires dry_run=false and its exact source-and-plan confirmation. Mark superseded pieces historical; preserve the full old note as history. Split children inherit no old confidence/outcomes. This is a manual decomposition, not automatic truth verification. Repeating an applied identical split returns its prior ids. Helpful feedback measures usefulness, not truth/freshness. State metadata requires observation time and stage; tested/deployed require an evidence reference, which remains agent-provided. Legacy single-memory retries can boost confidence; declared-claim duplicates do not refresh evidence or confidence. Consumes memory/call quota; rejects secrets and low-quality content. OAuth: memory:write.
| Parameter | Type | Description |
|---|---|---|
| repo | string | Repository slug, e.g. engram or billing-api, within the authenticated workspace. This is a memory filter, not a filesystem path or workspace selector. |
| tags | array | Topic labels for storing or filtering memory; omit when no useful labels apply. |
| type | string | Knowledge category: team rule, reusable pattern, pitfall, proven fix, design decision, or library/version quirk. |
| claim | object | Metadata for the single content claim. For multiple claims, put metadata inside each claims item. |
Record whether a recalled memory helped; returns a confirmation. Use its exact memory_id and evidence in detail. success=false may include failure_reason; outdated marks obsolete knowledge, while success raises confidence. Use retrieval_id to link a single outcome to its exact query, or outcomes for up to 20 exposure-specific evaluations. Initial relevance is separate from actual usefulness. not_used and not_evaluated do not change confidence. Identical explicit actual-use retries add no votes; changing an already recorded actual-use vote returns a conflict. Without retrieval_id, legacy latest-exposure attribution remains inferred and retries may add votes. Only accessible workspace/public memories may be reported. Use engram_store with supersedes_memory_ids for a verified replacement, or engram_reflect to batch milestone outcomes. Consumes workspace daily call quota. OAuth: outcome:write.
| Parameter | Type | Description |
|---|---|---|
| repo | string | Repository slug, e.g. engram or billing-api, within the authenticated workspace. This is a memory filter, not a filesystem path or workspace selector. |
| detail | string | Brief evidence of how the memory changed the decision, or why it failed. Exclude secrets. |
| success | boolean | Whether this memory helped the actual task: true for a useful application, false for a misleading or unusable result. |
| outcomes | array | Batch alternative to memory_id/success. Rate relevance separately from actual usefulness. |
| memory_id | string | Exact id from a recalled memory; do not substitute a repository name, URL, or the memory text. |
| session_id | string | Session where this memory was retrieved; used for outcome attribution, not to reopen or modify that journal. May be closed. |
Reuse a lesson solved in another repository before rebuilding a shared pattern. Unlike engram_recall or engram_smarter, this explicitly excludes target_repo from source searches and adds transfer lessons and quality gates. Returns Markdown with ranked memories and source repos from other authenticated workspace repositories, with optional public knowledge. source_repos restricts the search; include_public supplements sparse private results. Records retrieval telemetry without copying knowledge. Consumes workspace daily call quota. OAuth: memory:read.
| Parameter | Type | Description |
|---|---|---|
| depth | string | Default focused uses a small retrieval budget; deep expands it when focused results are insufficient. An explicit limit overrides the default budget. |
| limit | number | Maximum retrieved memories, 1–25. Omitted defaults: focused=5, deep=12; explicit values override these defaults. |
| context * | string | Natural-language task and relevant facts, e.g. migrate our PostgreSQL schema with zero downtime. Never include credentials or raw customer data. |
| session_id | string | Exact journal id from start/rehydrate/list_sessions. Disambiguates parallel work; writing requires your active session. Rehydrate may read shared or closed history. |
| target_repo * | string | Destination repository slug for the current work; memories from this repo are excluded from the source search. |
| source_repos | array | Restrict source repositories to these slugs; omit or pass an empty array to search other repositories. |
Brief a materially different task within the same session. Unlike engram_recall, this combines goal-focused memories with optional procedural checklists; unlike engram_get_context, it ranks evidence for the task instead of returning category samples. Returns Markdown with ranked workspace/public memory and retrieval hints. Use engram_start to begin work and engram_rehydrate for lost context. Example: {"repo":"engram","context":"Improve public-page delivery on Netlify while preserving localized SEO and onboarding."}. context states the whole goal; repo/file focus retrieval without reading local files. limit overrides depth; include_skills=false suppresses checklists. Records retrieval/session telemetry without editing knowledge. Consumes workspace daily call quota. OAuth: memory:read.
| Parameter | Type | Description |
|---|---|---|
| file | string | File path/name used only as a search hint, e.g. src/auth.ts. Engram does not read or modify local files. |
| repo | string | Repository slug, e.g. engram or billing-api, within the authenticated workspace. This is a memory filter, not a filesystem path or workspace selector. |
| depth | string | Default focused uses a small retrieval budget; deep expands it when focused results are insufficient. An explicit limit overrides the default budget. |
| limit | number | Maximum retrieved memories, 1–30. Omitted defaults: focused=5, deep=12; explicit values override these defaults. |
| context * | string | Natural-language task and relevant facts, e.g. migrate our PostgreSQL schema with zero downtime. Never include credentials or raw customer data. |
| session_id |
Checkpoint a milestone or handoff for later recovery with engram_rehydrate. Supply at least one of summary, learnings, used_memories or feedback. Returns Markdown with stored/skipped counts, outcomes and next actions. Use engram_store for one lesson and engram_report_outcome for one outcome. store=false skips learning storage only: the journal and supplied outcomes/feedback can still be written. This checkpoint leaves the session open. Retrying may duplicate writes; verify prior success first. Consumes workspace daily call quota and memory quota for saved lessons. OAuth: session:write, memory:write and outcome:write.
| Parameter | Type | Description |
|---|---|---|
| repo | string | Repository slug, e.g. engram or billing-api, within the authenticated workspace. This is a memory filter, not a filesystem path or workspace selector. |
| task | string | Concrete current goal or decision, e.g. diagnose checkout retries; used to focus context and session recovery. |
| store | boolean | Default true saves accepted durable learnings; false skips learning storage only. Session checkpoints, supplied outcomes and feedback are still recorded. |
| summary | string | Milestone/handoff summary: what changed, evidence, decisions and remaining work. Required unless learnings, outcomes or feedback are supplied. |
| feedback | object | Optional product feedback or feedback-pulse dismissal; separate from outcomes about individual memories. |
| learnings | array | Durable private workspace lessons to persist when store=true; only the first 8 are processed. Low-quality entries may be skipped. The summary remains a journal checkpoint. |
| agent_tool |
Find a procedural checklist before a repeatable task. Omit skill or pass an empty string to list available names; otherwise load a name such as code-review or skill:code-review. Returns JSON with available_skills/usage for listing or skill/count/steps/combined for a guide. Unknown names return count=0 and a message. Reads workspace/public knowledge without installing or executing anything. Use engram_recall for a project fact and engram_smarter for task-based guide selection. Consumes workspace daily call quota. OAuth: memory:read.
| Parameter | Type | Description |
|---|---|---|
| skill | string | Checklist name, e.g. code-review, security or skill:deployment. Omit or pass an empty string to list available names; unknown names return count=0. |
| session_id | string | Exact journal id from start/rehydrate/list_sessions. Disambiguates parallel work; writing requires your active session. Rehydrate may read shared or closed history. |
| pending_feedback | array | Batch feedback for earlier retrieval_ids, committed independently before this action. Requires outcome:write; same actual-use feedback is safe to retry. No extra call quota. Omit unassessed results. |
{
"name": "engram_skill",
"title": "Load Skill Guide",
"description": "Find a procedural checklist before a repeatable task. Omit skill or pass an empty string to list available names; otherwise load a name such as code-review or skill:code-review.\n\nReturns JSON with available_skills/usage for listing or skill/count/steps/combined for a guide. Unknown names return count=0 and a message. Reads workspace/public knowledge without installing or executing anything. Use engram_recall for a project fact and engram_smarter for task-based guide selection. Consumes workspace daily call quota. OAuth: memory:read.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"skill": {
"type": "string",
"description": "Checklist name, e.g. code-review, security or skill:deployment. Omit or pass an empty string to list available names; unknown names return count=0."
},
"session_id": {
"type": "string",
"description": "Exact journal id from start/rehydrate/list_sessions. Disambiguates parallel work; writing requires your active session. Rehydrate may read shared or closed history."
},
"pending_feedback": {
"type": "array",
"items": {
"type": "object",
"required": [
"retrieval_id",
"memory_id"
],
"properties": {
"detail": {
"type": "string",
"maxLength": 2000,
"description": "Non-sensitive evidence for the supplied relevance/usefulness assessment. Initial-fit notes are separate from actual-use evidence. Never include credentials or raw customer data."
},
"memory_id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Exact memory id included in this retrieval_id result list, not a repo, session id or memory text."
},
"relevance": {
"enum": [
"relevant",
"irrelevant",
"uncertain"
],
"type": "string",
"description": "Initial fit to that query, independent of whether the memory was used."
},
"usefulness": {
"enum": [
"helpful",
"unhelpful",
"not_used",
"not_evaluated"
],
"type": "string",
"description": "Actual use only. not_used/not_evaluated do not change confidence."
},
"retrieval_id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Exact retrieval_id returned with these memories; never substitute session_id."
},
"failure_reason": {
"enum": [
"outdated",
"wrong_context",
"incorrect",
"partial",
"other"
],
"type": "string",
"description": "Only with usefulness=unhelpful: outdated means obsolete, wrong_context means a poor query fit, incorrect means false, partial means partly useful."
}
},
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1,
"description": "Batch feedback for earlier retrieval_ids, committed independently before this action. Requires outcome:write; same actual-use feedback is safe to retry. No extra call quota. Omit unassessed results."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"text",
"format",
"truncated"
],
"properties": {
"text": {
"type": "string",
"description": "The same bounded payload as content[0].text; interpret it using format. JSON text contains the endpoint-specific fields described by this tool."
},
"format": {
"enum": [
"markdown",
"json",
"text"
],
"type": "string",
"description": "Payload encoding: Markdown context/checkpoint, serialized JSON data, or plain confirmation text."
},
"memory_id": {
"type": "string",
"description": "Exact id returned by a single-memory store; use it for later recall/outcome/replacement/lifecycle operations. Not a grant of permission."
},
"truncated": {
"type": "boolean",
"description": "True when the payload exceeded 120,000 characters and was cut with a notice. Narrow the request; truncated JSON is not parseable."
},
"retrieval_id": {
"type": [
"string",
"null"
],
"description": "Exact committed retrieval exposure id, available even if the text is truncated. null means exact feedback unavailable."
},
"feedback_receipt": {
"description": "Acknowledgement for pending_feedback; independent of the main action."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Audit repository knowledge by category: conventions, gotchas, patterns, solutions and architecture. Unlike engram_recall or engram_smarter, this searches each category separately and returns five sample arrays for coverage review, rather than one task-ranked list. Returns JSON with repo/file/total and up to 21 entries; this is a bounded search, not a full repository-memory export. repo is required; file/task refine search without reading files. Only when all five categories have no repo matches does the search broaden to workspace/public memory. Empty results are valid. Does not edit knowledge. Consumes workspace daily call quota. OAuth: memory:read.
| Parameter | Type | Description |
|---|---|---|
| file | string | File path/name used only as a search hint, e.g. src/auth.ts. Engram does not read or modify local files. |
| repo * | string | Repository slug to inspect, e.g. billing-api. If no repo-specific memories match, the server broadens to workspace/public knowledge. |
| task | string | Concrete current goal or decision, e.g. diagnose checkout retries; used to focus context and session recovery. |
| pending_feedback | array | Batch feedback for earlier retrieval_ids, committed independently before this action. Requires outcome:write; same actual-use feedback is safe to retry. No extra call quota. Omit unassessed results. |
{
"name": "engram_get_context",
"title": "Get Repository Context",
"description": "Audit repository knowledge by category: conventions, gotchas, patterns, solutions and architecture. Unlike engram_recall or engram_smarter, this searches each category separately and returns five sample arrays for coverage review, rather than one task-ranked list. Returns JSON with repo/file/total and up to 21 entries; this is a bounded search, not a full repository-memory export.\n\nrepo is required; file/task refine search without reading files. Only when all five categories have no repo matches does the search broaden to workspace/public memory. Empty results are valid. Does not edit knowledge. Consumes workspace daily call quota. OAuth: memory:read.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"repo"
],
"properties": {
"file": {
"type": "string",
"description": "File path/name used only as a search hint, e.g. src/auth.ts. Engram does not read or modify local files."
},
"repo": {
"type": "string",
"description": "Repository slug to inspect, e.g. billing-api. If no repo-specific memories match, the server broadens to workspace/public knowledge."
},
"task": {
"type": "string",
"description": "Concrete current goal or decision, e.g. diagnose checkout retries; used to focus context and session recovery."
},
"pending_feedback": {
"type": "array",
"items": {
"type": "object",
"required": [
"retrieval_id",
"memory_id"
],
"properties": {
"detail": {
"type": "string",
"maxLength": 2000,
"description": "Non-sensitive evidence for the supplied relevance/usefulness assessment. Initial-fit notes are separate from actual-use evidence. Never include credentials or raw customer data."
},
"memory_id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Exact memory id included in this retrieval_id result list, not a repo, session id or memory text."
},
"relevance": {
"enum": [
"relevant",
"irrelevant",
"uncertain"
],
"type": "string",
"description": "Initial fit to that query, independent of whether the memory was used."
},
"usefulness": {
"enum": [
"helpful",
"unhelpful",
"not_used",
"not_evaluated"
],
"type": "string",
"description": "Actual use only. not_used/not_evaluated do not change confidence."
},
"retrieval_id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Exact retrieval_id returned with these memories; never substitute session_id."
},
"failure_reason": {
"enum": [
"outdated",
"wrong_context",
"incorrect",
"partial",
"other"
],
"type": "string",
"description": "Only with usefulness=unhelpful: outdated means obsolete, wrong_context means a poor query fit, incorrect means false, partial means partly useful."
}
},
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1,
"description": "Batch feedback for earlier retrieval_ids, committed independently before this action. Requires outcome:write; same actual-use feedback is safe to retry. No extra call quota. Omit unassessed results."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"text",
"format",
"truncated"
],
"properties": {
"text": {
"type": "string",
"description": "The same bounded payload as content[0].text; interpret it using format. JSON text contains the endpoint-specific fields described by this tool."
},
"format": {
"enum": [
"markdown",
"json",
"text"
],
"type": "string",
"description": "Payload encoding: Markdown context/checkpoint, serialized JSON data, or plain confirmation text."
},
"memory_id": {
"type": "string",
"description": "Exact id returned by a single-memory store; use it for later recall/outcome/replacement/lifecycle operations. Not a grant of permission."
},
"truncated": {
"type": "boolean",
"description": "True when the payload exceeded 120,000 characters and was cut with a notice. Narrow the request; truncated JSON is not parseable."
},
"retrieval_id": {
"type": [
"string",
"null"
],
"description": "Exact committed retrieval exposure id, available even if the text is truncated. null means exact feedback unavailable."
},
"feedback_receipt": {
"description": "Acknowledgement for pending_feedback; independent of the main action."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Explain onboarding and inspect the authenticated workspace when an agent needs setup guidance. Returns one JSON response with plan/counts/limits, tool groups, activation checklist and suggested calls; no pagination or installation. Hints personalize examples: project names the work; repo scopes activation guidance, falling back to project when omitted. Does not configure the machine, open a working session or edit knowledge. Use engram_start to begin work, engram_rehydrate to recover it and engram_proof to audit adoption. Consumes workspace daily call quota; exhaustion requires reset or a plan change. OAuth: memory:read.
| Parameter | Type | Description |
|---|---|---|
| repo | string | Repository slug, e.g. engram or billing-api, within the authenticated workspace. This is a memory filter, not a filesystem path or workspace selector. |
| role | string | Agent responsibility used in task context, e.g. backend engineer. Start/setup default to implementation agent. |
| task | string | Concrete current goal or decision, e.g. diagnose checkout retries; used to focus context and session recovery. |
| stack | array | Project technologies used to focus context; omit when unknown. |
| market | string | Business/domain context, e.g. fintech or education; not a geographic access setting. |
| project | string | Product/project name for session context. Start/setup use it as the repository hint when repo is omitted. |
| agent_tool | string |
Audit adoption before a rollout or when checking whether the workspace is using memory and reporting outcomes. Takes no arguments. Returns JSON with memory-bank breakdowns, learning-loop activity, proof points and a benchmark checklist. Does not change knowledge or run a benchmark. Use engram_setup for onboarding and engram_recall for task knowledge. Consumes workspace daily call quota. OAuth: memory:read.
No parameters.
{
"name": "engram_proof",
"title": "Get Engram Proof",
"description": "Audit adoption before a rollout or when checking whether the workspace is using memory and reporting outcomes. Takes no arguments. Returns JSON with memory-bank breakdowns, learning-loop activity, proof points and a benchmark checklist.\n\nDoes not change knowledge or run a benchmark. Use engram_setup for onboarding and engram_recall for task knowledge. Consumes workspace daily call quota. OAuth: memory:read.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"text",
"format",
"truncated"
],
"properties": {
"text": {
"type": "string",
"description": "The same bounded payload as content[0].text; interpret it using format. JSON text contains the endpoint-specific fields described by this tool."
},
"format": {
"enum": [
"markdown",
"json",
"text"
],
"type": "string",
"description": "Payload encoding: Markdown context/checkpoint, serialized JSON data, or plain confirmation text."
},
"memory_id": {
"type": "string",
"description": "Exact id returned by a single-memory store; use it for later recall/outcome/replacement/lifecycle operations. Not a grant of permission."
},
"truncated": {
"type": "boolean",
"description": "True when the payload exceeded 120,000 characters and was cut with a notice. Narrow the request; truncated JSON is not parseable."
},
"retrieval_id": {
"type": [
"string",
"null"
],
"description": "Exact committed retrieval exposure id, available even if the text is truncated. null means exact feedback unavailable."
},
"feedback_receipt": {
"description": "Acknowledgement for pending_feedback; independent of the main action."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Find an exact session_id before recovery, closing or a handoff. Unlike engram_rehydrate, this lists bounded metadata without replaying journal content or changing a session. Returns JSON sessions with member/client attribution, status, activity and checkpoint availability, plus next_cursor. Default scope=mine lists this member's sessions; scope=workspace explicitly includes teammates in the authenticated workspace. repo/status/agent_tool/member_id filter results; a teammate member_id requires workspace scope. limit defaults to 20, maximum 50. Pass next_cursor unchanged to continue newest-started-first pagination. Empty results are valid. Consumes daily call quota. OAuth: memory:read.
| Parameter | Type | Description |
|---|---|---|
| repo | string | Repository slug, e.g. engram or billing-api, within the authenticated workspace. This is a memory filter, not a filesystem path or workspace selector. |
| limit | integer | Page size, default 20; from 1 to 50. |
| scope | string | Default mine lists your sessions across clients; workspace includes shared teammate session metadata. |
| cursor | string | Opaque next_cursor from the prior response. Keep filters unchanged; omit for the first page. |
| status | string | Filter journal state; omit to include both active and closed sessions. |
| member_id | string | Member id to filter; another member requires scope=workspace. This is a filter, not authorization. |
| agent_tool | string |
Finish an exact journal at a real completion or handoff. Unlike engram_reflect, this atomically closes the session after saving a supplied final summary or confirming an existing checkpoint. Durable memories and journal history remain; closure ends journal writes without erasing knowledge. Returns JSON with session_id, closed_at, checkpoint_id, already_closed and memories_retained. Get session_id from start/rehydrate/list_sessions. Only this session's member or a human workspace owner may close it; team read access does not grant close authority. A missing checkpoint or failed save leaves it active. Repeating close returns the original receipt without duplicate summaries. Closed journals are read-only for explicit rehydrate and cannot be implicitly reopened. Consumes daily call quota. OAuth: session:write.
| Parameter | Type | Description |
|---|---|---|
| summary | string | Final checkpoint text, at most 6000 characters and no credentials. Omit when reusing an existing checkpoint. Erased journals reject new text; omit to reuse their redacted checkpoint, or start a new session. |
| session_id * | string | Exact journal id to close; required. Never pass a repo slug or a natural-language query. |
{
"name": "engram_close_session",
"title": "Close Session",
"description": "Finish an exact journal at a real completion or handoff. Unlike engram_reflect, this atomically closes the session after saving a supplied final summary or confirming an existing checkpoint. Durable memories and journal history remain; closure ends journal writes without erasing knowledge. Returns JSON with session_id, closed_at, checkpoint_id, already_closed and memories_retained.\n\nGet session_id from start/rehydrate/list_sessions. Only this session's member or a human workspace owner may close it; team read access does not grant close authority. A missing checkpoint or failed save leaves it active. Repeating close returns the original receipt without duplicate summaries. Closed journals are read-only for explicit rehydrate and cannot be implicitly reopened. Consumes daily call quota. OAuth: session:write.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"session_id"
],
"properties": {
"summary": {
"type": "string",
"maxLength": 6000,
"minLength": 1,
"description": "Final checkpoint text, at most 6000 characters and no credentials. Omit when reusing an existing checkpoint. Erased journals reject new text; omit to reuse their redacted checkpoint, or start a new session."
},
"session_id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Exact journal id to close; required. Never pass a repo slug or a natural-language query."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"text",
"format",
"truncated"
],
"properties": {
"text": {
"type": "string",
"description": "The same bounded payload as content[0].text; interpret it using format. JSON text contains the endpoint-specific fields described by this tool."
},
"format": {
"enum": [
"markdown",
"json",
"text"
],
"type": "string",
"description": "Payload encoding: Markdown context/checkpoint, serialized JSON data, or plain confirmation text."
},
"memory_id": {
"type": "string",
"description": "Exact id returned by a single-memory store; use it for later recall/outcome/replacement/lifecycle operations. Not a grant of permission."
},
"truncated": {
"type": "boolean",
"description": "True when the payload exceeded 120,000 characters and was cut with a notice. Narrow the request; truncated JSON is not parseable."
},
"retrieval_id": {
"type": [
"string",
"null"
],
"description": "Exact committed retrieval exposure id, available even if the text is truncated. null means exact feedback unavailable."
},
"feedback_receipt": {
"description": "Acknowledgement for pending_feedback; independent of the main action."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Withdraw an exact private memory that should no longer guide agents. Unlike engram_store with supersedes_memory_ids, this needs no replacement and keeps the content for explicit restoration. Unlike engram_delete_memory, it is reversible. Returns JSON memory_id, RETRACTED status and already_retracted. Get memory_id from recall/context; provide a non-sensitive reason, 1–1000 characters. Only the creator or a human workspace OWNER may withdraw it; team read access is not write authority. Current retrieval excludes it and source-dependent patterns. Recovery suppresses free text in referencing journals rather than replay withdrawn guidance. Start a clean session for new work or restore the source. Repeating is idempotent. Public-bank and superseded records are excluded. Consumes daily call quota. OAuth: memory:write.
| Parameter | Type | Description |
|---|---|---|
| reason * | string | Why this knowledge should stop guiding agents, 1–1000 characters. No secrets or copied sensitive content. |
| memory_id * | string | Exact id from a recalled memory; do not substitute a repository name, URL, or the memory text. |
{
"name": "engram_retract_memory",
"title": "Retract Memory",
"description": "Withdraw an exact private memory that should no longer guide agents. Unlike engram_store with supersedes_memory_ids, this needs no replacement and keeps the content for explicit restoration. Unlike engram_delete_memory, it is reversible. Returns JSON memory_id, RETRACTED status and already_retracted.\n\nGet memory_id from recall/context; provide a non-sensitive reason, 1–1000 characters. Only the creator or a human workspace OWNER may withdraw it; team read access is not write authority. Current retrieval excludes it and source-dependent patterns. Recovery suppresses free text in referencing journals rather than replay withdrawn guidance. Start a clean session for new work or restore the source. Repeating is idempotent. Public-bank and superseded records are excluded. Consumes daily call quota. OAuth: memory:write.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"memory_id",
"reason"
],
"properties": {
"reason": {
"type": "string",
"maxLength": 1000,
"minLength": 1,
"description": "Why this knowledge should stop guiding agents, 1–1000 characters. No secrets or copied sensitive content."
},
"memory_id": {
"type": "string",
"description": "Exact id from a recalled memory; do not substitute a repository name, URL, or the memory text."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"text",
"format",
"truncated"
],
"properties": {
"text": {
"type": "string",
"description": "The same bounded payload as content[0].text; interpret it using format. JSON text contains the endpoint-specific fields described by this tool."
},
"format": {
"enum": [
"markdown",
"json",
"text"
],
"type": "string",
"description": "Payload encoding: Markdown context/checkpoint, serialized JSON data, or plain confirmation text."
},
"memory_id": {
"type": "string",
"description": "Exact id returned by a single-memory store; use it for later recall/outcome/replacement/lifecycle operations. Not a grant of permission."
},
"truncated": {
"type": "boolean",
"description": "True when the payload exceeded 120,000 characters and was cut with a notice. Narrow the request; truncated JSON is not parseable."
},
"retrieval_id": {
"type": [
"string",
"null"
],
"description": "Exact committed retrieval exposure id, available even if the text is truncated. null means exact feedback unavailable."
},
"feedback_receipt": {
"description": "Acknowledgement for pending_feedback; independent of the main action."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}Make an explicitly retracted private memory available again. Unlike engram_store, this restores the original ID/content; storing matching retired content returns 409 rather than silently reviving it. Returns JSON memory_id, ACTIVE status and already_active. Retained source-dependent history becomes available when no other withdrawn sources remain. Only the creator or a human workspace OWNER may restore. Memory quota still applies. A confirmed replacement or SUPERSEDED state requires the separate replacement-review workflow; permanently erased IDs cannot be restored. An already active record is an idempotent no-op. Consumes daily call quota. OAuth: memory:write.
| Parameter | Type | Description |
|---|---|---|
| memory_id * | string | Exact id from a recalled memory; do not substitute a repository name, URL, or the memory text. |
{
"name": "engram_restore_memory",
"title": "Restore Memory",
"description": "Make an explicitly retracted private memory available again. Unlike engram_store, this restores the original ID/content; storing matching retired content returns 409 rather than silently reviving it. Returns JSON memory_id, ACTIVE status and already_active. Retained source-dependent history becomes available when no other withdrawn sources remain.\n\nOnly the creator or a human workspace OWNER may restore. Memory quota still applies. A confirmed replacement or SUPERSEDED state requires the separate replacement-review workflow; permanently erased IDs cannot be restored. An already active record is an idempotent no-op. Consumes daily call quota. OAuth: memory:write.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"memory_id"
],
"properties": {
"memory_id": {
"type": "string",
"description": "Exact id from a recalled memory; do not substitute a repository name, URL, or the memory text."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"text",
"format",
"truncated"
],
"properties": {
"text": {
"type": "string",
"description": "The same bounded payload as content[0].text; interpret it using format. JSON text contains the endpoint-specific fields described by this tool."
},
"format": {
"enum": [
"markdown",
"json",
"text"
],
"type": "string",
"description": "Payload encoding: Markdown context/checkpoint, serialized JSON data, or plain confirmation text."
},
"memory_id": {
"type": "string",
"description": "Exact id returned by a single-memory store; use it for later recall/outcome/replacement/lifecycle operations. Not a grant of permission."
},
"truncated": {
"type": "boolean",
"description": "True when the payload exceeded 120,000 characters and was cut with a notice. Narrow the request; truncated JSON is not parseable."
},
"retrieval_id": {
"type": [
"string",
"null"
],
"description": "Exact committed retrieval exposure id, available even if the text is truncated. null means exact feedback unavailable."
},
"feedback_receipt": {
"description": "Acknowledgement for pending_feedback; independent of the main action."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Preview or permanently erase one private memory and its explicit derived patterns from the live database. Unlike engram_retract_memory, execution cannot be undone. Requires a human workspace OWNER API key; OAuth agents and member keys cannot erase. Does not delete independent memories or unrelated sessions. Default dry_run=true returns counts, derived IDs, affected session IDs (first 50), scope and confirmation. Inspect it first: execution redacts the entire free-text history/checkpoints/task/context of referencing sessions, plus associated outcomes, links, jobs and linked evidence; shared entities remain if still referenced. Execute only the reviewed ID using dry_run=false and confirmation="delete:<memory_id>". Returns erased_at/counts; repeated execution returns the original minimal ID/count receipt without erased text (a one-way content fingerprint blocks exact store replays). In-flight background writes and exact store retries cannot repopulate erased knowledge. Historical unlinked paraphrases, already delivered client context, application/provider logs, provider copies and backups are outside this live-database operation. Public-bank records are excluded. Consumes daily call quota.
| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | Default true previews impact without changing knowledge. False executes only with the exact confirmation string and human OWNER authority. |
| memory_id * | string | Exact id from a recalled memory; do not substitute a repository name, URL, or the memory text. |
| confirmation | string | For execution only: copy delete:<exact memory_id> from the preview. Omit for preview; never substitute a repo name. |
Engram is shared workspace memory, available across repositories. Call engram_start at the beginning of meaningful work in each repository, with the current repo and task. Infer repo from the active project, never from the folder where Engram was installed. After compaction or resume, call engram_rehydrate before continuing. Recall before non-trivial decisions, store only durable non-sensitive lessons, report outcomes for memories used, and reflect at milestones. Follow the nearest project Engram contract when present. Never store credentials, secrets, or raw customer data. Choose retrieval by intent: engram_recall answers one question; engram_smarter briefs a new task in the same session; engram_get_context audits memory by category. Use engram_cross_pollinate when another repository is likely to have a reusable lesson. For parallel work, pass the returned session_id to journal-writing calls; use engram_list_sessions when the target is ambiguous. engram_reflect leaves the session open; optionally use engram_close_session at a real finish or handoff. Closing keeps durable memories and history. Where a response provides retrieval_id, attach evaluated items to pending_feedback on your next call or report_outcome with that id. Relevance and actual usefulness are separate; missing feedback remains unjudged. Do not invent feedback to satisfy a checklist. Tools share the workspace's plan-dependent daily call quota, resetting at midnight UTC. On a quota error, wait for reset or ask the owner to review the plan; repeated calls consume quota without resolving the limit. Correct invalid arguments or missing OAuth scopes before retrying. Refresh expired OAuth credentials; a temporary connection failure alone does not require reauthorization. Read tools can be retried after transient failures, but start, rehydrate, store, report_outcome and reflect can write: check whether a prior call succeeded before repeating it. Tool discovery is public. Tool execution requires OAuth authorization to an Engram workspace.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
| agent_tool | string | Calling client name for attribution, e.g. codex, claude-code, cursor, or gemini. Omit if unknown. |
| session_id | string | Exact journal id from start/rehydrate/list_sessions. Disambiguates parallel work; writing requires your active session. Rehydrate may read shared or closed history. |
{
"name": "engram_rehydrate",
"title": "Rehydrate Context",
"description": "Recover interrupted work after compaction, resume or lost context. Returns Markdown checkpoints, decisions, gotchas, open loops and recent events. Unlike engram_start, this restores the prior journal when available; unlike engram_recall or engram_smarter, it recovers session history rather than only searching durable knowledge.\n\nsession_id selects an accessible workspace session. Closed or teammate journals are read-only history, never reopened. Automatic recovery requires one active journal for this member, repo/project and authenticated OAuth connection or supplied agent_tool within the recovery window. Multiple matches return 409: list sessions and choose an id. since filters events after selection. If none matches, loads durable task memory and opens a journal. Repeating active recovery adds events; it does not erase history. Consumes workspace daily call quota. OAuth: memory:read and session:write.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"repo": {
"type": "string",
"description": "Repository slug, e.g. engram or billing-api, within the authenticated workspace. This is a memory filter, not a filesystem path or workspace selector."
},
"task": {
"type": "string",
"description": "Concrete current goal or decision, e.g. diagnose checkout retries; used to focus context and session recovery."
},
"depth": {
"enum": [
"brief",
"standard",
"full"
],
"type": "string",
"description": "Default standard: up to 30 events/4 summaries; brief uses 12/2, full 60/8. This controls journal detail, not retrieval depth."
},
"since": {
"type": "string",
"description": "Optional ISO 8601 lower bound for journal events, e.g. 2026-10-16T10:00:00Z; omit for normal recent-session recovery."
},
"reason": {
"type": "string",
"description": "Recovery trigger, e.g. context compaction or resumed after interruption; recorded in the journal."
},
"project": {
"type": "string",
"description": "Product/project name for session context. Start/setup use it as the repository hint when repo is omitted."
},
"agent_tool": {
"type": "string",
"description": "Calling client name for attribution, e.g. codex, claude-code, cursor, or gemini. Omit if unknown."
},
"session_id": {
"type": "string",
"description": "Exact journal id from start/rehydrate/list_sessions. Disambiguates parallel work; writing requires your active session. Rehydrate may read shared or closed history."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"text",
"format",
"truncated"
],
"properties": {
"text": {
"type": "string",
"description": "The same bounded payload as content[0].text; interpret it using format. JSON text contains the endpoint-specific fields described by this tool."
},
"format": {
"enum": [
"markdown",
"json",
"text"
],
"type": "string",
"description": "Payload encoding: Markdown context/checkpoint, serialized JSON data, or plain confirmation text."
},
"memory_id": {
"type": "string",
"description": "Exact id returned by a single-memory store; use it for later recall/outcome/replacement/lifecycle operations. Not a grant of permission."
},
"truncated": {
"type": "boolean",
"description": "True when the payload exceeded 120,000 characters and was cut with a notice. Narrow the request; truncated JSON is not parseable."
},
"retrieval_id": {
"type": [
"string",
"null"
],
"description": "Exact committed retrieval exposure id, available even if the text is truncated. null means exact feedback unavailable."
},
"feedback_receipt": {
"description": "Acknowledgement for pending_feedback; independent of the main action."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}| Specific decision, error or question to search, e.g. how are checkout retries deduplicated? |
| session_id | string | Exact journal id from start/rehydrate/list_sessions. Disambiguates parallel work; writing requires your active session. Rehydrate may read shared or closed history. |
| pending_feedback | array | Batch feedback for earlier retrieval_ids, committed independently before this action. Requires outcome:write; same actual-use feedback is safe to retry. No extra call quota. Omit unassessed results. |
{
"name": "engram_recall",
"title": "Recall Memory",
"description": "Answer one concrete question from authenticated workspace/public memory before deciding or debugging. Unlike engram_smarter, this retrieves question-specific evidence without task checklists; unlike engram_get_context, it returns one ranked memory list instead of separate category samples. Use engram_rehydrate to recover an interrupted session.\n\nReturns JSON with ranked memories, ids, trust/conflict signals and retrieval hints. Example: {\"repo\":\"engram\",\"query\":\"What did we learn about Netlify SSR costs?\"}. No matches returns count=0; deepen or rephrase rather than assume the answer. repo/type/tags narrow the question; limit overrides the depth budget. Records retrieval telemetry without editing knowledge. Consumes workspace daily call quota; stop on quota errors and retry only transient failures. OAuth: memory:read.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"repo": {
"type": "string",
"description": "Repository slug, e.g. engram or billing-api, within the authenticated workspace. This is a memory filter, not a filesystem path or workspace selector."
},
"tags": {
"type": "array",
"items": {
"type": "string",
"description": "Searchable topic label, e.g. oauth or postgres."
},
"description": "Topic labels for storing or filtering memory; omit when no useful labels apply."
},
"type": {
"enum": [
"CONVENTION",
"PATTERN",
"GOTCHA",
"SOLUTION",
"ARCHITECTURE",
"DEPENDENCY"
],
"type": "string",
"description": "Knowledge category: team rule, reusable pattern, pitfall, proven fix, design decision, or library/version quirk."
},
"depth": {
"enum": [
"focused",
"deep"
],
"type": "string",
"description": "Default focused uses a small retrieval budget; deep expands it when focused results are insufficient. An explicit limit overrides the default budget."
},
"limit": {
"type": "number",
"maximum": 20,
"minimum": 1,
"description": "Maximum retrieved memories, 1–20. Omitted defaults: focused=5, deep=12; explicit values override these defaults."
},
"query": {
"type": "string",
"description": "Specific decision, error or question to search, e.g. how are checkout retries deduplicated?"
},
"session_id": {
"type": "string",
"description": "Exact journal id from start/rehydrate/list_sessions. Disambiguates parallel work; writing requires your active session. Rehydrate may read shared or closed history."
},
"pending_feedback": {
"type": "array",
"items": {
"type": "object",
"required": [
"retrieval_id",
"memory_id"
],
"properties": {
"detail": {
"type": "string",
"maxLength": 2000,
"description": "Non-sensitive evidence for the supplied relevance/usefulness assessment. Initial-fit notes are separate from actual-use evidence. Never include credentials or raw customer data."
},
"memory_id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Exact memory id included in this retrieval_id result list, not a repo, session id or memory text."
},
"relevance": {
"enum": [
"relevant",
"irrelevant",
"uncertain"
],
"type": "string",
"description": "Initial fit to that query, independent of whether the memory was used."
},
"usefulness": {
"enum": [
"helpful",
"unhelpful",
"not_used",
"not_evaluated"
],
"type": "string",
"description": "Actual use only. not_used/not_evaluated do not change confidence."
},
"retrieval_id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Exact retrieval_id returned with these memories; never substitute session_id."
},
"failure_reason": {
"enum": [
"outdated",
"wrong_context",
"incorrect",
"partial",
"other"
],
"type": "string",
"description": "Only with usefulness=unhelpful: outdated means obsolete, wrong_context means a poor query fit, incorrect means false, partial means partly useful."
}
},
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1,
"description": "Batch feedback for earlier retrieval_ids, committed independently before this action. Requires outcome:write; same actual-use feedback is safe to retry. No extra call quota. Omit unassessed results."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"text",
"format",
"truncated"
],
"properties": {
"text": {
"type": "string",
"description": "The same bounded payload as content[0].text; interpret it using format. JSON text contains the endpoint-specific fields described by this tool."
},
"format": {
"enum": [
"markdown",
"json",
"text"
],
"type": "string",
"description": "Payload encoding: Markdown context/checkpoint, serialized JSON data, or plain confirmation text."
},
"memory_id": {
"type": "string",
"description": "Exact id returned by a single-memory store; use it for later recall/outcome/replacement/lifecycle operations. Not a grant of permission."
},
"truncated": {
"type": "boolean",
"description": "True when the payload exceeded 120,000 characters and was cut with a notice. Narrow the request; truncated JSON is not parseable."
},
"retrieval_id": {
"type": [
"string",
"null"
],
"description": "Exact committed retrieval exposure id, available even if the text is truncated. null means exact feedback unavailable."
},
"feedback_receipt": {
"description": "Acknowledgement for pending_feedback; independent of the main action."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| claims | array | Separate independent claims, each with type/content/claim and optional per-claim replacement ids. Total serialized units <=20,000 characters; each consumes its own memory slot. historical is allowed only in a reviewed legacy split. |
| content | string | One independently changeable claim with its necessary rationale. Separate rules, decisions, implementation, tests and deployment status; never bundle a session report into one memory. |
| context | object | Non-sensitive supporting metadata, e.g. {language: "typescript", component: "auth"}; never credentials or raw customer data. |
| dry_run | boolean | Legacy split defaults to preview. false applies only with its exact confirmation; omit for ordinary store. |
| agent_tool | string | Calling client name for attribution, e.g. codex, claude-code, cursor, or gemini. Omit if unknown. |
| session_id | string | Exact journal id from start/rehydrate/list_sessions. Disambiguates parallel work; writing requires your active session. Rehydrate may read shared or closed history. |
| split_from | object | Creator or owner may preview decomposition of this exact private legacy note. No other repository/visibility may be substituted. |
| confirmation | string | Exact split confirmation returned by preview; bound to source hash and the complete proposed claim set. |
| change_reason | string | Why the supplied memories are superseded, up to 1,000 characters; used with supersedes_memory_ids. |
| pending_feedback | array | Batch feedback for earlier retrieval_ids, committed independently before this action. Requires outcome:write; same actual-use feedback is safe to retry. No extra call quota. Omit unassessed results. |
| supersedes_memory_ids | array | Up to 20 accessible memory ids explicitly replaced by this lesson; omit for an ordinary new memory. Old entries retain their history. |
{
"name": "engram_store",
"title": "Store Memory",
"description": "Save independently maintained knowledge privately. Use type+content for one claim, optionally with claim metadata; use claims for 1–32 separate units committed together, each with its own id, lifecycle and outcomes. Never mix single-memory fields with claims. Keep a rule, a product decision and a dated deployment state separate. Necessary rationale stays with its claim. Use engram_reflect for session summaries, not a composite memory.\n\nTo correct knowledge, supply the complete replacement in content and old ids in supersedes_memory_ids; change_reason explains the replacement. Old entries retain history; this is not permanent deletion. For reviewed legacy notes, supply claims plus split_from(memory_id,content_sha256): first call previews without writes; applying requires dry_run=false and its exact source-and-plan confirmation. Mark superseded pieces historical; preserve the full old note as history. Split children inherit no old confidence/outcomes. This is a manual decomposition, not automatic truth verification. Repeating an applied identical split returns its prior ids.\n\nHelpful feedback measures usefulness, not truth/freshness. State metadata requires observation time and stage; tested/deployed require an evidence reference, which remains agent-provided. Legacy single-memory retries can boost confidence; declared-claim duplicates do not refresh evidence or confidence. Consumes memory/call quota; rejects secrets and low-quality content. OAuth: memory:write.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"repo": {
"type": "string",
"description": "Repository slug, e.g. engram or billing-api, within the authenticated workspace. This is a memory filter, not a filesystem path or workspace selector."
},
"tags": {
"type": "array",
"items": {
"type": "string",
"description": "Searchable topic label, e.g. oauth or postgres."
},
"description": "Topic labels for storing or filtering memory; omit when no useful labels apply."
},
"type": {
"enum": [
"CONVENTION",
"PATTERN",
"GOTCHA",
"SOLUTION",
"ARCHITECTURE",
"DEPENDENCY"
],
"type": "string",
"description": "Knowledge category: team rule, reusable pattern, pitfall, proven fix, design decision, or library/version quirk."
},
"claim": {
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"enum": [
"rule",
"decision",
"state",
"lesson",
"reference"
],
"type": "string",
"description": "Independently maintained knowledge: lasting instruction, product choice, dated operational state, reusable lesson, or source reference."
},
"stage": {
"enum": [
"proposed",
"implemented",
"tested",
"deployed"
],
"type": "string",
"description": "For a state claim, the exact stage observed. Tested does not imply deployed."
},
"evidence": {
"type": "string",
"maxLength": 1000,
"minLength": 1,
"description": "Non-sensitive source, test receipt or commit/deployment reference. Agent-provided evidence is not independently verified by Engram."
},
"observed_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"description": "When the claim was observed, including timezone. Required for state; never infer this from storage or helpful feedback."
},
"review_after": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"description": "Optional time to request rechecking this claim; never automatically expires an owner instruction."
}
},
"description": "Metadata for the single content claim. For multiple claims, put metadata inside each claims item.",
"additionalProperties": false
},
"claims": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"content",
"claim"
],
"properties": {
"tags": {
"type": "array",
"items": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"maxItems": 20,
"description": "Up to 20 non-sensitive topic labels, each at most 64 characters; omit when no useful labels apply."
},
"type": {
"enum": [
"CONVENTION",
"PATTERN",
"GOTCHA",
"SOLUTION",
"ARCHITECTURE",
"DEPENDENCY"
],
"type": "string",
"description": "Knowledge category for this independently maintained unit; its truth/freshness classification belongs in claim."
},
"claim": {
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"enum": [
"rule",
"decision",
"state",
"lesson",
"reference"
],
"type": "string",
"description": "Independently maintained knowledge: lasting instruction, product choice, dated operational state, reusable lesson, or source reference."
},
"stage": {
"enum": [
"proposed",
"implemented",
"tested",
"deployed"
],
"type": "string",
"description": "For a state claim, the exact stage observed. Tested does not imply deployed."
},
"evidence": {
"type": "string",
"maxLength": 1000,
"minLength": 1,
"description": "Non-sensitive source, test receipt or commit/deployment reference. Agent-provided evidence is not independently verified by Engram."
},
"observed_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"description": "When the claim was observed, including timezone. Required for state; never infer this from storage or helpful feedback."
},
"review_after": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"description": "Optional time to request rechecking this claim; never automatically expires an owner instruction."
}
},
"description": "Declared kind and optional observation/evidence metadata for this unit; not independent verification or a grant of human authority.",
"additionalProperties": false
},
"content": {
"type": "string",
"maxLength": 4000,
"minLength": 1,
"description": "One independently replaceable fact, instruction or lesson, at most 4000 characters. Keep unrelated rules and changing state in separate units; never include secrets."
},
"historical": {
"type": "boolean",
"description": "Only for a reviewed legacy split: true keeps an obsolete piece as inactive history instead of current knowledge. Omit for ordinary new claims."
},
"change_reason": {
"type": "string",
"maxLength": 1000,
"minLength": 1,
"description": "Evidence-based reason these supplied ids are replaced; required when supersedes_memory_ids is present."
},
"supersedes_memory_ids": {
"type": "array",
"items": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"maxItems": 20,
"description": "Up to 20 accessible private ids explicitly replaced by this unit. Requires change_reason; cannot be combined with a legacy split."
}
},
"additionalProperties": false
},
"maxItems": 32,
"minItems": 1,
"description": "Separate independent claims, each with type/content/claim and optional per-claim replacement ids. Total serialized units <=20,000 characters; each consumes its own memory slot. historical is allowed only in a reviewed legacy split."
},
"content": {
"type": "string",
"maxLength": 20000,
"minLength": 1,
"description": "One independently changeable claim with its necessary rationale. Separate rules, decisions, implementation, tests and deployment status; never bundle a session report into one memory."
},
"context": {
"type": "object",
"description": "Non-sensitive supporting metadata, e.g. {language: \"typescript\", component: \"auth\"}; never credentials or raw customer data.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"dry_run": {
"type": "boolean",
"description": "Legacy split defaults to preview. false applies only with its exact confirmation; omit for ordinary store."
},
"agent_tool": {
"type": "string",
"description": "Calling client name for attribution, e.g. codex, claude-code, cursor, or gemini. Omit if unknown."
},
"session_id": {
"type": "string",
"description": "Exact journal id from start/rehydrate/list_sessions. Disambiguates parallel work; writing requires your active session. Rehydrate may read shared or closed history."
},
"split_from": {
"type": "object",
"required": [
"memory_id",
"content_sha256"
],
"properties": {
"memory_id": {
"type": "string",
"description": "Exact id from a recalled memory; do not substitute a repository name, URL, or the memory text."
},
"content_sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "SHA-256 of the exact retained source text being reviewed."
}
},
"description": "Creator or owner may preview decomposition of this exact private legacy note. No other repository/visibility may be substituted.",
"additionalProperties": false
},
"confirmation": {
"type": "string",
"maxLength": 256,
"description": "Exact split confirmation returned by preview; bound to source hash and the complete proposed claim set."
},
"change_reason": {
"type": "string",
"maxLength": 1000,
"description": "Why the supplied memories are superseded, up to 1,000 characters; used with supersedes_memory_ids."
},
"pending_feedback": {
"type": "array",
"items": {
"type": "object",
"required": [
"retrieval_id",
"memory_id"
],
"properties": {
"detail": {
"type": "string",
"maxLength": 2000,
"description": "Non-sensitive evidence for the supplied relevance/usefulness assessment. Initial-fit notes are separate from actual-use evidence. Never include credentials or raw customer data."
},
"memory_id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Exact memory id included in this retrieval_id result list, not a repo, session id or memory text."
},
"relevance": {
"enum": [
"relevant",
"irrelevant",
"uncertain"
],
"type": "string",
"description": "Initial fit to that query, independent of whether the memory was used."
},
"usefulness": {
"enum": [
"helpful",
"unhelpful",
"not_used",
"not_evaluated"
],
"type": "string",
"description": "Actual use only. not_used/not_evaluated do not change confidence."
},
"retrieval_id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Exact retrieval_id returned with these memories; never substitute session_id."
},
"failure_reason": {
"enum": [
"outdated",
"wrong_context",
"incorrect",
"partial",
"other"
],
"type": "string",
"description": "Only with usefulness=unhelpful: outdated means obsolete, wrong_context means a poor query fit, incorrect means false, partial means partly useful."
}
},
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1,
"description": "Batch feedback for earlier retrieval_ids, committed independently before this action. Requires outcome:write; same actual-use feedback is safe to retry. No extra call quota. Omit unassessed results."
},
"supersedes_memory_ids": {
"type": "array",
"items": {
"type": "string",
"description": "Exact id from a recalled memory; do not substitute a repository name, URL, or the memory text."
},
"maxItems": 20,
"description": "Up to 20 accessible memory ids explicitly replaced by this lesson; omit for an ordinary new memory. Old entries retain their history."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"text",
"format",
"truncated"
],
"properties": {
"text": {
"type": "string",
"description": "The same bounded payload as content[0].text; interpret it using format. JSON text contains the endpoint-specific fields described by this tool."
},
"format": {
"enum": [
"markdown",
"json",
"text"
],
"type": "string",
"description": "Payload encoding: Markdown context/checkpoint, serialized JSON data, or plain confirmation text."
},
"memory_id": {
"type": "string",
"description": "Exact id returned by a single-memory store; use it for later recall/outcome/replacement/lifecycle operations. Not a grant of permission."
},
"truncated": {
"type": "boolean",
"description": "True when the payload exceeded 120,000 characters and was cut with a notice. Narrow the request; truncated JSON is not parseable."
},
"retrieval_id": {
"type": [
"string",
"null"
],
"description": "Exact committed retrieval exposure id, available even if the text is truncated. null means exact feedback unavailable."
},
"feedback_receipt": {
"description": "Acknowledgement for pending_feedback; independent of the main action."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}| retrieval_id | string | Exact exposure id for a single outcome. An identical explicit retry succeeds with duplicate=true and no extra vote; changing the committed vote returns 409. Omitting this uses legacy latest-exposure inference within 24 hours, whose retries may add votes. |
| failure_reason | string | Why an unsuccessful memory failed; outdated marks obsolete knowledge. Omit for a successful use. |
| pending_feedback | array | Batch feedback for earlier retrieval_ids, committed independently before this action. Requires outcome:write; same actual-use feedback is safe to retry. No extra call quota. Omit unassessed results. |
{
"name": "engram_report_outcome",
"title": "Report Memory Outcome",
"description": "Record whether a recalled memory helped; returns a confirmation. Use its exact memory_id and evidence in detail. success=false may include failure_reason; outdated marks obsolete knowledge, while success raises confidence.\n\nUse retrieval_id to link a single outcome to its exact query, or outcomes for up to 20 exposure-specific evaluations. Initial relevance is separate from actual usefulness. not_used and not_evaluated do not change confidence. Identical explicit actual-use retries add no votes; changing an already recorded actual-use vote returns a conflict. Without retrieval_id, legacy latest-exposure attribution remains inferred and retries may add votes. Only accessible workspace/public memories may be reported. Use engram_store with supersedes_memory_ids for a verified replacement, or engram_reflect to batch milestone outcomes. Consumes workspace daily call quota. OAuth: outcome:write.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"repo": {
"type": "string",
"description": "Repository slug, e.g. engram or billing-api, within the authenticated workspace. This is a memory filter, not a filesystem path or workspace selector."
},
"detail": {
"type": "string",
"description": "Brief evidence of how the memory changed the decision, or why it failed. Exclude secrets."
},
"success": {
"type": "boolean",
"description": "Whether this memory helped the actual task: true for a useful application, false for a misleading or unusable result."
},
"outcomes": {
"type": "array",
"items": {
"type": "object",
"required": [
"retrieval_id",
"memory_id"
],
"properties": {
"detail": {
"type": "string",
"maxLength": 2000,
"description": "Non-sensitive evidence for the supplied relevance/usefulness assessment. Initial-fit notes are separate from actual-use evidence. Never include credentials or raw customer data."
},
"memory_id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Exact memory id included in this retrieval_id result list, not a repo, session id or memory text."
},
"relevance": {
"enum": [
"relevant",
"irrelevant",
"uncertain"
],
"type": "string",
"description": "Initial fit to that query, independent of whether the memory was used."
},
"usefulness": {
"enum": [
"helpful",
"unhelpful",
"not_used",
"not_evaluated"
],
"type": "string",
"description": "Actual use only. not_used/not_evaluated do not change confidence."
},
"retrieval_id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Exact retrieval_id returned with these memories; never substitute session_id."
},
"failure_reason": {
"enum": [
"outdated",
"wrong_context",
"incorrect",
"partial",
"other"
],
"type": "string",
"description": "Only with usefulness=unhelpful: outdated means obsolete, wrong_context means a poor query fit, incorrect means false, partial means partly useful."
}
},
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1,
"description": "Batch alternative to memory_id/success. Rate relevance separately from actual usefulness."
},
"memory_id": {
"type": "string",
"description": "Exact id from a recalled memory; do not substitute a repository name, URL, or the memory text."
},
"session_id": {
"type": "string",
"description": "Session where this memory was retrieved; used for outcome attribution, not to reopen or modify that journal. May be closed."
},
"retrieval_id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Exact exposure id for a single outcome. An identical explicit retry succeeds with duplicate=true and no extra vote; changing the committed vote returns 409. Omitting this uses legacy latest-exposure inference within 24 hours, whose retries may add votes."
},
"failure_reason": {
"enum": [
"outdated",
"wrong_context",
"incorrect",
"partial",
"other"
],
"type": "string",
"description": "Why an unsuccessful memory failed; outdated marks obsolete knowledge. Omit for a successful use."
},
"pending_feedback": {
"type": "array",
"items": {
"type": "object",
"required": [
"retrieval_id",
"memory_id"
],
"properties": {
"detail": {
"type": "string",
"maxLength": 2000,
"description": "Non-sensitive evidence for the supplied relevance/usefulness assessment. Initial-fit notes are separate from actual-use evidence. Never include credentials or raw customer data."
},
"memory_id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Exact memory id included in this retrieval_id result list, not a repo, session id or memory text."
},
"relevance": {
"enum": [
"relevant",
"irrelevant",
"uncertain"
],
"type": "string",
"description": "Initial fit to that query, independent of whether the memory was used."
},
"usefulness": {
"enum": [
"helpful",
"unhelpful",
"not_used",
"not_evaluated"
],
"type": "string",
"description": "Actual use only. not_used/not_evaluated do not change confidence."
},
"retrieval_id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Exact retrieval_id returned with these memories; never substitute session_id."
},
"failure_reason": {
"enum": [
"outdated",
"wrong_context",
"incorrect",
"partial",
"other"
],
"type": "string",
"description": "Only with usefulness=unhelpful: outdated means obsolete, wrong_context means a poor query fit, incorrect means false, partial means partly useful."
}
},
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1,
"description": "Batch feedback for earlier retrieval_ids, committed independently before this action. Requires outcome:write; same actual-use feedback is safe to retry. No extra call quota. Omit unassessed results."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"text",
"format",
"truncated"
],
"properties": {
"text": {
"type": "string",
"description": "The same bounded payload as content[0].text; interpret it using format. JSON text contains the endpoint-specific fields described by this tool."
},
"format": {
"enum": [
"markdown",
"json",
"text"
],
"type": "string",
"description": "Payload encoding: Markdown context/checkpoint, serialized JSON data, or plain confirmation text."
},
"memory_id": {
"type": "string",
"description": "Exact id returned by a single-memory store; use it for later recall/outcome/replacement/lifecycle operations. Not a grant of permission."
},
"truncated": {
"type": "boolean",
"description": "True when the payload exceeded 120,000 characters and was cut with a notice. Narrow the request; truncated JSON is not parseable."
},
"retrieval_id": {
"type": [
"string",
"null"
],
"description": "Exact committed retrieval exposure id, available even if the text is truncated. null means exact feedback unavailable."
},
"feedback_receipt": {
"description": "Acknowledgement for pending_feedback; independent of the main action."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}| include_public | boolean | Default true: supplement private results with public knowledge when needed. False searches only other private workspace repositories. |
| pending_feedback | array | Batch feedback for earlier retrieval_ids, committed independently before this action. Requires outcome:write; same actual-use feedback is safe to retry. No extra call quota. Omit unassessed results. |
{
"name": "engram_cross_pollinate",
"title": "Cross-Pollinate Knowledge",
"description": "Reuse a lesson solved in another repository before rebuilding a shared pattern. Unlike engram_recall or engram_smarter, this explicitly excludes target_repo from source searches and adds transfer lessons and quality gates. Returns Markdown with ranked memories and source repos from other authenticated workspace repositories, with optional public knowledge.\n\nsource_repos restricts the search; include_public supplements sparse private results. Records retrieval telemetry without copying knowledge. Consumes workspace daily call quota. OAuth: memory:read.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"target_repo",
"context"
],
"properties": {
"depth": {
"enum": [
"focused",
"deep"
],
"type": "string",
"description": "Default focused uses a small retrieval budget; deep expands it when focused results are insufficient. An explicit limit overrides the default budget."
},
"limit": {
"type": "number",
"maximum": 25,
"minimum": 1,
"description": "Maximum retrieved memories, 1–25. Omitted defaults: focused=5, deep=12; explicit values override these defaults."
},
"context": {
"type": "string",
"description": "Natural-language task and relevant facts, e.g. migrate our PostgreSQL schema with zero downtime. Never include credentials or raw customer data."
},
"session_id": {
"type": "string",
"description": "Exact journal id from start/rehydrate/list_sessions. Disambiguates parallel work; writing requires your active session. Rehydrate may read shared or closed history."
},
"target_repo": {
"type": "string",
"description": "Destination repository slug for the current work; memories from this repo are excluded from the source search."
},
"source_repos": {
"type": "array",
"items": {
"type": "string",
"description": "Source repository slug in this workspace."
},
"description": "Restrict source repositories to these slugs; omit or pass an empty array to search other repositories."
},
"include_public": {
"type": "boolean",
"description": "Default true: supplement private results with public knowledge when needed. False searches only other private workspace repositories."
},
"pending_feedback": {
"type": "array",
"items": {
"type": "object",
"required": [
"retrieval_id",
"memory_id"
],
"properties": {
"detail": {
"type": "string",
"maxLength": 2000,
"description": "Non-sensitive evidence for the supplied relevance/usefulness assessment. Initial-fit notes are separate from actual-use evidence. Never include credentials or raw customer data."
},
"memory_id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Exact memory id included in this retrieval_id result list, not a repo, session id or memory text."
},
"relevance": {
"enum": [
"relevant",
"irrelevant",
"uncertain"
],
"type": "string",
"description": "Initial fit to that query, independent of whether the memory was used."
},
"usefulness": {
"enum": [
"helpful",
"unhelpful",
"not_used",
"not_evaluated"
],
"type": "string",
"description": "Actual use only. not_used/not_evaluated do not change confidence."
},
"retrieval_id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Exact retrieval_id returned with these memories; never substitute session_id."
},
"failure_reason": {
"enum": [
"outdated",
"wrong_context",
"incorrect",
"partial",
"other"
],
"type": "string",
"description": "Only with usefulness=unhelpful: outdated means obsolete, wrong_context means a poor query fit, incorrect means false, partial means partly useful."
}
},
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1,
"description": "Batch feedback for earlier retrieval_ids, committed independently before this action. Requires outcome:write; same actual-use feedback is safe to retry. No extra call quota. Omit unassessed results."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"text",
"format",
"truncated"
],
"properties": {
"text": {
"type": "string",
"description": "The same bounded payload as content[0].text; interpret it using format. JSON text contains the endpoint-specific fields described by this tool."
},
"format": {
"enum": [
"markdown",
"json",
"text"
],
"type": "string",
"description": "Payload encoding: Markdown context/checkpoint, serialized JSON data, or plain confirmation text."
},
"memory_id": {
"type": "string",
"description": "Exact id returned by a single-memory store; use it for later recall/outcome/replacement/lifecycle operations. Not a grant of permission."
},
"truncated": {
"type": "boolean",
"description": "True when the payload exceeded 120,000 characters and was cut with a notice. Narrow the request; truncated JSON is not parseable."
},
"retrieval_id": {
"type": [
"string",
"null"
],
"description": "Exact committed retrieval exposure id, available even if the text is truncated. null means exact feedback unavailable."
},
"feedback_receipt": {
"description": "Acknowledgement for pending_feedback; independent of the main action."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| Exact journal id from start/rehydrate/list_sessions. Disambiguates parallel work; writing requires your active session. Rehydrate may read shared or closed history. |
| include_skills | boolean | Include relevant procedural checklists. If omitted, the server infers this from task/context keywords; false suppresses checklists. |
| pending_feedback | array | Batch feedback for earlier retrieval_ids, committed independently before this action. Requires outcome:write; same actual-use feedback is safe to retry. No extra call quota. Omit unassessed results. |
{
"name": "engram_smarter",
"title": "Load Task Context",
"description": "Brief a materially different task within the same session. Unlike engram_recall, this combines goal-focused memories with optional procedural checklists; unlike engram_get_context, it ranks evidence for the task instead of returning category samples. Returns Markdown with ranked workspace/public memory and retrieval hints. Use engram_start to begin work and engram_rehydrate for lost context.\n\nExample: {\"repo\":\"engram\",\"context\":\"Improve public-page delivery on Netlify while preserving localized SEO and onboarding.\"}. context states the whole goal; repo/file focus retrieval without reading local files. limit overrides depth; include_skills=false suppresses checklists. Records retrieval/session telemetry without editing knowledge. Consumes workspace daily call quota. OAuth: memory:read.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"context"
],
"properties": {
"file": {
"type": "string",
"description": "File path/name used only as a search hint, e.g. src/auth.ts. Engram does not read or modify local files."
},
"repo": {
"type": "string",
"description": "Repository slug, e.g. engram or billing-api, within the authenticated workspace. This is a memory filter, not a filesystem path or workspace selector."
},
"depth": {
"enum": [
"focused",
"deep"
],
"type": "string",
"description": "Default focused uses a small retrieval budget; deep expands it when focused results are insufficient. An explicit limit overrides the default budget."
},
"limit": {
"type": "number",
"maximum": 30,
"minimum": 1,
"description": "Maximum retrieved memories, 1–30. Omitted defaults: focused=5, deep=12; explicit values override these defaults."
},
"context": {
"type": "string",
"description": "Natural-language task and relevant facts, e.g. migrate our PostgreSQL schema with zero downtime. Never include credentials or raw customer data."
},
"session_id": {
"type": "string",
"description": "Exact journal id from start/rehydrate/list_sessions. Disambiguates parallel work; writing requires your active session. Rehydrate may read shared or closed history."
},
"include_skills": {
"type": "boolean",
"description": "Include relevant procedural checklists. If omitted, the server infers this from task/context keywords; false suppresses checklists."
},
"pending_feedback": {
"type": "array",
"items": {
"type": "object",
"required": [
"retrieval_id",
"memory_id"
],
"properties": {
"detail": {
"type": "string",
"maxLength": 2000,
"description": "Non-sensitive evidence for the supplied relevance/usefulness assessment. Initial-fit notes are separate from actual-use evidence. Never include credentials or raw customer data."
},
"memory_id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Exact memory id included in this retrieval_id result list, not a repo, session id or memory text."
},
"relevance": {
"enum": [
"relevant",
"irrelevant",
"uncertain"
],
"type": "string",
"description": "Initial fit to that query, independent of whether the memory was used."
},
"usefulness": {
"enum": [
"helpful",
"unhelpful",
"not_used",
"not_evaluated"
],
"type": "string",
"description": "Actual use only. not_used/not_evaluated do not change confidence."
},
"retrieval_id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Exact retrieval_id returned with these memories; never substitute session_id."
},
"failure_reason": {
"enum": [
"outdated",
"wrong_context",
"incorrect",
"partial",
"other"
],
"type": "string",
"description": "Only with usefulness=unhelpful: outdated means obsolete, wrong_context means a poor query fit, incorrect means false, partial means partly useful."
}
},
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1,
"description": "Batch feedback for earlier retrieval_ids, committed independently before this action. Requires outcome:write; same actual-use feedback is safe to retry. No extra call quota. Omit unassessed results."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"text",
"format",
"truncated"
],
"properties": {
"text": {
"type": "string",
"description": "The same bounded payload as content[0].text; interpret it using format. JSON text contains the endpoint-specific fields described by this tool."
},
"format": {
"enum": [
"markdown",
"json",
"text"
],
"type": "string",
"description": "Payload encoding: Markdown context/checkpoint, serialized JSON data, or plain confirmation text."
},
"memory_id": {
"type": "string",
"description": "Exact id returned by a single-memory store; use it for later recall/outcome/replacement/lifecycle operations. Not a grant of permission."
},
"truncated": {
"type": "boolean",
"description": "True when the payload exceeded 120,000 characters and was cut with a notice. Narrow the request; truncated JSON is not parseable."
},
"retrieval_id": {
"type": [
"string",
"null"
],
"description": "Exact committed retrieval exposure id, available even if the text is truncated. null means exact feedback unavailable."
},
"feedback_receipt": {
"description": "Acknowledgement for pending_feedback; independent of the main action."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| string |
| Calling client name for attribution, e.g. codex, claude-code, cursor, or gemini. Omit if unknown. |
| session_id | string | Exact journal id from start/rehydrate/list_sessions. Disambiguates parallel work; writing requires your active session. Rehydrate may read shared or closed history. |
| used_memories | array | Actual-use outcomes. Supply retrieval_id on every item for an atomic exact batch of up to 20; do not mix exact and legacy items. Exact outcomes commit independently before other reflection work and return feedback_receipt even on later errors. Legacy items omit all retrieval_ids and process the firs… |
| pending_feedback | array | Batch feedback for earlier retrieval_ids, committed independently before this action. Requires outcome:write; same actual-use feedback is safe to retry. No extra call quota. Omit unassessed results. |
{
"name": "engram_reflect",
"title": "Create Memory Checkpoint",
"description": "Checkpoint a milestone or handoff for later recovery with engram_rehydrate. Supply at least one of summary, learnings, used_memories or feedback. Returns Markdown with stored/skipped counts, outcomes and next actions. Use engram_store for one lesson and engram_report_outcome for one outcome.\n\nstore=false skips learning storage only: the journal and supplied outcomes/feedback can still be written. This checkpoint leaves the session open. Retrying may duplicate writes; verify prior success first. Consumes workspace daily call quota and memory quota for saved lessons. OAuth: session:write, memory:write and outcome:write.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"repo": {
"type": "string",
"description": "Repository slug, e.g. engram or billing-api, within the authenticated workspace. This is a memory filter, not a filesystem path or workspace selector."
},
"task": {
"type": "string",
"description": "Concrete current goal or decision, e.g. diagnose checkout retries; used to focus context and session recovery."
},
"store": {
"type": "boolean",
"description": "Default true saves accepted durable learnings; false skips learning storage only. Session checkpoints, supplied outcomes and feedback are still recorded."
},
"summary": {
"type": "string",
"description": "Milestone/handoff summary: what changed, evidence, decisions and remaining work. Required unless learnings, outcomes or feedback are supplied."
},
"feedback": {
"type": "object",
"properties": {
"notes": {
"type": "string",
"description": "Concrete non-sensitive feedback explaining the selected signal."
},
"signal": {
"enum": [
"useful",
"noisy",
"stale",
"missing_context",
"too_long"
],
"type": "string",
"description": "Quality of Engram retrieval during this work; omit if only dismissing the feedback pulse."
},
"dismiss": {
"type": "boolean",
"description": "True permanently dismisses the optional weekly feedback pulse for this agent member."
}
},
"description": "Optional product feedback or feedback-pulse dismissal; separate from outcomes about individual memories."
},
"learnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"content"
],
"properties": {
"tags": {
"type": "array",
"items": {
"type": "string",
"description": "Searchable topic label, e.g. oauth or postgres."
},
"description": "Topic labels for storing or filtering memory; omit when no useful labels apply."
},
"type": {
"enum": [
"CONVENTION",
"PATTERN",
"GOTCHA",
"SOLUTION",
"ARCHITECTURE",
"DEPENDENCY"
],
"type": "string",
"description": "Knowledge category: team rule, reusable pattern, pitfall, proven fix, design decision, or library/version quirk."
},
"claim": {
"type": "object",
"required": [
"kind"
],
"properties": {
"kind": {
"enum": [
"rule",
"decision",
"state",
"lesson",
"reference"
],
"type": "string",
"description": "Independently maintained knowledge: lasting instruction, product choice, dated operational state, reusable lesson, or source reference."
},
"stage": {
"enum": [
"proposed",
"implemented",
"tested",
"deployed"
],
"type": "string",
"description": "For a state claim, the exact stage observed. Tested does not imply deployed."
},
"evidence": {
"type": "string",
"maxLength": 1000,
"minLength": 1,
"description": "Non-sensitive source, test receipt or commit/deployment reference. Agent-provided evidence is not independently verified by Engram."
},
"observed_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"description": "When the claim was observed, including timezone. Required for state; never infer this from storage or helpful feedback."
},
"review_after": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"description": "Optional time to request rechecking this claim; never automatically expires an owner instruction."
}
},
"description": "Declared knowledge kind and optional observation/evidence metadata. State needs stage and observed_at; tested/deployed also need evidence. This metadata does not establish current truth or human authority.",
"additionalProperties": false
},
"content": {
"type": "string",
"maxLength": 20000,
"minLength": 1,
"description": "One independently changeable claim with its necessary rationale. Separate rules, decisions, implementation, tests and deployment status; never bundle a session report into one memory."
},
"context": {
"type": "object",
"description": "Non-sensitive supporting metadata, e.g. {language: \"typescript\", component: \"auth\"}; never credentials or raw customer data.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
}
},
"description": "Durable private workspace lessons to persist when store=true; only the first 8 are processed. Low-quality entries may be skipped. The summary remains a journal checkpoint."
},
"agent_tool": {
"type": "string",
"description": "Calling client name for attribution, e.g. codex, claude-code, cursor, or gemini. Omit if unknown."
},
"session_id": {
"type": "string",
"description": "Exact journal id from start/rehydrate/list_sessions. Disambiguates parallel work; writing requires your active session. Rehydrate may read shared or closed history."
},
"used_memories": {
"type": "array",
"items": {
"type": "object",
"required": [
"memory_id",
"success"
],
"properties": {
"detail": {
"type": "string",
"description": "Brief evidence of how the memory changed the decision, or why it failed. Exclude secrets."
},
"success": {
"type": "boolean",
"description": "Whether this memory helped the actual task: true for a useful application, false for a misleading or unusable result."
},
"memory_id": {
"type": "string",
"description": "Exact id from a recalled memory; do not substitute a repository name, URL, or the memory text."
},
"retrieval_id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Exact retrieval_id returned with a result list, distinct from the journal session_id. Links this evaluation to that particular query exposure."
},
"failure_reason": {
"enum": [
"outdated",
"wrong_context",
"incorrect",
"partial",
"other"
],
"type": "string",
"description": "Why an unsuccessful memory failed; outdated marks obsolete knowledge. Omit for a successful use."
}
}
},
"description": "Actual-use outcomes. Supply retrieval_id on every item for an atomic exact batch of up to 20; do not mix exact and legacy items. Exact outcomes commit independently before other reflection work and return feedback_receipt even on later errors. Legacy items omit all retrieval_ids and process the first 20. Omit when none were applied."
},
"pending_feedback": {
"type": "array",
"items": {
"type": "object",
"required": [
"retrieval_id",
"memory_id"
],
"properties": {
"detail": {
"type": "string",
"maxLength": 2000,
"description": "Non-sensitive evidence for the supplied relevance/usefulness assessment. Initial-fit notes are separate from actual-use evidence. Never include credentials or raw customer data."
},
"memory_id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Exact memory id included in this retrieval_id result list, not a repo, session id or memory text."
},
"relevance": {
"enum": [
"relevant",
"irrelevant",
"uncertain"
],
"type": "string",
"description": "Initial fit to that query, independent of whether the memory was used."
},
"usefulness": {
"enum": [
"helpful",
"unhelpful",
"not_used",
"not_evaluated"
],
"type": "string",
"description": "Actual use only. not_used/not_evaluated do not change confidence."
},
"retrieval_id": {
"type": "string",
"maxLength": 128,
"minLength": 1,
"description": "Exact retrieval_id returned with these memories; never substitute session_id."
},
"failure_reason": {
"enum": [
"outdated",
"wrong_context",
"incorrect",
"partial",
"other"
],
"type": "string",
"description": "Only with usefulness=unhelpful: outdated means obsolete, wrong_context means a poor query fit, incorrect means false, partial means partly useful."
}
},
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1,
"description": "Batch feedback for earlier retrieval_ids, committed independently before this action. Requires outcome:write; same actual-use feedback is safe to retry. No extra call quota. Omit unassessed results."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"text",
"format",
"truncated"
],
"properties": {
"text": {
"type": "string",
"description": "The same bounded payload as content[0].text; interpret it using format. JSON text contains the endpoint-specific fields described by this tool."
},
"format": {
"enum": [
"markdown",
"json",
"text"
],
"type": "string",
"description": "Payload encoding: Markdown context/checkpoint, serialized JSON data, or plain confirmation text."
},
"memory_id": {
"type": "string",
"description": "Exact id returned by a single-memory store; use it for later recall/outcome/replacement/lifecycle operations. Not a grant of permission."
},
"truncated": {
"type": "boolean",
"description": "True when the payload exceeded 120,000 characters and was cut with a notice. Narrow the request; truncated JSON is not parseable."
},
"retrieval_id": {
"type": [
"string",
"null"
],
"description": "Exact committed retrieval exposure id, available even if the text is truncated. null means exact feedback unavailable."
},
"feedback_receipt": {
"description": "Acknowledgement for pending_feedback; independent of the main action."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}| Calling client name for attribution, e.g. codex, claude-code, cursor, or gemini. Omit if unknown. |
{
"name": "engram_setup",
"title": "Explain Engram Setup",
"description": "Explain onboarding and inspect the authenticated workspace when an agent needs setup guidance. Returns one JSON response with plan/counts/limits, tool groups, activation checklist and suggested calls; no pagination or installation.\n\nHints personalize examples: project names the work; repo scopes activation guidance, falling back to project when omitted. Does not configure the machine, open a working session or edit knowledge. Use engram_start to begin work, engram_rehydrate to recover it and engram_proof to audit adoption. Consumes workspace daily call quota; exhaustion requires reset or a plan change. OAuth: memory:read.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"repo": {
"type": "string",
"description": "Repository slug, e.g. engram or billing-api, within the authenticated workspace. This is a memory filter, not a filesystem path or workspace selector."
},
"role": {
"type": "string",
"description": "Agent responsibility used in task context, e.g. backend engineer. Start/setup default to implementation agent."
},
"task": {
"type": "string",
"description": "Concrete current goal or decision, e.g. diagnose checkout retries; used to focus context and session recovery."
},
"stack": {
"type": "array",
"items": {
"type": "string",
"description": "Technology name, e.g. TypeScript or PostgreSQL."
},
"description": "Project technologies used to focus context; omit when unknown."
},
"market": {
"type": "string",
"description": "Business/domain context, e.g. fintech or education; not a geographic access setting."
},
"project": {
"type": "string",
"description": "Product/project name for session context. Start/setup use it as the repository hint when repo is omitted."
},
"agent_tool": {
"type": "string",
"description": "Calling client name for attribution, e.g. codex, claude-code, cursor, or gemini. Omit if unknown."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"text",
"format",
"truncated"
],
"properties": {
"text": {
"type": "string",
"description": "The same bounded payload as content[0].text; interpret it using format. JSON text contains the endpoint-specific fields described by this tool."
},
"format": {
"enum": [
"markdown",
"json",
"text"
],
"type": "string",
"description": "Payload encoding: Markdown context/checkpoint, serialized JSON data, or plain confirmation text."
},
"memory_id": {
"type": "string",
"description": "Exact id returned by a single-memory store; use it for later recall/outcome/replacement/lifecycle operations. Not a grant of permission."
},
"truncated": {
"type": "boolean",
"description": "True when the payload exceeded 120,000 characters and was cut with a notice. Narrow the request; truncated JSON is not parseable."
},
"retrieval_id": {
"type": [
"string",
"null"
],
"description": "Exact committed retrieval exposure id, available even if the text is truncated. null means exact feedback unavailable."
},
"feedback_receipt": {
"description": "Acknowledgement for pending_feedback; independent of the main action."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| Calling client name for attribution, e.g. codex, claude-code, cursor, or gemini. Omit if unknown. |
{
"name": "engram_list_sessions",
"title": "List Sessions",
"description": "Find an exact session_id before recovery, closing or a handoff. Unlike engram_rehydrate, this lists bounded metadata without replaying journal content or changing a session. Returns JSON sessions with member/client attribution, status, activity and checkpoint availability, plus next_cursor.\n\nDefault scope=mine lists this member's sessions; scope=workspace explicitly includes teammates in the authenticated workspace. repo/status/agent_tool/member_id filter results; a teammate member_id requires workspace scope. limit defaults to 20, maximum 50. Pass next_cursor unchanged to continue newest-started-first pagination. Empty results are valid. Consumes daily call quota. OAuth: memory:read.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"repo": {
"type": "string",
"description": "Repository slug, e.g. engram or billing-api, within the authenticated workspace. This is a memory filter, not a filesystem path or workspace selector."
},
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Page size, default 20; from 1 to 50."
},
"scope": {
"enum": [
"mine",
"workspace"
],
"type": "string",
"description": "Default mine lists your sessions across clients; workspace includes shared teammate session metadata."
},
"cursor": {
"type": "string",
"maxLength": 512,
"description": "Opaque next_cursor from the prior response. Keep filters unchanged; omit for the first page."
},
"status": {
"enum": [
"active",
"closed"
],
"type": "string",
"description": "Filter journal state; omit to include both active and closed sessions."
},
"member_id": {
"type": "string",
"maxLength": 128,
"description": "Member id to filter; another member requires scope=workspace. This is a filter, not authorization."
},
"agent_tool": {
"type": "string",
"description": "Calling client name for attribution, e.g. codex, claude-code, cursor, or gemini. Omit if unknown."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"text",
"format",
"truncated"
],
"properties": {
"text": {
"type": "string",
"description": "The same bounded payload as content[0].text; interpret it using format. JSON text contains the endpoint-specific fields described by this tool."
},
"format": {
"enum": [
"markdown",
"json",
"text"
],
"type": "string",
"description": "Payload encoding: Markdown context/checkpoint, serialized JSON data, or plain confirmation text."
},
"memory_id": {
"type": "string",
"description": "Exact id returned by a single-memory store; use it for later recall/outcome/replacement/lifecycle operations. Not a grant of permission."
},
"truncated": {
"type": "boolean",
"description": "True when the payload exceeded 120,000 characters and was cut with a notice. Narrow the request; truncated JSON is not parseable."
},
"retrieval_id": {
"type": [
"string",
"null"
],
"description": "Exact committed retrieval exposure id, available even if the text is truncated. null means exact feedback unavailable."
},
"feedback_receipt": {
"description": "Acknowledgement for pending_feedback; independent of the main action."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}{
"name": "engram_delete_memory",
"title": "Preview or Delete Memory",
"description": "Preview or permanently erase one private memory and its explicit derived patterns from the live database. Unlike engram_retract_memory, execution cannot be undone. Requires a human workspace OWNER API key; OAuth agents and member keys cannot erase. Does not delete independent memories or unrelated sessions.\n\nDefault dry_run=true returns counts, derived IDs, affected session IDs (first 50), scope and confirmation. Inspect it first: execution redacts the entire free-text history/checkpoints/task/context of referencing sessions, plus associated outcomes, links, jobs and linked evidence; shared entities remain if still referenced. Execute only the reviewed ID using dry_run=false and confirmation=\"delete:<memory_id>\". Returns erased_at/counts; repeated execution returns the original minimal ID/count receipt without erased text (a one-way content fingerprint blocks exact store replays). In-flight background writes and exact store retries cannot repopulate erased knowledge. Historical unlinked paraphrases, already delivered client context, application/provider logs, provider copies and backups are outside this live-database operation. Public-bank records are excluded. Consumes daily call quota.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"memory_id"
],
"properties": {
"dry_run": {
"type": "boolean",
"description": "Default true previews impact without changing knowledge. False executes only with the exact confirmation string and human OWNER authority."
},
"memory_id": {
"type": "string",
"description": "Exact id from a recalled memory; do not substitute a repository name, URL, or the memory text."
},
"confirmation": {
"type": "string",
"maxLength": 135,
"description": "For execution only: copy delete:<exact memory_id> from the preview. Omit for preview; never substitute a repo name."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"text",
"format",
"truncated"
],
"properties": {
"text": {
"type": "string",
"description": "The same bounded payload as content[0].text; interpret it using format. JSON text contains the endpoint-specific fields described by this tool."
},
"format": {
"enum": [
"markdown",
"json",
"text"
],
"type": "string",
"description": "Payload encoding: Markdown context/checkpoint, serialized JSON data, or plain confirmation text."
},
"memory_id": {
"type": "string",
"description": "Exact id returned by a single-memory store; use it for later recall/outcome/replacement/lifecycle operations. Not a grant of permission."
},
"truncated": {
"type": "boolean",
"description": "True when the payload exceeded 120,000 characters and was cut with a notice. Narrow the request; truncated JSON is not parseable."
},
"retrieval_id": {
"type": [
"string",
"null"
],
"description": "Exact committed retrieval exposure id, available even if the text is truncated. null means exact feedback unavailable."
},
"feedback_receipt": {
"description": "Acknowledgement for pending_feedback; independent of the main action."
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}