Skip to main content
Glama
AliYar-Khan

light-agent-memory-mcp-server

by AliYar-Khan

light-agent-memory-mcp-server

MCP server for persistent agent memory — projects, preferences, and session learnings stored in a local SQLite database.

Harness-agnostic. Works with any MCP-compatible client: opencode, Claude Desktop, Cursor, Windsurf, etc.

Install

npm install -g light-agent-memory-mcp-server

Or use directly with npx (no install needed):

npx light-agent-memory-mcp-server

Related MCP server: tartarus-mcp

Configure

Add to your MCP client's config:

opencode (~/.config/opencode/opencode.json):

{
  "mcp": {
    "memory": {
      "type": "local",
      "command": ["npx", "-y", "light-agent-memory-mcp-server"],
      "enabled": true
    }
  }
}

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "memory": {
      "command": "npx",
      "args": ["-y", "light-agent-memory-mcp-server"]
    }
  }
}

Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "memory": {
      "command": "npx",
      "args": ["-y", "light-agent-memory-mcp-server"]
    }
  }
}

Custom database path

npx light-agent-memory-mcp-server --db /path/to/custom.db

Tools

Project Memory

Tool

Description

memory_project_save

Save/update project context (tech stack, architecture, conventions)

memory_project_get

Get project details by name

memory_project_list

List all saved projects

Preference Memory

Tool

Description

memory_pref_save

Save/update a personal coding preference

memory_pref_get

Get a preference by key

memory_pref_list

List preferences (optionally filtered by category)

Learning Memory

Tool

Description

memory_learning_save

Record a session learning (solution, insight, bug note)

memory_learning_search

Search learnings by keyword

Generic

Tool

Description

memory_save

Unified save (auto-routes by type)

memory_search

Cross-type search by keyword

memory_delete

Delete a memory by type and ID

memory_list

List all memories with pagination and stats

Examples

Save a project:

memory_project_save({
  name: "my-app",
  path: "/home/user/projects/my-app",
  tech_stack: ["TypeScript", "React", "SQLite"],
  architecture: "Monorepo with pnpm workspaces, plugin-based architecture",
  conventions: "ESM-only, strict TypeScript, no comments in code"
})

Save a preference:

memory_pref_save({
  key: "language.typescript.style",
  value: "Always use ESM imports, strict mode, and prefer readonly types",
  category: "language"
})

Record a learning:

memory_learning_save({
  title: "Fix SQLite WAL mode deadlock",
  content: "When using WAL mode in SQLite, set busy_timeout to 5000ms to avoid SQLITE_BUSY errors under concurrent reads.",
  project_name: "my-app",
  tags: ["sqlite", "debugging", "concurrency"]
})

Search all memories:

memory_search({ query: "SQLite" })

Database

Data is stored in ~/.agent-memory/memory.db by default (SQLite via Node.js built-in node:sqlite). The database is created automatically on first run.

Schema

  • projectsid, name (unique), path, tech_stack (JSON), architecture, conventions, notes, timestamps

  • preferencesid, key (unique), value, category, timestamps

  • learningsid, title, content, project_name, tags (JSON), timestamps

Development

git clone https://github.com/AliYar-Khan/light-agent-memory-mcp-server.git
cd light-agent-memory-mcp-server
npm install
npm run build
npm run dev  # runs with tsx, no build step

License

MIT

Available Tools

12 tools
memory_deleteDelete MemoryA
DestructiveIdempotent

Delete a specific memory by type and ID.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYesMemory ID to delete
typeYesMemory type

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The annotations already declare destructiveHint: true, readOnlyHint: false, and idempotentHint: true, so the behavioral safety profile is covered by structured metadata. The description itself adds no extra behavioral detail about permanence, error behavior, or side effects, but it also does not contradict the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence with no filler. It names the operation, target, and parameters compactly, earning its place without redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter destructive operation with useful annotations already present, the description is largely complete. It could mention what the tool returns or what happens when the memory does not exist, but the simplicity of the operation makes the absence a minor gap rather than a significant one.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, and the schema already documents both parameters adequately: id is a UUID and type is an enum of project/preference/learning. The description repeats the 'type and ID' concept but contributes little beyond what the schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Delete') and resource ('memory') and identifies the exact identifier needed: type and ID. It clearly stands apart from the sibling save/get/search/list tools, which are all non-destructive operations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The intended use is clear: call this when a specific memory should be removed using its type and ID. It does not explicitly name alternatives or exclusion cases, but the delete action is unambiguous enough that an agent can readily infer when to invoke it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

memory_learning_saveSave LearningA

Record a session learning — solutions discovered, bugs encountered, insights gained.

