Skip to main content
Glama

get_fact_history

Read-only

Retrieve every version of a stored fact, including which app changed it and when, to answer why or when something changed or what it used to be.

Instructions

Show how a fact changed over time: every version, which app changed it, and when.

    Use when the user asks why or when something changed, or what it used to be.

    Do NOT use for normal lookups: search_memory already returns current versions.
    

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

Input Schema

NameRequiredDescriptionDefault
memory_idYesA memory id returned by an earlier call.

Output Schema

NameRequiredDescriptionDefault
eventsYes
versionsYesEvery version, oldest first.
current_idYesThe active version, if one exists.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so safety is covered; the description adds that the tool returns a full version timeline including the changing app and timestamps, which is meaningful behavioral context beyond the annotation. Since an output schema exists, it need not describe return shape further, so this is only slightly short of full marks.

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 short sentences, front-loaded with the capability and followed immediately by the usage rule and the counter-rule. No filler, redundancy, or restatement of the name.

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

Completeness5/5

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

For a single-parameter read tool with an output schema and read-only annotation, the description supplies everything an agent needs: what it returns conceptually, when to invoke it, and which sibling to prefer otherwise. No gaps remain.

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% and the single parameter's meaning ("a memory id returned by an earlier call") is fully documented in the schema. The description only implicitly maps "fact" to memory_id and adds no format or sourcing detail, so it neither helps nor harms — baseline 3.

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 ("Show how a fact changed over time") and enumerates the scope of the result (every version, which app changed it, when). This clearly separates it from siblings like search_memory and forget_memory, which do not return version history.

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?

Explicitly names the triggering user intents ("why or when something changed, or what it used to be") and gives an explicit exclusion plus the alternative: normal lookups should use search_memory since it returns current versions. Both when-to-use and when-not-to-use are covered.

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