Skip to main content
Glama

Append to a memory file

memory_append

Append text to one memory file, after a newline when the file does not end with one. A missing file is created. Docs: https://only-mcp.com/docs/what-is-onlymcp#what-sits-behind-the-one-address

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

Input Schema

NameRequiredDescriptionDefault
pathYesPath of the memory file.
contentYesThe text to append.
ifMatchNoThe updatedAt memory_read answered in _meta. The append is refused when the file changed since.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly=false, idempotent=false, destructive=false, so the safety profile is covered. The description adds genuinely new behavior beyond them: the automatic newline insertion and creation of a missing file. It does not address concurrency behavior beyond what the ifMatch schema text already says.

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 front-loaded sentences state the effect first, then the edge case. The trailing documentation URL is low-value for an agent but small enough not to be distracting.

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?

The write semantics are complete, but with no output schema the description leaves the return value unstated — notably whether the new updatedAt is returned for chaining into a subsequent ifMatch, which matters for this tool's optimistic-concurrency flow. Otherwise adequate for a two-required-param append.

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 100%, including a detailed ifMatch description, so the schema carries parameter semantics. The description adds nothing about path resolution, encoding, or the ifMatch workflow, which is acceptable at baseline 3 but no higher.

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 (append) plus resource (one memory file), and the newline/creation clauses make the exact effect unambiguous. It implicitly separates itself from memory_write (overwrite) but never names that sibling.

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?

The 'missing file is created' clause implies when appending is safe versus writing, but there is no explicit when-to-use/when-not guidance and no pointer to memory_write, memory_read, or memory_search as alternatives. Usage must be inferred from the verb.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources