Skip to main content
Glama
knowledge-mcp

knowledge-mcp

by kvmadden

Create memory file

memory.create

Create or overwrite memory files under /memories with screened paths and content; writes matching a deny-list are rejected to keep sensitive data out of stored records.

Instructions

Create or overwrite a file under /memories. Path and content are screened; a deny-list match rejects the write.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>",
      "file_text": "<file_text>"
    },
    "name": "memory.create"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath under /memories.
file_textYesFile content.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), the description discloses two meaningful behaviors: existing content at the path is replaced, and both path and content are validated against a deny-list that can reject the write. It does not say whether parent paths are auto-created, whether rejection raises an error or returns a flag, or note that overwriting destroys prior content despite destructiveHint=false.

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 short sentences, front-loaded with the operation, with the failure condition appended. Every clause carries information (operation, scope, screening, rejection outcome) and nothing is redundant.

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 write tool with annotations present and no output schema, the description covers the essentials: what is written, that it overwrites, and that validation can reject the call. Minor gaps remain around directory creation, what a rejection looks like to the caller, and the overwrite/destructiveHint tension.

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% — the schema already documents path ('Path under /memories') and file_text ('File content', maxLength 100000). The description only reinforces the /memories scoping implicitly via the deny-list mention and adds no format, encoding, or path-syntax detail beyond the schema, which is the expected baseline.

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?

States a specific verb pair (create or overwrite) and a specific resource (a file under /memories), so an agent knows exactly what the operation does. It does not explicitly differentiate itself from siblings like memory.insert or memory.str_replace, so the distinction must be inferred from the verb pair.

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 'create or overwrite' implicitly signals whole-file writes rather than partial edits, which hints at when to prefer this over insertion or string-replacement tools. However, there is no explicit when-to-use statement, no prerequisite/condition, and no named alternative for partial edits.

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