Skip to main content
Glama
Memory Bridge
by shuimo233

memory_append

Idempotent

Append an immutable source event to the local memory database, preserving its original content for evidence-backed recall and audit trails across sessions.

Instructions

Append an immutable source event (up to 64 KiB JSON), preserving its original content.

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

Input Schema

NameRequiredDescriptionDefault
kindYes
contentYes
source_refNo
idempotency_keyYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful context beyond that: the record is immutable, original content is preserved, and there is a 64 KiB payload ceiling. It does not say what happens on idempotency-key collision or whether the call requires prior setup.

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?

One front-loaded sentence with no filler; the immutability guarantee and size limit are placed where they are immediately visible. It is arguably too terse rather than bloated, but every word earns its place.

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?

An output schema exists, so return values need not be explained, but the rest is thin for a mutation tool with four parameters at 0% schema coverage. Missing are the meaning of kind, source_ref, idempotency semantics, and any guidance on choosing this over sibling write tools.

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 description coverage is 0% for four parameters, so the description must compensate and largely does not. It hints that 'content' is JSON capped at 64 KiB, but 'kind', 'source_ref', and 'idempotency_key' are left entirely undefined in both schema and description.

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 ('Append an immutable source event') plus scope details (64 KiB JSON limit, content preserved). It does not differentiate this tool from siblings such as memory_write or memory_save, so an agent must infer the boundary between 'append event' and 'write'.

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 when-to-use or when-not-to-use guidance, no mention of prerequisites, and no named alternative despite several plausible siblings (memory_write, memory_save_communication_preference). The agent gets no routing signal from the text.

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