Skip to main content
Glama
Mnemosyne

Mnemosyne

by M4F-S

memory_working_buffer

Manage and update a session's bounded working memory scratchpad, goals, hypotheses, and attention focus so an agent stays organized on current tasks.

Instructions

Manage bounded working memory scratchpad, active goals, hypothesis state, and attention focus for a session.

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": {
      "action": "<action>",
      "session_id": "<session_id>"
    },
    "name": "memory_working_buffer"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesWorking memory action
agent_roleNoagent
hypothesesNoCandidate hypotheses under evaluation
session_idYesSession identifier
active_goalNoPrimary goal currently pursued
subtask_stackNoStack of active subtasks
attention_windowNoTop items currently within attention span

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.0.6

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full disclosure burden and does not meet it. 'Bounded' is asserted but the bound is never quantified, the destructive effect of the 'clear' action is never flagged, and it does not state whether 'update' merges or overwrites existing state or whether the buffer persists beyond the session.

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 front-loaded sentence with no filler; the resource and its contents come first. It is efficient, though the comma-separated field list reads as a restatement of the schema rather than as added guidance.

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 7-parameter, three-action stateful tool with no output schema and no annotations, the description should explain what 'get' returns, what 'clear' removes, and how state is scoped to session_id. None of that is present, leaving the multi-action semantics underspecified.

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 description coverage is 86%, so the schema already documents most fields and the baseline is 3. The description's enumeration of goals, hypotheses, and attention focus loosely maps to the field list but adds no format, sizing, or precedence rules (e.g. how attention_window differs from subtask_stack).

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 names a concrete resource (bounded working-memory scratchpad for a session) and enumerates what it holds: active goals, hypotheses, attention focus, subtask stack. That is far more specific than a tautology. It stops short of differentiating itself from siblings such as memory_recall or memory_remember, so an agent must infer the boundary between session scratchpad and long-term memory.

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, and no alternative is named. 'For a session' hints at ephemerality but never says whether this replaces or complements memory_remember/memory_recall, or at what point in a task an agent should read versus write the buffer.

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