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

@saihm/mcp-server-pro

Official

Remember

saihm_remember

Store facts, decisions, or context in persistent, client-side encrypted memory so it outlives the current session; update an existing cell by ID or create a new one.

Instructions

Store information in SAIHM persistent memory. Encryption happens in this process and the key never leaves it, so the server holds ciphertext it cannot read. Use this when a fact, decision, or piece of context should outlive the current session. Pass an existing cellId to update that cell instead of adding a new one; when the endpoint reports that the update left shares of the cell on the previous version, they are re-issued for the new version and the result counts them, and a share that was not re-issued needs saihm_share again. Returns the cell id that saihm_forget takes. With warmStart "put", it instead stores an encrypted warm-start snapshot of the payload file named by token.

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

Input Schema

NameRequiredDescriptionDefault
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.
cellIdNoExisting cell id (hex) to update; omit to create a new cell
contentNoInformation to remember. Required unless warmStart is "put".
warmStartNo"put" stores the payload file warm-start/put-<token>.bin as an encrypted snapshot, then removes the file. Only coversThrough and token go with it. Leave it blank, or "default", to remember content.
coversThroughNoWith warmStart "put": the change feed position the payload covers, the cursor of a position marker. Blank otherwise.

Output Schema

NameRequiredDescriptionDefault
atNo
seqNo
bytesNo
errorNo
cellIdNo
timingNo
shardIdNo
createdAtNo
commitmentNo
snapshotIdNo
coversThroughNo
commitmentHashNoDeprecated: the same value as commitment, kept for existing readers.
sharesReissuedNo
sharesIncompleteNo
sharesNotReissuedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.15.0
    • changedInput schema / properties / warmStart / description
      Previous value: -"\"put\" stores the payload file warm-start/put-<token>.bin as an encrypted snapshot, then removes the file. Only coversThrough and token go with it. Leave it blank to remember content."New value: +"\"put\" stores the payload file warm-start/put-<token>.bin as an encrypted snapshot, then removes the file. Only coversThrough and token go with it. Leave it blank, or \"default\", to remember content."
    • changedInput schema / properties / warmStart / enum
      Previous value: -[
      -  "",
      -  "put"
      -]New value: +[
      +  "default",
      +  "put"
      +]
  2. Changed6 schema fields changedv0.14.1
    • changedInput schema / properties / coversThrough / description
      Previous value: -"With warmStart \"put\": the change feed position the payload covers, the cursor of a position marker."New value: +"With warmStart \"put\": the change feed position the payload covers, the cursor of a position marker. Blank otherwise."
    • changedInput schema / properties / coversThrough / pattern
      Previous value: -"^[!-~]{1,64}$"New value: +"^$|^[!-~]{1,64}$"
    • 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: -"\"put\" stores the payload file warm-start/put-<token>.bin as an encrypted snapshot, then removes the file. Only coversThrough and token go with it."New value: +"\"put\" stores the payload file warm-start/put-<token>.bin as an encrypted snapshot, then removes the file. Only coversThrough and token go with it. Leave it blank to remember content."
    • changedInput schema / properties / warmStart / enum
      Previous value: -[
      -  "put"
      -]New value: +[
      +  "",
      +  "put"
      +]
  3. Changed15 schema fields changedv0.13.0
    • changedInput schema / properties / content / description
      Previous value: -"Information to remember"New value: +"Information to remember. Required unless warmStart is \"put\"."
    • addedInput schema / properties / coversThrough
      Added value: +{
      +  "description": "With warmStart \"put\": the change feed position the payload covers, the cursor of a position marker.",
      +  "pattern": "^[!-~]{1,64}$",
      +  "type": "string"
      +}
    • 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": "\"put\" stores the payload file warm-start/put-<token>.bin as an encrypted snapshot, then removes the file. Only coversThrough and token go with it.",
      +  "enum": [
      +    "put"
      +  ],
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "content"
      -]
    • addedOutput schema / properties / at
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / bytes
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / commitment
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / commitmentHash / description
      Added value: +"Deprecated: the same value as commitment, kept for existing readers."
    • addedOutput schema / properties / coversThrough
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / createdAt
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / error
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "code": {
      +      "type": "string"
      +    },
      +    "status": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "status"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / snapshotId
      Added value: +{
      +  "type": "string"
      +}
    • 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: -[
      -  "cellId",
      -  "seq",
      -  "shardId",
      -  "commitmentHash",
      -  "sharesReissued",
      -  "sharesNotReissued",
      -  "sharesIncomplete"
      -]
  4. Changed4 schema fields changedv0.10.0
    • addedOutput schema / properties / sharesIncomplete
      Added value: +{
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / sharesNotReissued
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / sharesReissued
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "cellId",
      -  "seq",
      -  "shardId",
      -  "commitmentHash"
      -]New value: +[
      +  "cellId",
      +  "seq",
      +  "shardId",
      +  "commitmentHash",
      +  "sharesReissued",
      +  "sharesNotReissued",
      +  "sharesIncomplete"
      +]
  5. First observedv0.2.1

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations, the description discloses the encryption model (key never leaves the process, server holds unreadable ciphertext), the share re-issue consequence of updating an existing cell, and the fact that the returned cell id is what saihm_forget consumes. The warm-start branch also notes the payload file is removed after snapshotting, which is a side effect the annotations (destructiveHint=false) do not convey. Points are lost because the share re-issue sentence is so tangled that the exact condition under which shares are re-issued is hard to extract.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose and the session-outliving criterion are front-loaded, which is right. However, the sentence about shares of a cell remaining on the previous version is a run-on that packs condition, action, and follow-up into one unpunctuated clause, and the warmStart caveat is tacked on at the end rather than grouped with the other warmStart note.

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?

For a five-parameter mutation tool with a full output schema, the description covers the mode split, the update path, and the follow-up share obligation, which is what an agent needs to call it safely. The one real omission is idempotency: an update via cellId is effectively repeatable while a new-cell write is not, and that distinction is left ambiguous despite idempotentHint=false.

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 description coverage is already 100%, so the baseline is 3. The description nonetheless adds relational meaning the schema states only piecewise: that cellId switches the operation from append to update, and that token/coversThrough belong exclusively to the warmStart "put" path with the file being named by token. It does not add format or validation detail beyond what the schema already carries.

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?

The opening states a specific verb and resource ("Store information in SAIHM persistent memory") and then explicitly branches into the two behaviours this tool actually performs: creating/updating a cell, and storing a warm-start snapshot when warmStart is "put". It also names saihm_forget and saihm_share in ways that pin down how this tool differs from them, so an agent can select it 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Guidance is concrete: use it "when a fact, decision, or piece of context should outlive the current session", and "pass an existing cellId to update that cell instead of adding a new one", which resolves the create-vs-update decision. It also tells the agent when saihm_share must be re-invoked. What is missing is any explicit contrast with saihm_recall (the read counterpart), so the when-not-to-use side is only implied.

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