Skip to main content
Glama

store_memory

Save or update a named memory entry with text content and optional tags to organize codebase context for later retrieval.

Instructions

Store or update a named memory entry with optional tags

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": {
      "key": "<key>",
      "content": "<content>"
    },
    "name": "store_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesUnique identifier for this memory
tagsNoTags for categorization
contentYesText content to store

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

B3.2/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 disclosure burden; it does add real value by revealing upsert semantics ("or update"), i.e. an existing entry under the same key is silently overwritten rather than duplicated. It does not state whether memories persist across sessions, what is returned on success, or whether tags merge or replace on update.

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 well-formed sentence with the verb and resource front-loaded and no filler. It is arguably under-sized for an unannotated mutation tool, but nothing in it is wasted.

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 simple three-parameter tool with complete schema coverage and no output schema, the description is adequate but thin. It leaves out persistence/scope behavior and update-collision semantics, which matter for a memory store that can overwrite data.

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 key, content, and tags are already documented; the description only echoes them ("named" = key, "optional tags"). It adds no format, length, or uniqueness constraints beyond what the schema provides, so the baseline 3 applies.

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 plus resource ("Store or update a named memory entry") and notes the optional tags, which clearly separates it from read-side siblings like retrieve_memory and list_memories. It stops short of naming an alternative or clarifying key scope across projects, so it is clear but not fully differentiated.

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 says what the tool does but never says when to reach for it versus retrieve_memory, list_memories, or delete_memory, nor when storing a memory is appropriate at all. The agent must infer the workflow entirely from sibling names.

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