Skip to main content
Glama
total-agent-memory

total-agent-memory

memory_save_fast

Save agent memories through a low-latency path that bypasses the quality gate, skips LLM processing, and avoids async blocking when speed matters.

Instructions

v11.0: same as memory_save but routes through the fast hot path (skip_quality=True, no LLM, no async-blocking). Use when you want to bypass the v10 quality gate without flipping the env flag.

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>",
      "type": "<type>"
    },
    "name": "memory_save_fast"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo
typeYes
branchNo
filterNo
contentYes
contextNo
projectNogeneral
affectedNo
agent_idNoOptional Claude Code subagent ID (v2.1.139+)
detectionNo
supersedeNoSame as memory_save.supersede: retire records this one gives a new value for.
importanceNomedium
resolutionNo
source_formatNoauto
incident_statusNoopen
parent_agent_idNoOptional parent agent ID (the dispatching span)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv15.0.0
    • addedInput schema / properties / affected
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "from": {
      +        "title": "From",
      +        "type": "string"
      +      },
      +      "scope": {
      +        "minLength": 1,
      +        "title": "Scope",
      +        "type": "string"
      +      },
      +      "to": {
      +        "anyOf": [
      +          {
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "default": null,
      +        "title": "To"
      +      }
      +    },
      +    "required": [
      +      "scope",
      +      "from"
      +    ],
      +    "title": "AffectedWindow",
      +    "type": "object"
      +  },
      +  "title": "Affected",
      +  "type": "array"
      +}
    • addedInput schema / properties / detection
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "check": {
      +          "minLength": 1,
      +          "title": "Check",
      +          "type": "string"
      +        },
      +        "healthy_result": {
      +          "minLength": 1,
      +          "title": "Healthy Result",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "check",
      +        "healthy_result"
      +      ],
      +      "title": "Detection",
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • addedInput schema / properties / incident_status
      Added value: +{
      +  "default": "open",
      +  "enum": [
      +    "open",
      +    "closed"
      +  ],
      +  "title": "Incident Status",
      +  "type": "string"
      +}
    • addedInput schema / properties / resolution
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Resolution"
      +}
    • changedInput schema / properties / type / enum
      Previous value: -[
      -  "decision",
      -  "fact",
      -  "solution",
      -  "lesson",
      -  "convention"
      -]New value: +[
      +  "decision",
      +  "fact",
      +  "solution",
      +  "lesson",
      +  "convention",
      +  "incident"
      +]
  2. Changed1 schema field changedv14.5.0
    • addedInput schema / properties / supersede
      Added value: +{
      +  "default": false,
      +  "description": "Same as memory_save.supersede: retire records this one gives a new value for.",
      +  "type": "boolean"
      +}
  3. Changed1 schema field changedv14.0.0
    • addedInput schema / properties / source_format
      Added value: +{
      +  "default": "auto",
      +  "enum": [
      +    "auto",
      +    "conversation"
      +  ],
      +  "type": "string"
      +}
  4. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only mutation that is neither idempotent nor destructive, and the description adds real mechanism detail (no LLM, no async-blocking, quality gate skipped). However, it never states the consequences of skipping the gate — e.g., weaker extraction, no dedupe/entity linking, or whether the record is immediately searchable — which is exactly the behavioral context a 16-parameter write tool needs.

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?

A single tight sentence with the fast-path claim front-loaded and the usage condition second; every clause carries information. Minor jargon (v11.0, v10, env flag) assumes internal release context the agent may not share.

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?

For a 16-parameter mutating write with low schema coverage and no output schema, the definition is thin: it says nothing about most parameters, return shape, duplicate/supersede handling, or failure modes. It is adequate to pick the tool over memory_save but not to invoke it correctly.

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?

With 16 parameters and only 19% schema description coverage, the description carries most of the burden here, yet it explains no parameter semantics besides indirectly implying supersede behavior. It mentions skip_quality as an internal flag that is not even a schema property, leaving tags, filter, branch, affected, detection, resolution, and the rest undocumented in both places.

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 frames the tool relative to its sibling memory_save and adds the distinguishing trait: it routes through a fast hot path with skip_quality=True, no LLM call, and no async blocking. The underlying verb+resource (saving a memory record) is only inherited by reference to memory_save rather than stated outright, but the differentiation an agent needs is present.

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?

It gives an explicit selection rule: use this when you want to bypass the v10 quality gate without flipping the env flag, which implicitly contrasts with the quality-gated memory_save. It stops short of saying when NOT to use it (e.g., when extraction fidelity matters) or what the tradeoff costs, but the routing condition is clear.

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