Skip to main content
Glama

mcp_engram_update

Update an existing memory concept with new text while preserving its historical evolution. Evaluates vector stability drift to maintain continuity and prevent silent overwrites.

Instructions

CRITICAL: Use this whenever you need to change or append to an existing memory. NEVER use forget+remember to update — that destroys the block's entire history. WHAT THIS DOES DIFFERENTLY: Evaluates Lyapunov stability drift between the old and new vector encodings. If drift is low (stable evolution), CRS is preserved. If drift is high (contradictory change), CRS is penalized proportionally. This creates a thermodynamic record of how a concept has evolved over time and prevents silent rewrites of load-bearing memories.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
conceptYesThe concept name to update
new_textYesThe new text content to encode
Behavior5/5

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

With no annotations, the description fully details behavior: Lyapunov stability drift evaluation, CRS preservation/penalization, thermodynamic record creation, and prevention of silent rewrites.

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?

The description is front-loaded with 'CRITICAL' and organized with clear headings, but is slightly verbose. Every sentence adds value, though some redundancy could be trimmed.

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?

Given no output schema, the description comprehensively covers the tool's purpose, when to use it, its behavioral mechanics, and consequences. Complete for an update tool.

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% (both parameters have descriptions). The description adds conceptual context but does not provide additional semantic details beyond 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 explicitly states it updates or appends to existing memory, distinguishes from sibling tool combination (forget+remember), and uses specific verb+resource: 'change or append to an existing memory'.

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

Usage Guidelines5/5

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

The description gives explicit guidance: 'NEVER use forget+remember to update' and explains why (destroys block's entire history). It also clarifies when this tool should be used.

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

Install Server

Other Tools

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/staticroostermedia-arch/engram'

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