Skip to main content
Glama

memory_update_index

Updates the MEMORY.md index with current memory data and optionally imports CLAUDE.md content as searchable context for AI assistants.

Instructions

Update the MEMORY.md index file with latest memory data. Also optionally imports CLAUDE.md content as searchable context.

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": "memory_update_index"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. It hints at a mutation of MEMORY.md and a side effect (importing CLAUDE.md), but does not say whether existing index content is overwritten, whether the operation is idempotent, or what permissions/setup it needs. The word 'optionally' is especially opaque, since a zero-parameter schema offers the agent no way to choose.

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?

Two short sentences, with the primary action front-loaded and the secondary import behavior clearly marked as optional. No filler, though the optional clause could be phrased more concretely.

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?

With no annotations, no output schema, and zero parameters, the definition is minimal but not obviously broken; still, for a file-mutating tool it should state what gets overwritten and what the result indicates. The CLAUDE.md import side effect is mentioned but never qualified.

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

Parameters4/5

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

The tool takes zero parameters, so the schema baseline is 4 and there is nothing param-related the description must compensate for. The only friction is the unexplained 'optionally imports CLAUDE.md' phrasing, which implies a toggle that no parameter exposes.

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 gives a specific verb and resource: 'Update the MEMORY.md index file with latest memory data', plus a secondary behavior (importing CLAUDE.md as searchable context). It is clearly about regenerating an index rather than saving or searching memories, though it never names a sibling to contrast with.

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 explicit when-to-use or when-not-to-use guidance, and no reference to alternatives such as memory_save or memory_import. The agent must infer that this should be called after memory changes to refresh the index.

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