Skip to main content
Glama
Zehee

Kimi Code Memory MCP Server

by Zehee

remember

Write or overwrite structured Markdown memory entries with YAML frontmatter to store decisions, rules, knowledge, and references, preserving context across coding sessions.

Instructions

Write or overwrite a memory entry as a Markdown file with YAML frontmatter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesUnique identifier used as filename base
tagsNoTags stored in YAML frontmatter
folderNoSubfolder under the workspace (default: memory)
themesNoOptional theme names to associate with this memory
contentNoMarkdown body content. For decisions include rationale, impact, and related files. For rules include scope and consequence. For knowledge include scenario and related files/interfaces. For references include URL and relevance. Example decision: "# Use SQLite\n\n## Rationale\n- Single-file deployment\n- No extra service\n\n## Impact\nAll cache reads/writes go through src/cache.js.\n\n## Related files\nsrc/cache.js, docs/cache.md"

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.4.2

TDQS

A3.7/5.0
Behavior3/5

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

Annotations are absent, so the description carries the full disclosure burden. It does disclose the mutation and destructive-overwrite behavior ('Write or overwrite') and the file format, which is genuinely useful context an agent cannot get elsewhere. However, it does not state what happens to an existing entry beyond overwriting it, whether the action is reversible, or any side effects such as workspace index updates.

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?

A single 16-word sentence that front-loads the verb and resource, then packs in the storage format. There is zero filler; every word contributes, and the essential action is immediately visible.

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?

For a mutation tool with no annotations and no output schema, the one-line description leaves gaps: no return value information, no warning about the overwrite consequence, and no guidance on when creating vs. overwriting is appropriate. The rich schema compensates substantially for content structure, making this minimally adequate but not 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 description coverage is 100%, and the schema already documents every parameter — including an unusually detailed content parameter with per-type examples for decisions, rules, knowledge, and references. The tool description's mention of YAML frontmatter aligns with the tags/themes parameters but adds no new parameter semantics beyond what the schema already provides, so the baseline of 3 applies.

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?

States a specific verb pair (write/overwrite), a clear resource (memory entry), and the storage format (Markdown file with YAML frontmatter). This clearly differentiates it from sibling read/search tools like recall, search, and list, and from management tools like delete, move, and organize_memories — an agent can tell them apart without opening schemas.

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?

No explicit when-to-use or when-not-to-use guidance, and no sibling alternatives are named. The write/overwrite verb implies it is for persisting memories while recall/search are for retrieval, but an agent must infer that. The detailed content parameter description covers content formatting for decisions/rules/knowledge/references, but that addresses what to write, not when to choose this tool over alternatives.

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

Latest Blog Posts

MCP directory API

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

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Zehee/kimi-code-memory-mcp-server'

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