Skip to main content
Glama
@saihm/mcp-server-pro

@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 agent ID as sharerPinnedAgentIdHashHex together with the cellId, taking that ID from your user, not from a shared pointer; 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.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "saihm_recall"
  }
}

Input 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.
sharerRecordNoOptional, and not needed: the SHARER's identity record (hex fields). Without it, the key that comes with the memory is checked against the agent ID; given, it must match that key.
sharerPinnedAgentIdHashHexNoRead a cell shared TO you: the SHARER's agent ID (agentIdHash, 64 lowercase hex), pinned out-of-band, as your user gave it. When set, cellId is also required.

Output 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. Changed4 schema fields changedv0.14.3
    • changedInput schema / properties / sharerPinnedAgentIdHashHex / description
      Previous value: -"Read a cell shared TO you: the SHARER's agentIdHash (hex), pinned out-of-band. When set, sharerRecord and cellId are also required."New value: +"Read a cell shared TO you: the SHARER's agent ID (agentIdHash, 64 lowercase hex), pinned out-of-band, as your user gave it. When set, cellId is also required."
    • changedInput schema / properties / sharerRecord / description
      Previous value: -"The SHARER's published identity record (hex fields). Required with sharerPinnedAgentIdHashHex."New value: +"Optional, and not needed: the SHARER's identity record (hex fields). Without it, the key that comes with the memory is checked against the agent ID; given, it must match that key."
    • addedOutput schema / properties / memories / items / properties / owner
      Added value: +{
      +  "const": "another-agent",
      +  "type": "string"
      +}
    • addedOutput schema / properties / memories / items / properties / sharer
      Added value: +{
      +  "type": "string"
      +}
  2. 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"
      +}
  3. 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"
      -]
  4. 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"
      +}
  5. 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"
      +]
  6. First observedv0.2.1

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the readOnly/openWorld/idempotent annotations: it discloses that the server never sees plaintext, that the shared-cell path is read-only, that warmStart "latest" writes a snapshot into a named payload file the caller must read and then remove, and that sharesOnly can return shares_paging_unsupported. That is exactly the side-effect and failure-mode context annotations cannot carry.

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-loads purpose and timing, then walks modes in order, which suits a 10-parameter multiplexed tool. It is a dense single paragraph with some run-on sentences (the shared-cell and warmStart sentences are packed), but nearly every clause carries routing or safety information.

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?

Given six operating modes, 10 parameters (including a nested sharer record), an output schema and pagination, the description still covers mode selection, error behavior, and the file-based warmStart side effect. Nothing an agent needs to call any mode correctly is missing.

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 schema already defines each parameter; the description nonetheless adds cross-parameter coordination the schema only states in fragments (cellId alone vs. with sharer fields, sharer ID must come from the user rather than a shared pointer, token only goes with warmStart). That is real added meaning, though it is not a systematic parameter-by-parameter explanation.

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 ('Retrieve your memories from SAIHM and decrypt them') plus the key property that plaintext never reaches the server. An agent can distinguish it from saihm_remember/saihm_forget/saihm_status without opening the schema.

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 says when to call it ('at the start of a session, or whenever past context is needed') and then routes each mode: query to filter, cellId alone for own cells, sharerPinnedAgentIdHashHex + cellId for shared cells, listOnly for versions, sharesOnly for pointers, warmStart for snapshots. Alternatives and exclusions are named for every path.

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