Skip to main content
Glama

remember_document

Split long documents like transcripts, articles, and meeting notes into chunks and store each as a memory. Returns inserted keys plus a shared doc_id for later grouping or cleanup.

Instructions

Index a long-form document by splitting it into chunks and storing each chunk as a memory.

Use this instead of remember() for conversation transcripts, articles, meeting notes, or any content longer than a focused fact. Returns the list of inserted keys plus a shared doc_id so callers can clean up or group them later.

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_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNo
tagsNo
contentYes
licenceNo
projectNo
namespaceNoepisodic
chunk_sizeNo
provenanceNo
chunk_strategyNoparagraphs

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv7.1.7

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden, and it does disclose the key side effect — one write becomes many memory insertions — plus the return shape (list of inserted keys and a shared doc_id for grouping or cleanup). It does not cover idempotency, size limits, or whether partial failures leave orphaned chunks, which are meaningful gaps for an unannotated write tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the action and mechanism, followed by the disambiguation rule and then the return value. No filler and no restatement of the tool name.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The purpose, alternative, and return contract are adequately covered for a moderately complex tool, and no output schema exists so value descriptions were needed and provided. However, with nine undocumented parameters and no annotations, the definition is incomplete for correct invocation — an agent can decide to call it but not configure it well.

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?

Nine parameters with 0% schema description coverage means the description must explain them, and it explains almost none. Chunking is implied by 'splitting it into chunks', but chunk_size, chunk_strategy, mode, namespace, tags, licence, project, and provenance are never mentioned, leaving the caller to guess at eight parameters.

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?

The description gives a specific verb-plus-resource ('Index a long-form document') and explains the mechanism (splitting into chunks, storing each chunk as a memory). The opening clause alone separates it from the sibling 'remember' tool, which the second sentence reinforces.

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

Usage Guidelines5/5

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

It states an explicit routing rule: 'Use this instead of remember() for conversation transcripts, articles, meeting notes, or any content longer than a focused fact.' Both the alternative tool and the condition that selects it are named, so the agent need not infer anything.

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