Skip to main content
Glama

emem, the verifiable memory protocol for the physical world

Dereference a memory_token in one round-trip

emem_memory_token_resolve
Read-onlyIdempotent

Read a emem:fact:<cell64>:<fact_cid> citation handle and return the reading that it cites. value, unit, band and kind are at the TOP level of the answer, beside the full signed fact body. You do not split the token or call GET /v1/facts/<cid> yourself. Memory algebra: the resolve operation (https://emem.dev/docs/model.html).

When to use: Call this when you have a memory_token from another agent or an earlier turn and need the value. For a scalar, quote value_verbatim, the exact decimal string that the responder signed. A null value or unit means the fact has none (an absence, or an index with no unit). It does not mean a missing field. A cid that this responder does not hold returns a typed 404. Then try /v1/fetch, or resolve at a mirror.

Example arguments: {"token":"emem:fact:defi.zb493.xoso.zcb6a:cxjiu7l54ujzrpnekp24n4534yojpue4mprddbvevnqtti3lh5bq"}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYesA `emem:fact:<cell64>:<fact_cid>` citation handle to dereference.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
bandYes
cellYes
kindYes
unitNo
valueNoScalars; a vector is in the text's fact.value.
receiptYes
fact_cidYes
fact_urlNo
value_verbatimNo
canonical_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "band": {
      +      "type": "string"
      +    },
      +    "canonical_token": {
      +      "type": "string"
      +    },
      +    "cell": {
      +      "type": "string"
      +    },
      +    "fact_cid": {
      +      "type": "string"
      +    },
      +    "fact_url": {
      +      "type": "string"
      +    },
      +    "kind": {
      +      "type": "string"
      +    },
      +    "receipt": {
      +      "type": "object"
      +    },
      +    "unit": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "value": {
      +      "description": "Scalars; a vector is in the text's fact.value.",
      +      "type": [
      +        "number",
      +        "string",
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "value_verbatim": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "canonical_token",
      +    "cell",
      +    "fact_cid",
      +    "band",
      +    "kind",
      +    "receipt"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / token / description
      Previous value: -"A `memt:<cell64>:<fact_cid>` citation handle to dereference."New value: +"A `emem:fact:<cell64>:<fact_cid>` citation handle to dereference."
  3. Added
  4. Removed
  5. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.