Skip to main content
Glama

get_memory_chain

Get the knowledge chain for a memory, showing how it evolved. Returns updates (state changes), extends (refinements), and derives (inferences).

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": {
      "memory_id": "<memory_id>"
    },
    "name": "get_memory_chain"
  }
}

Input Schema

NameRequiredDescriptionDefault
memory_idYesUUID of the memory to trace

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/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. It does usefully disclose the shape of the result (updates, extends, derives with their meanings), and 'Get' implies a read-only operation. But it says nothing about behavior on a missing/invalid memory_id, chain depth limits, or whether the traversal is transitive.

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?

Two short sentences, front-loaded with the purpose and followed by the return categories. Every clause adds information and nothing is redundant.

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

Completeness4/5

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

For a simple one-parameter read tool with no output schema, the description covers purpose and the three result types an agent will encounter. The remaining gap is edge-case behavior (invalid ID, truncation), which is minor but not covered.

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 coverage is 100% for the single memory_id parameter, which the schema already documents as a UUID to trace. The description only echoes 'for a memory' and adds no format, scoping, or depth semantics beyond that, so baseline 3 applies.

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 specific verb and resource ('Get the knowledge chain for a memory') and clarifies the concept with 'showing how it evolved.' It distinguishes itself conceptually from siblings like get_timeline or recall by framing the result as an evolution chain, though it does not explicitly name an alternative.

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 by 'showing how it evolved' — an agent can infer it should use this when tracing a single memory's lineage. However, there is no explicit when-to-use versus get_timeline/recall guidance and no stated preconditions, leaving routing to inference.

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