Skip to main content
Glama

memory_remember

Write a durable memory into the caller's org.

fact / preference / note / outreach -> semantic pillar. event -> episodic. procedure / skill -> rejected; use memory_procedure_set / memory_skill_set. Routed through the guarded ingestion pipeline (PII, injection screening, near-dupe merge / contradiction supersede) under RLS. A near-duplicate merges regardless of writer class. A contradiction supersedes only when writer_class matches or either side has none; different classes leave both rows active and record uncertainty (each hit's provenance names the other id). When repo / github are given the memory is tagged repo:<slug> / github:<owner>/<repo>. namespace= (or the default from those args) is an org-allowlisted container — recall with the same slug excludes other namespaces. paths= tags the repo files the memory is about (memory_for_paths reads them). Result includes org + bound (alias session_bound). bound is the MCP org-session overlay, not GitHub: false on a normal /mcp session still writes to the token's org.

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

Input Schema

NameRequiredDescriptionDefault
kindNofact, preference, event, note, or outreach (not procedure/skill)note
repoNoWorkspace slug of the repo this memory belongs to (e.g. the slug used for memory_state). For code/repo-specific work, pass your current workspace slug so the memory is scoped to this repo (stored as a 'repo:<slug>' tag) and ranks higher when recalled from the same repo. Omit for cross-cutting memories.
tagsNoOptional free-form tags
agentNoOverride agent identity (defaults to bearer-token identity)
pathsNoRepo-relative POSIX file paths this memory is about (e.g. ['src/foo.ts']). Each is stored as a 'path:<p>' tag so memory_for_paths finds it. Absolute paths and '..' escapes are rejected; backslashes and './' are normalized.
githubNoGitHub repository as owner/repo (e.g. teamshared-ai/teamshared). Stored as a 'github:<owner>/<repo>' tag for cross-machine association; use with or instead of workspace repo= when the same GitHub repo is checked out at different paths.
contentYesFree-form text to remember
subjectNoOptional subject/entity this memory is about
namespaceNoOrg-allowlisted container (repo:owner/name, github:owner/repo, or project:name). Tags this write. Omitted: default from github= then repo=. Invalid slugs fail. First write creates the slug on the org allowlist.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / paths
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "maxItems": 20,
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Repo-relative POSIX file paths this memory is about (e.g. ['src/foo.ts']). Each is stored as a 'path:<p>' tag so memory_for_paths finds it. Absolute paths and '..' escapes are rejected; backslashes and './' are normalized."
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / namespace
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Org-allowlisted container (repo:owner/name, github:owner/repo, or project:name). Tags this write. Omitted: default from github= then repo=. Invalid slugs fail. First write creates the slug on the org allowlist."
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / github / description
      Previous value: -"GitHub repository as owner/repo (e.g. xhad/teamshared). Stored as a 'github:<owner>/<repo>' tag for cross-machine association; use with or instead of workspace repo= when the same GitHub repo is checked out at different paths."New value: +"GitHub repository as owner/repo (e.g. teamshared-ai/teamshared). Stored as a 'github:<owner>/<repo>' tag for cross-machine association; use with or instead of workspace repo= when the same GitHub repo is checked out at different paths."
  4. Changed2 schema fields changed
    • changedInput schema / properties / kind / description
      Previous value: -"fact, preference, event, or note (not procedure/skill)"New value: +"fact, preference, event, note, or outreach (not procedure/skill)"
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "fact",
      -  "preference",
      -  "event",
      -  "note",
      -  "procedure",
      -  "skill"
      -]New value: +[
      +  "fact",
      +  "preference",
      +  "event",
      +  "note",
      +  "procedure",
      +  "skill",
      +  "outreach"
      +]
  5. First observed

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations supplied, the description carries the whole burden and does so: it discloses PII/injection screening, near-dupe merging, contradiction-supersede rules including the writer_class condition, and RLS scoping. It also pre-empts a likely misreading by clarifying that ``bound`` is the MCP org-session overlay rather than a GitHub binding, so a false value still means the write succeeded.

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?

The kind-to-pillar mapping is front-loaded as a compact routing list, and the dense sentences about merging, namespacing, and return fields each carry non-redundant information. It is information-dense rather than padded, though the paragraph is long enough that a stronger line-break grouping of ingestion vs. tagging vs. response would read faster.

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?

For a nine-parameter mutation tool with no annotations, the description covers routing, side effects, dedup/supersede semantics, tag derivation, namespace scoping, and the one response field likely to be misread. A full output schema exists, so it correctly does not spend words documenting every return field.

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 adds real meaning on top: repo/github become ``repo:<slug>`` / ``github:<owner>/<repo>`` tags, namespace resolves via the org allowlist with a documented default order (github= then repo=), and paths feed memory_for_paths. The only soft spot is that writer_class drives merge/supersede behavior yet is not among the parameters, leaving its origin implicit.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource ("Write a durable memory into the caller's org") and immediately maps accepted kinds to storage pillars, so an agent knows exactly what this tool produces. It also names the kinds it rejects (procedure/skill) and the sibling setters that own them, which distinguishes it from adjacent write paths without opening any schema.

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

Usage Guidelines4/5

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

Gives explicit routing: procedure/skill are rejected and redirected to memory_procedure_set / memory_skill_set, and it says when to pass repo ("For code/repo-specific work") versus omit it ("Omit for cross-cutting memories"). It does not cover when to choose this over other ingestion entry points such as capture_inventory, so it stops just short of full when/when-not coverage.

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.