Skip to main content
Glama

Search memories

search
Read-onlyIdempotent

Search memories and annotate provenance, stale and conflict status. Each result is a saved record with its source and date; when one is superseded, the newer version is the one in force. Explain decisions only from what the records say: if no record gives the reason, say the reason is not recorded instead of guessing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of memory results to return (1-50)
queryYesSemantic or keyword query text to search across memories
scopeNoOptional scope filter (e.g. shared, private)
workspaceNoWorkspace to search memories withindefault
exclude_staleNoWhether to filter out stale memories from results
current_source_hashNoOptional current source hash to detect stale memories

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / $defs / SearchItem / properties / superseded_by
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "ID of the newer version saved under the same fact_key; when set, prefer that version. Newest versions are ranked first",
      +  "title": "Superseded By"
      +}
  2. Changed2 schema fields changed
    • addedOutput schema / $defs / SearchItem / properties / derived_from
      Added value: +{
      +  "description": "IDs of the memories this one summarizes (lineage)",
      +  "items": {
      +    "type": "string"
      +  },
      +  "title": "Derived From",
      +  "type": "array"
      +}
    • changedOutput schema / $defs / SearchItem / properties / status / description
      Previous value: -"Freshness and trust status: verified, unverified, stale, conflict"New value: +"Freshness and trust status: unverified, stale or conflict. A hash supplied by the client does not verify a memory; a summary inherits the conflict or staleness of the memories it was derived from"
  3. Changed1 schema field changed
    • changedOutput schema / $defs / SearchItem / properties / confidence / description
      Previous value: -"Confidence score between 0.0 and 1.0"New value: +"How confident the user is in this fact, from 0.0 (uncertain) to 1.0 (certain). Default: 0.5."
  4. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources