Skip to main content
Glama

update_memory

Record or revise slow-changing project memory such as architecture, rules, and business logic; append a new section or replace the whole file.

Instructions

Update slow-changing project memory (architecture, rules, business logic). mode=append adds a section; mode=replace rewrites the file.

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

Input Schema

NameRequiredDescriptionDefault
modeNoappend
contentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral burden. It helpfully discloses that append adds a section and replace rewrites the file, which signals the destructive nature of replace, but it omits permissions, reversibility, exact overwrite behavior, and return/error semantics.

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

Conciseness5/5

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

The description is two tightly written sentences with the purpose front-loaded and no filler. Both sentences add useful information.

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 two-parameter mutation tool with no annotations and no output schema, the description covers the core purpose and mode behavior. It still leaves gaps around sibling-tool selection, content expectations, and safety behavior for a destructive replace operation.

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 coverage is 0%, so the description must compensate. It adds useful meaning for the mode enum by explaining append and replace semantics, but it does not describe the required content parameter beyond what its name implies.

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 slow-changing project memory," and clarifies the scope with examples like architecture, rules, and business logic. It does not differentiate from sibling tools such as add_constraint or add_decision, so it falls short of a 5.

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

Usage Guidelines3/5

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

It implies when to use the tool by naming slow-changing project memory and explaining append versus replace modes. However, it gives no explicit when-not guidance or alternatives for closely related sibling tools.

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