Skip to main content
Glama

reflect_memory

Answer queries by synthesizing a deterministic extractive response from full-text-ranked, bank-scoped memories, including supporting memory IDs for traceability.

Instructions

Synthesize an answer from memory — hindsight-style reflect.

Returns a deterministic extractive answer built from FTS-ranked, bank-scoped memories, plus the supporting memory IDs.

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": {
      "query": "<query>"
    },
    "name": "reflect_memory"
  }
}

Input Schema

NameRequiredDescriptionDefault
bankNo
limitNo
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.14.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose useful traits: the answer is deterministic and extractive, ranked by FTS, scoped to a bank, and returned with supporting memory IDs. It never states that the tool is read-only/non-mutating, nor how it behaves with an omitted bank or an exhausted limit.

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 short sentences, front-loaded with the purpose, and every clause adds information about behavior or output shape. Minor jargon ('hindsight-style reflect') costs a little clarity but no words are wasted.

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?

An output schema exists, so return values needn't be explained, and the shape of the answer is described anyway. The gaps are on the input side: with zero schema description coverage, the undefined limit and bank semantics leave an agent guessing at call configuration.

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 coverage is 0% across three parameters, so the description must compensate. It explains 'bank-scoped' (the bank parameter) and implies FTS ranking for query, but says nothing about the limit parameter, its default of 8, or null-bank behavior.

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?

States a specific verb and resource: 'Synthesize an answer from memory — hindsight-style reflect.' The phrase 'Synthesize an answer' clearly separates it from retrieval siblings like search_memory, though no sibling is named explicitly.

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?

Usage is implied rather than stated: 'Synthesize an answer' suggests using this when an answer is needed rather than raw memories. There is no explicit when-to-use, when-not, or named alternative such as search_memory.

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