ParametersJSON Schema
NameRequiredDescriptionDefault
tagsNoTags for categorization (e.g. ['debugging', 'performance'])
titleYesShort description of the learning
contentYesDetailed notes about what was learned
project_nameNoAssociated project name (optional)

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotation shows this is a mutating, non-idempotent, non-destructive operation. The description adds what kinds of learning should be captured without claiming destructive effects, but it does not disclose whether repeated calls create new records or overwrite existing ones.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short, dense sentence carries all the essential purpose and content guidance. No filler, no repetition of schema information, and the central action verb is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple, has fully documented parameters, and the annotations declare the mutating but non-destructive custom strength. With no output schema, the description does not need to explain return values; the one meaningful gap is explicit caller guidance for distinguishing this tool from memory_save.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, and each parameter already has a meaningful description. The tool description provides illustrative examples of what the content might include, but it does not add additional semantic constraints beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses the specific verb 'Record' on the resource 'session learning' and includes concrete content examples such as solutions, bugs, and insights. It is clear and distinct from sibling save tools for projects/preferences, though it does not explicitly name an alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The sentence signals when to use it: after a session a learning should be recorded. The domain terminology and sibling set make the intended use obvious, but there is no explicit when not to use this tool or a named alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

memory_listList All MemoriesA
Read-onlyIdempotent

List all stored memories with optional type filter, pagination, and stats.

ParametersJSON Schema
NameRequiredDescriptionDefault
typeNoFilter by memory type
limitNoMax results
offsetNoOffset

TDQS

A3.8/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare the tool read-only, idempotent, and non-destructive, so the safety profile is covered. The description adds useful behavioral context by mentioning optional type filtering, pagination, and stats, which go beyond the schema and clarify what the call returns.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single efficient sentence with the main action front-loaded and optional capabilities listed compactly. Every phrase carries useful information and there is no filler or redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only tool with no required parameters and fully documented input parameters, this is a sufficient definition. The main gap is that "stats" is not explained and the response payload is not described, but the high schema/annotation coverage keeps the description reasonably complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so all three parameters are already documented in the input schema (type, limit, offset). The description's mention of "type filter" and "pagination" adds only general framing—it does not provide meaningful detail beyond what the schema already states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action ("List"), a clear resource ("all stored memories"), and the key optional capabilities (type filter, pagination, stats). It is easily distinguishable from save/get/delete/search siblings, though it does not explicitly contrast with the type-specific list siblings such as memory_project_list.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase "all stored memories" with an optional type filter implies this is the general listing tool, but it does not explicitly say when to use this tool instead of memory_search or the type-specific list tools. The intended usage is inferable, but not clearly stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

memory_pref_getGet PreferenceA
Read-onlyIdempotent

Retrieve a specific preference by key.

ParametersJSON Schema
NameRequiredDescriptionDefault
keyYesPreference key to retrieve

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds no further behavioral detail (e.g., missing-key behavior, return format), but it does not contradict annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence: 'Retrieve a specific preference by key.' It contains the essential verb, resource, and scoping detail with zero filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's low complexity—one required parameter, full schema coverage, and readOnly/idempotent annotations—the description is enough to guide correct invocation. The return format is not detailed, but for a simple get-by-key operation the return can be reasonably inferred as the preference.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the only parameter 'key' is described as 'Preference key to retrieve'. The description's phrase 'by key' restates the schema rather than adding new meaning, so it meets the baseline without exceeding it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a clear action and resource: 'Retrieve' a specific preference by key. This distinguishes it from list or search siblings by emphasizing a single preference and key-based lookup, though it does not explicitly name related alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is implied rather than explicitly stated: use this tool when you know a preference key and want its value. No explicit when-to-use versus sibling tools like memory_pref_list or memory_pref_save is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

memory_pref_listList PreferencesA
Read-onlyIdempotent

List all saved preferences, optionally filtered by category.

ParametersJSON Schema
NameRequiredDescriptionDefault
categoryNoFilter by category

TDQS

A3.9/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover readOnlyHint, idempotentHint, and destructiveHint, so the description does not need to restate safety. It adds the scope 'all saved preferences' and the optional category filter, but it does not disclose behavior such as pagination, ordering, or return format. This is acceptable but not rich.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single concise sentence with no filler. It front-loads the core action and resource, then adds the optional qualifier. Every part is necessary.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple, read-only list tool with one optional parameter, full schema coverage, and no output schema, the description is complete enough for an agent to understand when to call it and what it does. No critical call-time information appears to be missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already covers the only parameter, category, with 'Filter by category,' and schema description coverage is 100%. The description adds no additional meaning about format, allowed values, or behavior of the category parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description states a specific operation ('List') and resource ('saved preferences'), and notes the optional category filter. This is enough to distinguish it from siblings like memory_pref_get, memory_pref_save, and memory_list.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly conveys that the tool lists preferences and may filter by category, but it does not explicitly contrast it with alternatives such as memory_pref_get for a single preference or memory_list for non-preference memory entries. Usage is mostly implied rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

