Skip to main content
Glama

vault_mem_save

Save an episodic observation memory with deduplication and topic indexing, so AI agents can persist decisions, bugfixes, and discoveries for reliable recall.

Instructions

Save an episodic observation memory with deduplication and topic indexing

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "vault_mem_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoAdditional custom tags
typeNoMemory type: decision|architecture|workflow|bugfix|discovery|pattern|config|feedback
scopeNoScope: project|global|session (optional)
titleNoShort title (optional, auto-generated from content if empty)
topicNoAlias for topic_key
pinnedNoPersist the memory pin hint
contentNoMemory content or observation (required)
projectNoProject name or ID (optional)
topic_keyNoTopic key for memory organization e.g. odd/tasks/feature (optional)
expires_atNoPersist the expiration date hint
operation_idNoOptional stable retry identity; the same ID must have the same request
review_afterNoPersist the review date hint

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv3.9.0
    • addedInput schema / properties / expires_at
      Added value: +{
      +  "description": "Persist the expiration date hint",
      +  "type": "string"
      +}
    • addedInput schema / properties / operation_id
      Added value: +{
      +  "description": "Optional stable retry identity; the same ID must have the same request",
      +  "type": "string"
      +}
    • addedInput schema / properties / pinned
      Added value: +{
      +  "description": "Persist the memory pin hint",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / review_after
      Added value: +{
      +  "description": "Persist the review date hint",
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose two real behaviors — deduplication and topic indexing — but never explains what deduplication actually does (skip, merge, update, return existing record), nor mentions permission requirements or the effect of pinned/expires_at/review_after hints.

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

Conciseness4/5

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

A single front-loaded sentence with no filler; the key action and the two notable behaviors come first. It is arguably too short for a 12-parameter mutation tool, but there is no wasted wording to cut.

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

Completeness2/5

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

For a 12-parameter write tool with zero annotations and no output schema, the definition says almost nothing about mutation semantics, what is returned on a dedup hit, or how optional fields interact. The structured schema covers field-level meaning, but the behavioral gaps around deduplication are significant.

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 schema already documents all 12 parameters including enums for type and scope. The description adds only indirect context via 'topic indexing', which maps loosely to topic_key/topic, but nothing about operation_id retry semantics or scope resolution beyond what the schema 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?

States a specific verb and resource ('Save an episodic observation memory') and adds distinguishing traits (deduplication, topic indexing) that separate it from read-side siblings like vault_mem_get and vault_mem_search. It does not name any sibling explicitly, so an agent must still infer the boundary against other save_* tools.

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?

There is no when-to-use or when-not-to-use guidance, no prerequisites, and no reference to alternatives such as save_artifact, save_entry, or save_handoff. Only the word 'episodic observation' hints at the intended scenario, leaving selection among the many save-prefixed siblings to inference.

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