Skip to main content
Glama

memory

Retrieve, search, update, archive, and restore individual memories. Access the latest entry in a chain-shaped namespace or view revision history of any memory.

Instructions

Manage individual memories — get, list, search, update importance, archive, hydrate, fetch a chain-shaped namespace's head (v0.8.0), or query revision history (v0.8.0+).

ACTIONS:

  • "get": Retrieve a single memory by rid.

  • "list": Browse memories with filters.

  • "search": Keyword substring search.

  • "update_importance": Change a memory's importance score.

  • "archive": Move to cold storage.

  • "hydrate": Restore archived memory.

  • "chain_head": v0.8.0 — head (most recent entry) of a chain-shaped namespace. Useful for narrative / decision chains.

  • "history": v0.8.0 — revision history for a single rid (needs rid).

Args: See action docs above. New args: namespace: Required for chain_head — the chain-shaped namespace. rid: Required for history — record to fetch revisions for.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ridNo
limitNo
actionYes
domainNo
offsetNo
sort_byNocreated_at
namespaceNo
importanceNo
memory_typeNo
text_containsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

The description discloses actions like archive, hydrate, and update_importance, implying mutability, which aligns with readOnlyHint=false. It also adds version info for chain_head and history. However, it does not disclose side effects, prerequisites, or error conditions. Annotations provide no additional safety hints beyond false flags, so the description adds moderate value.

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

Conciseness3/5

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

The description is structured as a list of actions with inline explanations, which is functional but verbose. It front-loads the overall purpose but then repeats 'v0.8.0' and 'v0.8.0+' unnecessarily. Could be more concise by grouping common behaviors.

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?

Given 10 parameters, no schema descriptions, and many siblings, the description lacks key context. It doesn't explain return values despite an output schema existing (not shown). The distinction between 'list' and 'search' is unclear, and filtering capabilities are not described. The description leaves significant gaps for correct tool selection and invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate. It only explains two parameters (namespace for chain_head, rid for history) out of ten. Other parameters like limit, offset, sort_by, domain, importance, memory_type, text_contains are left unexplained. The action-specific context (e.g., 'rid' needed for get) is implicit but not explicit.

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?

The description clearly states the purpose as managing individual memories and lists specific actions like get, list, search, etc. This is specific enough to distinguish from broad categories, though it does not explicitly differentiate from sibling tools like recall or remember.

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 lists available actions but provides no guidance on when to use this tool versus alternatives. For example, it does not explain when to use memory's 'list' versus a sibling's 'recall'. Only chain_head and history have brief usage notes, but overall no when-to-use or when-not-to-use context.

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/yantrikos/yantrikdb-mcp'

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