Skip to main content
Glama
SAIHM-Admin

@saihm/mcp-server-pro

Official

Recall

saihm_recall
Read-onlyIdempotent

Retrieve your memories from SAIHM and decrypt them in this process; the server never sees plaintext. Use this at the start of a session, or whenever past context is needed.

Instructions

Retrieve your memories from SAIHM and decrypt them in this process; the server never sees plaintext. Use this at the start of a session, or whenever past context is needed. Pass query to filter by keyword, or leave it out to load everything. Pass cellId alone to read one of your own cells. To read a single cell another agent shared with you, pass their sharerPinnedAgentIdHashHex and sharerRecord together with the cellId; that path is read-only. Pass listOnly to list your cells' versions without their content. Pass sharesOnly to list every pointer shared with you, a page at a time, where the endpoint offers it. With warmStart "latest", it instead restores the newest encrypted warm-start snapshot into the payload file named by token; "list" lists them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
afterNoWith listOnly or sharesOnly: the next value of the previous page.
queryNoFilter your OWN memories by keyword (empty = all). Ignored when reading one cell by cellId.
tokenNoWith warmStart: 16 to 32 characters from a-z and 0-9, chosen at random for this call. It names the payload file. Blank otherwise.
cellIdNoThe cell id to read: alone, one of your own cells; with the sharer fields, the shared cell (required then).
listOnlyNoList your own cells' versions (cellId, seq, commitment) without reading any content. Pages: pass the answer's next as after until next is null.
warmStartNo"latest" restores the newest snapshot into warm-start/latest-<token>.bin (read it, then remove it); "list" lists snapshots. Only token goes with it. Leave it blank to recall memories.
sharesOnlyNoList every pointer shared with you, a page at a time and never cut, without reading any memory. Pages: pass the answer's next as after until next is null. Answers shares_paging_unsupported where the endpoint does not offer it: then recall without it.
shareEntriesNoWith the share events feed on, also return every entry of the share map; without it, only its summary.
sharerRecordNoThe SHARER's published identity record (hex fields). Required with sharerPinnedAgentIdHashHex.
sharerPinnedAgentIdHashHexNoRead a cell shared TO you: the SHARER's agentIdHash (hex), pinned out-of-band. When set, sharerRecord and cellId are also required.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
asOfNo
nextNo
cellsNo
countNo
errorNo
foundNo
totalNo
sharedNo
timingNo
memoriesNo
servedByNo
snapshotNo
snapshotsNo
sharedKeptNo
shareStatesNo
sharedSkippedNo
sharedTruncatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv0.14.1
    • changedInput schema / properties / after / description
      Previous value: -"With listOnly: the next value of the previous page."New value: +"With listOnly or sharesOnly: the next value of the previous page."
    • addedInput schema / properties / sharesOnly
      Added value: +{
      +  "description": "List every pointer shared with you, a page at a time and never cut, without reading any memory. Pages: pass the answer's next as after until next is null. Answers shares_paging_unsupported where the endpoint does not offer it: then recall without it.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / token / description
      Previous value: -"With warmStart: 16 to 32 characters from a-z and 0-9, chosen at random for this call. It names the payload file."New value: +"With warmStart: 16 to 32 characters from a-z and 0-9, chosen at random for this call. It names the payload file. Blank otherwise."
    • changedInput schema / properties / token / pattern
      Previous value: -"^[a-z0-9]{16,32}$"New value: +"^$|^[a-z0-9]{16,32}$"
    • changedInput schema / properties / warmStart / description
      Previous value: -"\"latest\" restores the newest snapshot into warm-start/latest-<token>.bin (read it, then remove it); \"list\" lists snapshots. Only token goes with it."New value: +"\"latest\" restores the newest snapshot into warm-start/latest-<token>.bin (read it, then remove it); \"list\" lists snapshots. Only token goes with it. Leave it blank to recall memories."
    • changedInput schema / properties / warmStart / enum
      Previous value: -[
      -  "latest",
      -  "list"
      -]New value: +[
      +  "",
      +  "latest",
      +  "list"
      +]
    • addedOutput schema / properties / sharedSkipped
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / total
      Added value: +{
      +  "type": "number"
      +}
  2. Changed17 schema fields changedv0.13.0
    • addedInput schema / properties / after
      Added value: +{
      +  "description": "With listOnly: the next value of the previous page.",
      +  "type": "string"
      +}
    • changedInput schema / properties / cellId / description
      Previous value: -"The shared cell id to read. Required when reading a shared cell."New value: +"The cell id to read: alone, one of your own cells; with the sharer fields, the shared cell (required then)."
    • addedInput schema / properties / listOnly
      Added value: +{
      +  "description": "List your own cells' versions (cellId, seq, commitment) without reading any content. Pages: pass the answer's next as after until next is null.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / query / description
      Previous value: -"Filter your OWN memories by keyword (empty = all). Ignored when reading a shared cell."New value: +"Filter your OWN memories by keyword (empty = all). Ignored when reading one cell by cellId."
    • addedInput schema / properties / token
      Added value: +{
      +  "description": "With warmStart: 16 to 32 characters from a-z and 0-9, chosen at random for this call. It names the payload file.",
      +  "pattern": "^[a-z0-9]{16,32}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / warmStart
      Added value: +{
      +  "description": "\"latest\" restores the newest snapshot into warm-start/latest-<token>.bin (read it, then remove it); \"list\" lists snapshots. Only token goes with it.",
      +  "enum": [
      +    "latest",
      +    "list"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / asOf
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / cells
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "cellId": {
      +        "type": "string"
      +      },
      +      "commitment": {
      +        "type": "string"
      +      },
      +      "seq": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "cellId",
      +      "seq",
      +      "commitment"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / error
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "code": {
      +      "type": "string"
      +    },
      +    "status": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "status"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / found
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / next
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / servedBy
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / sharedKept
      Added value: +{
      +  "enum": [
      +    "newest",
      +    "oldest"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / snapshot
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "bytes": {
      +          "type": "number"
      +        },
      +        "coversThrough": {
      +          "type": "string"
      +        },
      +        "createdAt": {
      +          "type": "string"
      +        },
      +        "snapshotId": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "snapshotId",
      +        "createdAt",
      +        "bytes",
      +        "coversThrough"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / snapshots
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "bytes": {
      +        "type": "number"
      +      },
      +      "coversThrough": {
      +        "type": "string"
      +      },
      +      "createdAt": {
      +        "type": "string"
      +      },
      +      "snapshotId": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "snapshotId",
      +      "createdAt",
      +      "bytes",
      +      "coversThrough"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / timing
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "admission": {
      +      "anyOf": [
      +        {
      +          "enum": [
      +            "reserved",
      +            "shared"
      +          ],
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "serverMs": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "totalMs": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "serverMs",
      +    "totalMs",
      +    "admission"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / required
      Removed value: -[
      -  "count",
      -  "memories",
      -  "shared",
      -  "sharedTruncated"
      -]
  3. Changed4 schema fields changedv0.10.0
    • addedInput schema / properties / shareEntries
      Added value: +{
      +  "description": "With the share events feed on, also return every entry of the share map; without it, only its summary.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / memories / items / properties / commitment
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / memories / items / properties / grant
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / shareStates
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "asOf": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "complete": {
      +      "type": "boolean"
      +    },
      +    "counts": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "ended": {
      +          "type": "number"
      +        },
      +        "erased": {
      +          "type": "number"
      +        },
      +        "live": {
      +          "type": "number"
      +        },
      +        "stale": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "live",
      +        "stale",
      +        "ended",
      +        "erased"
      +      ],
      +      "type": "object"
      +    },
      +    "entries": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "cellId": {
      +            "type": "string"
      +          },
      +          "commitment": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "copiesInvalidBefore": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "endedAt": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "endedBy": {
      +            "anyOf": [
      +              {
      +                "enum": [
      +                  "event",
      +                  "reconciliation"
      +                ],
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "expiryEpoch": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "grant": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "scope": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "senderVerified": {
      +            "type": "boolean"
      +          },
      +          "seq": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "sharer": {
      +            "type": "string"
      +          },
      +          "status": {
      +            "enum": [
      +              "live",
      +              "stale",
      +              "ended",
      +              "erased"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "sharer",
      +          "cellId",
      +          "status",
      +          "grant",
      +          "scope",
      +          "expiryEpoch",
      +          "seq",
      +          "commitment",
      +          "senderVerified",
      +          "endedAt",
      +          "endedBy",
      +          "copiesInvalidBefore"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "since": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "startedAt": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "stopped": {
      +      "anyOf": [
      +        {
      +          "enum": [
      +            "unsupported",
      +            "tier",
      +            "erased"
      +          ],
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "required": [
      +    "since",
      +    "complete",
      +    "asOf",
      +    "stopped",
      +    "startedAt",
      +    "counts"
      +  ],
      +  "type": "object"
      +}
  4. Changed3 schema fields changedv0.2.2
    • addedOutput schema / properties / shared
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "cellId": {
      +        "type": "string"
      +      },
      +      "expiryEpoch": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "scope": {
      +        "type": "string"
      +      },
      +      "sharer": {
      +        "type": "string"
      +      },
      +      "verified": {
      +        "const": false,
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "sharer",
      +      "cellId",
      +      "scope",
      +      "expiryEpoch",
      +      "verified"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / sharedTruncated
      Added value: +{
      +  "type": "boolean"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "count",
      -  "memories"
      -]New value: +[
      +  "count",
      +  "memories",
      +  "shared",
      +  "sharedTruncated"
      +]
  5. First observedv0.2.1

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover readOnly/idempotent/non-destructive, yet the description adds real behavioral content: decryption happens client-side and the server never sees plaintext, the shared-cell path is read-only, warmStart writes a snapshot file that must be read then removed, and sharesOnly returns shares_paging_unsupported on unsupported endpoints. These are side effects and failure modes annotations cannot express.

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?

Front-loaded with the core purpose and safe-decryption guarantee, then one sentence per mode, so every sentence earns its place across eight branching behaviors. The warmStart sentence is dense and mixes two modes into one clause, which slightly hurts readability for an otherwise well-structured block.

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?

With an output schema present, return values need not be explained, and annotations carry the safety profile. Given ten optional parameters and a nested sharer record, the description still covers the mutually exclusive modes, the required-argument trios, pagination via after/next, and one error case, leaving nothing an agent needs to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description exceeds it by explaining parameter interplay rather than restating fields — query is ignored when reading by cellId, and sharerPinnedAgentIdHashHex/sharerRecord/cellId form one required trio. It does not, however, add format or value-level detail beyond the schema.

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 (retrieve and locally decrypt your memories) and enumerates the distinct read modes it supports. It is clearly the read path in a family containing saihm_remember, saihm_forget and saihm_share, but it never names a sibling, so the differentiation is implicit rather than explicit.

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?

Gives explicit when-to-use framing ('at the start of a session, or whenever past context is needed') and then routes on argument combinations: query to filter vs omit to load all, cellId alone vs with sharer fields, listOnly, sharesOnly, and warmStart latest/list. Each branch is tied to a condition, which is exactly the guidance an agent needs.

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