memory_pref_saveSave PreferenceA
Idempotent

Save or update a personal coding preference — style, tools, workflow patterns.

ParametersJSON Schema
NameRequiredDescriptionDefault
keyYesPreference key (e.g. 'language.typescript.style')
valueYesPreference value
categoryNoCategory (e.g. 'language', 'tool', 'workflow')

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already provide idempotentHint=true, destructiveHint=false, so the description does not contradict and needs less behavioral detail. It adds that the operation can 'update' an existing preference, but does not explain overwrite visibility, validation, or persistence behavior beyond that.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is one focused, front-loaded sentence with no redundant wording or unnecessary examples. It reads quickly and tells an agent what the tool does in one pass.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-parameter save tool with no output schema, the description plus schema are mostly sufficient. The only real gap is the lack of explicit 'when to use this over sibling memory tools' guidance, but most of the structural needs are covered by the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Input schema coverage is 100%, with meaningful descriptions for key, value, and category. The description only reinforces those domains without adding new parameter-specific guidance beyond what the schema already states. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Save or update') and names the resource ('personal coding preference') with illustrative examples ('style, tools, workflow patterns'). This clearly separates it from project or learning memory tools and makes its purpose immediately identifiable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies the tool is for personal coding preferences but does not explicitly state when to use it over generic memory_save or other sibling tools. No when-not conditions or alternative routing is provided, so guidance is limited.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

memory_project_getGet ProjectA
Read-onlyIdempotent

Retrieve saved context for a specific project by name.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameYesProject name to retrieve

TDQS

A3.6/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds no behavioral context beyond what the title and annotations already imply; it does not mention error cases, missing project behavior, or any side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One sentence, no filler, and the core action is front-loaded. Every word contributes to understanding the purpose and input.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is a simple single-parameter read-only getter with complete schema and annotations. The description is sufficient for an agent to call it correctly. It does not describe the response shape or not-found behavior, but these are minor given the tool's simplicity and lack of output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the 'name' parameter is fully documented as 'Project name to retrieve'. The description only restates this as 'by name' and adds no additional semantic detail, so it meets the baseline without meaningfully extending the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a clear verb ('Retrieve'), a specific resource ('saved context for a specific project'), and a selection criterion ('by name'). It clearly differentiates this from memory_project_list (all projects) and memory_project_save (write operation), so an agent can distinguish it without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage when you need a single project by name, but it does not explicitly state when to use this tool versus siblings like memory_project_list or memory_project_save. There is no explicit when/when-not guidance or reference to alternatives, so the guidance is only implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

memory_project_listList ProjectsA
Read-onlyIdempotent

List all saved projects.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The annotations already declare read-only, idempotent, and non-destructive behavior, so the description need not repeat safety semantics. It adds 'all saved projects' as scope, but stops short of documenting output shape, ordering, or pagination; given the annotation coverage, this is acceptable but not rich.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The entire description is one clear sentence with no filler. It is appropriately sized for a simple, parameterless listing tool and front-loads the action immediately.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter, read-only operation, the schema and annotations supply most of the necessary context. The absence of an output schema leaves return values slightly underspecified, though 'list' strongly implies a collection, so the gap is minor.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has zero properties and 100% schema description coverage, so there are no parameters to document. This matches the baseline expectation: the description adds nothing more than the schema already handles.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('List') and identifies the exact resource ('all saved projects'), making the tool's purpose unmistakable. The 'projects' scope also distinguishes it from memory_pref, memory_learning, and the generic memory tools among the siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No usage guidance is provided about when to choose this tool over the many alternatives. Only an implicit use case exists—listing projects—with no mention of exclusions or conditions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

memory_project_saveSave ProjectA
Idempotent

Save or update project context — tech stack, architecture, conventions, and notes.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameYesUnique project name (e.g. 'my-app')
pathNoFilesystem path to the project root
notesNoGeneral notes about the project
tech_stackNoTechnologies used (e.g. ['TypeScript', 'SQLite', 'React'])
conventionsNoCoding conventions and patterns
architectureNoArchitecture notes

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already establish that this is not read-only, is idempotent, and is not destructive. The description adds some useful nuance with 'save or update', indicating an upsert-like behavior, but it does not disclose whether updating an existing project merges fields, overwrites them, or handles omitted fields in a particular way.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single efficient sentence with the key action and resource front-loaded. Every word earns its place; no repetition, filler, or unnecessary abstraction.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description is reasonably complete for a simple parameter-rich, schema-covered save operation, especially with idempotentHint available. However, the lack of update semantics details, such as whether existing fields are merged or replaced, and the absence of any mention of path or project identity behavior, leave some ambiguity for an agent making corrective updates.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the input schema already documents name, path, notes, tech_stack, conventions, and architecture. The description only re-lists a few of those fields at a high level and does not add meaning beyond what the schema already provides. This maps to the baseline of 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description has a specific action ('Save or update') and a clear resource ('project context'), plus an explicit list of the stored content areas: tech stack, architecture, conventions, and notes. The 'project' framing distinguishes this from sibling memory tools such as memory_pref_save, memory_learning_save, and general memory_save.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'project context' wording implies this tool is for project-specific memory rather than preferences or learnings, but it does not explicitly say when to choose this tool over memory_save, memory_project_get, or other siblings. There are no alternatives, caveats, or when-not-to-use conditions given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

