Skip to main content
Glama

Save memory

remember
Destructive

Save a note, fact, or decision to MMW. Eligible new records are automatically organized by the MMW AI Archivist: the new text and up to five short snippets of your own authorized records may be sent to an external model provider. The Archivist can add links, adjust confidence and mark older records stale; existing record text is retained. Privacy withdrawals and access checks apply. When summarizing memories, pass their IDs in derived_from so unresolved conflicts remain visible.

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

Input Schema

NameRequiredDescriptionDefault
scopeNoAccess level for this memory: 'shared' (default) or 'private'.shared
sourceNoWho is saving this memory (default: 'owner').owner
contentYesText content of the memory or fact to store
event_idNoStable opaque ID for retrying one logical write. Reuse the same ID only with identical arguments.
fact_keyNoOptional topic key. Saving again with the same key adds a newer version; earlier versions are kept and marked, nothing is deleted.
source_idNoOptional label linking this memory to a source document or file.
workspaceNoNamed collection to organise memories (default: 'default'). Use to group related memories together.default
confidenceNoConfidence score between 0.0 and 1.0
source_hashNoOptional hash of the source content, used to detect when the source has changed.
derived_fromNoWhen this memory summarizes or condenses existing memories, their IDs. Unresolved conflicts and staleness of those memories stay visible on the summary.
source_revisionNoOptional version tag of the source document.

Output Schema

NameRequiredDescriptionDefault
idYesUnique identifier of the stored memory
scopeYesVisibility scope (shared, private, or restricted)
statusYesFreshness and trust status: unverified, stale or conflict. A new memory is always unverified
source_idNoIdentifier of the origin document, file, or session
tenant_idNoTenant identifier
workspaceYesTarget workspace containing the memory
created_atYesISO 8601 creation timestamp
project_idNoProject identifier
api_versionNoAPI version of the memory server
source_hashNoCryptographic content hash of the source
derived_fromNoIDs of the memories this one summarizes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / event_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Stable opaque ID for retrying one logical write. Reuse the same ID only with identical arguments.",
      +  "title": "Event Id"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / properties / status / description
      Previous value: -"Trust and verification status (verified, unverified)"New value: +"Freshness and trust status: unverified, stale or conflict. A new memory is always unverified"
  3. Changed2 schema fields changed
    • addedInput schema / properties / derived_from
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "When this memory summarizes or condenses existing memories, their IDs. Unresolved conflicts and staleness of those memories stay visible on the summary.",
      +  "title": "Derived From"
      +}
    • addedOutput schema / properties / derived_from
      Added value: +{
      +  "description": "IDs of the memories this one summarizes",
      +  "items": {
      +    "type": "string"
      +  },
      +  "title": "Derived From",
      +  "type": "array"
      +}
  4. Changed7 schema fields changed
    • addedOutput schema / properties / api_version / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / api_version / default
      Added value: +null
    • removedOutput schema / properties / api_version / type
      Removed value: -"string"
    • addedOutput schema / properties / tenant_id / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / tenant_id / default
      Added value: +null
    • removedOutput schema / properties / tenant_id / type
      Removed value: -"string"
    • changedOutput schema / required
      Previous value: -[
      -  "id",
      -  "api_version",
      -  "workspace",
      -  "tenant_id",
      -  "scope",
      -  "status",
      -  "created_at"
      -]New value: +[
      +  "id",
      +  "workspace",
      +  "scope",
      +  "status",
      +  "created_at"
      +]
  5. Changed1 schema field changed
    • changedInput schema / properties / fact_key / description
      Previous value: -"Optional key to update an existing memory with the same topic instead of creating a duplicate."New value: +"Optional topic key. Saving again with the same key adds a newer version; earlier versions are kept and marked, nothing is deleted."
  6. Changed7 schema fields changed
    • changedInput schema / properties / fact_key / description
      Previous value: -"Canonical key to identify updates and detect conflicts on the same fact"New value: +"Optional key to update an existing memory with the same topic instead of creating a duplicate."
    • changedInput schema / properties / scope / description
      Previous value: -"Visibility and access scope (shared, private, or restricted)"New value: +"Access level for this memory: 'shared' (default) or 'private'."
    • changedInput schema / properties / source / description
      Previous value: -"Origin type or author of the memory (e.g. owner, agent, user)"New value: +"Who is saving this memory (default: 'owner')."
    • changedInput schema / properties / source_hash / description
      Previous value: -"Cryptographic hash of the source content for freshness tracking"New value: +"Optional hash of the source content, used to detect when the source has changed."
    • changedInput schema / properties / source_id / description
      Previous value: -"Identifier of the source document, file, or session"New value: +"Optional label linking this memory to a source document or file."
    • changedInput schema / properties / source_revision / description
      Previous value: -"Version or revision tag of the source artifact"New value: +"Optional version tag of the source document."
    • changedInput schema / properties / workspace / description
      Previous value: -"Target workspace partitioning the memories"New value: +"Named collection to organise memories (default: 'default'). Use to group related memories together."
  7. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Discloses behavior the annotations cannot express: the new text plus up to five snippets of the caller's own records may be sent to an external model provider, the Archivist can add links, adjust confidence, and mark older records stale, and existing record text is retained. It also notes privacy withdrawals and access checks apply. This explains why destructiveHint is true (staleness marking, not deletion) without contradicting it.

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?

Front-loaded with the core action, then progressively deeper operational caveats. Sentences are dense but each carries distinct information; the external-provider disclosure is slightly buried mid-paragraph rather than surfaced as its own sentence.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 no explanation, and the annotations cover the safety profile. For an 11-parameter mutating write with external data egress, the description still surfaces the non-obvious risks — provider transmission, staleness marking, retained text — that an agent must weigh before calling.

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?

Schema coverage is 100%, so the baseline is 3, but the description earns extra credit by pairing derived_from with a reason — unresolved conflicts and staleness stay visible on the summary — which the schema field alone only asserts. Other parameters, including the versioning nuance of fact_key, are left entirely to the schema.

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?

Opens with a concrete verb and resource: "Save a note, fact, or decision to MMW." That is unmistakable against siblings like read_memory, forget, or search, though it never names an alternative explicitly. The purpose is clear without opening the schema.

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?

Offers one true usage rule — pass summarized memories' IDs in derived_from — plus an implicit signal that organization is automatic, so no separate organize call is needed. It never says when to prefer this over forget, validate_memory, or a plain workspace write, and gives no prerequisites or exclusions. Guidance is present but partial.

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