Skip to main content
Glama

Capture episodic memory

dm.capture_episodic_memory

Capture supplemental, non-authoritative episodic agent memory for later scoped recall. It is workspace- and scope-checked and never creates approved DM knowledge.

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": {
      "task_reference": "<task_reference>",
      "content": "<content>"
    },
    "name": "dm.capture_episodic_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceNoagent_task
contentYes
metadataNo
thread_idNo
project_idNo
scope_kindNopersonal
session_idNo
task_referenceYes
context_versionNo
task_execution_idNo
provider_session_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare this is a non-idempotent, non-destructive, non-open-world write, and the description adds real value by stating it is workspace- and scope-checked and non-authoritative. It does not disclose what happens on repeated captures (the non-idempotent flag implies duplicates), what validation failures look like, or what is returned. Given annotations cover the safety profile, a 3 is appropriate.

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?

Two compact sentences with the core nature and the key constraint front-loaded, and no filler. It is arguably too terse for an 11-parameter tool, but nothing present is wasted.

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?

With 11 parameters, a nested metadata object, an enum, and no output schema, the definition supplies only the conceptual framing and none of the operational detail an agent needs to populate identifiers and understand recall scope. The non-authoritative framing is well conveyed, but scope semantics, identifier roles, and result behavior are absent.

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% across 11 parameters, so the schema alone leaves task_reference, thread_id, project_id, session_id, context_version, and task_execution_id unexplained. The description compensates with nothing specific — "scoped recall" gestures vaguely at scope but never explains the personal vs task_working enum, nor how task_reference or metadata are used. For a low-coverage, high-parameter tool this is a significant gap.

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 pairs a specific verb and resource ("Capture ... episodic agent memory") with an explicit qualifier that it is "supplemental, non-authoritative" and "never creates approved DM knowledge", which meaningfully separates it from authority-bearing siblings like dm.submit_memory_update or dm.supersede_episodic_memory. It stops short of naming any sibling outright, so routing still relies on inference.

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?

The phrase "for later scoped recall" implies the intended lifecycle use, and "never creates approved DM knowledge" implicitly tells the agent this is not the path for durable/approved writes. However, there is no explicit when-to-use versus when-not statement and no named alternative for the approved-knowledge case.

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