memory_saveSave MemoryA

Unified save — automatically routes to the correct table based on type. Use data fields matching the type: project (name, path, tech_stack, architecture, conventions, notes), preference (key, value, category), or learning (title, content, project_name, tags).

ParametersJSON Schema
NameRequiredDescriptionDefault
dataYesMemory data (matches the type's schema)
typeYesMemory type to save

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already signal this is not read-only, not idempotent, and not destructive, and the description complements them by explaining that the tool automatically routes to the correct table, which is behavior beyond the schema. It does not detail overwrites/conflict behavior, but the annotations give baseline coverage and the description adds useful routing context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with no filler. The purpose and routing behavior are front-loaded, and the per-type field mappings are compact enough to be quickly scanned and acted on.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a save/routing tool with only two parameters, it covers what types are accepted, which fields apply, and the automatic routing behavior. A return-value mention would be helpful, but the absence is not surprising for a save operation without an output schema, and siblings provide more specialized endpoints if finer detail is needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already documents 'type' and 'data', and the description meaningfully enriches 'data' by enumerating valid field groups per type: project, preference, and learning. It doesn't specify required vs optional field semantics, but it gives an agent the key content expectations that the schema leaves open.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('save') and a clear resource, and underscores its distinct role by calling itself a 'Unified save' that routes to the correct table based on type. This makes it easy to distinguish from the per-type sibling tools such as memory_project_save and memory_learning_save.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It clearly communicates how to use the tool: provide a type and data matching that type, and it lists the expected fields for each type. It lacks an explicit 'use this instead of X when...' statement against the sibling tools, but the 'Unified save' framing gives enough context for an agent to infer this is the central routing alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 12 tool updatesv1.0.0
    • First observedmemory_delete
    • First observedmemory_learning_save
    • First observedmemory_learning_search
    • First observedmemory_list
    • First observedmemory_pref_get
    • First observedmemory_pref_list
    • First observedmemory_pref_save
    • First observedmemory_project_get
    • First observedmemory_project_list
    • First observedmemory_project_save
    • First observedmemory_save
    • First observedmemory_search

TDQS

A3.7/5.0

Scored across 12 tools

Disambiguation3/5

The type-specific tools (project/pref/learning) are fairly distinct, but the generic memory_save, memory_search, and memory_list overlap with specialized equivalents like memory_project_save, memory_learning_search, and memory_project_list. The descriptions clarify the generic vs. specific distinction, but an agent still faces multiple paths to accomplish the same operation.

Naming Consistency4/5

Tool names consistently use a memory_ prefix and mostly follow a memory_<type>_<action> pattern. Minor inconsistencies exist: 'search' is used for learning where 'list' or 'get' might be expected, and the top-level memory_save/memory_search/memory_delete/memory_list deviate from the type-specific naming pattern.

Tool Count4/5

Twelve tools is reasonable for a memory system covering projects, preferences, and learnings. The count is slightly inflated by the generic memory_* tools that duplicate type-specific functionality, but overall the server remains well-scoped and navigable.

Completeness4/5

The server covers create, read, list, search, and delete across all memory types, either through type-specific or generic tools. Minor gaps exist—learning has no direct get-by-ID function, and deletion is only exposed through the generic memory_delete—but common workflows can be completed with existing tools.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides persistent, local-first AI memory across sessions via MCP tools for storing, searching, and retrieving context from past interactions.
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    A local-first MCP memory server providing persistent, searchable memory for AI agents, powered by SQLite.
    1 npm
    1
    Apache 2.0
  • A
    license
    Not graded
    quality
    A
    maintenance
    Provides persistent memory for AI coding agents via MCP, enabling agents to store and semantically recall facts, events, and lessons across sessions, all running locally without cloud dependencies.
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Persistent memory for AI coding agents. Enables agents to save and recall decisions, patterns, bugs, and context across sessions via an MCP server with local SQLite storage.
    4 npm
    2
    MIT