Skip to main content
Glama
ClickHouse Loom

ClickHouse Loom

Official

loom_memory_history

Read-onlyIdempotent

Retrieves every recorded version of a memory key, newest first, including tombstoned and redacted entries, so you can trace how a stored value changed over time or recover what it held before.

Instructions

WHAT: Every recorded version of one memory_key, newest first, tombstoned and redacted versions included; empty when the key was never written. WHEN: 'what did I say about X before', 'when did this change', or what a key held earlier. WHEN NOT: The current value alone is loom_memory_get. ARGS: memory_key; optional limit (default 50).

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_key": "<memory_key>"
    },
    "name": "loom_memory_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
run_idNo
namespaceNo
memory_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description still adds genuine value beyond them: newest-first ordering, inclusion of tombstoned and redacted entries, and the empty-on-never-written behavior. It stops short of saying how many results are typical or how tombstones/redactions are marked in the output.

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?

Tight WHAT/WHEN/WHEN NOT/ARGS structure, every line earning its place, with the most decision-relevant facts front-loaded. No filler or restating of the tool name.

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?

A read-only history tool with no output schema and annotations covering safety; the description appropriately covers return ordering and the empty case. The remaining gap is the unexplained run_id and namespace parameters, which matters for a tool that appears to be scoped by run or namespace.

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 0%, so the description must carry the parameter burden. It clarifies memory_key as the key whose versions are returned and gives limit's default of 50 (already in the schema), but says nothing about run_id or namespace, nor the maximum of 500. Half the surface is left undocumented in both places.

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?

States a specific verb and resource (returns every recorded version of one memory_key) plus scope details: newest-first ordering, inclusion of tombstoned and redacted versions, and empty result when the key was never written. This is immediately distinguishable from a single-value read.

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?

The WHEN block gives concrete user phrasings ('what did I say about X before', 'when did this change') that map to history retrieval, and WHEN NOT explicitly names loom_memory_get as the alternative for the current value. Selection between the two is unambiguous.

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