GlyphTools
UtilitiesFrom $0.01 per call · failed calls are never charged

Agent memory, note: save a fact to recall

$0.01 per call · failed calls are never charged · no account needed: a card key or USDC

Save a note (up to 4,000 characters) under a key in your own namespace so a later call can find it by MEANING, not by key: it is embedded once, on write, with the BGE-M3 model /ai/embed sells. Overwrites the same key; expires after 1 to 30 days (default 30). Values are kept until they expire (at most 30 days) or are deleted; reads anywhere may lag a write made elsewhere by up to a minute. Use to keep what an agent learned for /memory/recall.

Buy credits by card (from $1) Example result (JSON)

Inputs

NameTypeDescription
namespace (required)stringYour namespace: a secret of 16 to 128 letters, digits, - or _ that you choose and reuse. Anyone who knows it can read and write it, so treat it like a password; send it in a POST body to keep it out of URLs.
key (required)stringThe key, up to 200 characters
text (required)stringThe note to remember, up to 4,000 characters
daysstringDays to keep it, 1 to 30 (default 30)

Request

Over HTTP, with a card key from /credits:

curl -H "Authorization: Bearer adt_…" "https://www.glyphtools.com/memory/note?namespace=demo-agent-memory-7f3c9a21&key=user-preferences&text=The%20owner%20wants%20Swedish%20invoices%20in%20SEK%2C%20not%20USD."

Node.js

const r = await fetch("https://www.glyphtools.com/memory/note?namespace=demo-agent-memory-7f3c9a21&key=user-preferences&text=The%20owner%20wants%20Swedish%20invoices%20in%20SEK%2C%20not%20USD.", {
  headers: { Authorization: "Bearer adt_…" },
});
const data = await r.json(); // 402 until the key is in the header

Python

import requests

r = requests.get("https://www.glyphtools.com/memory/note?namespace=demo-agent-memory-7f3c9a21&key=user-preferences&text=The%20owner%20wants%20Swedish%20invoices%20in%20SEK%2C%20not%20USD.", headers={"Authorization": "Bearer adt_…"}, timeout=60)
data = r.json()

The same tool answers at https://api.glyphcall.com/memory/note: one key, the same price and the same payment terms on both hosts.

Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.

Example result

{
  "key": "user-prefers-metric",
  "saved": true,
  "updatedAt": "2026-12-05T15:00:00.000Z",
  "expiresAt": "2027-01-04T15:00:00.000Z",
  "size": 52,
  "note": "Recall it with /memory/recall by describing it. Plain values saved with /memory/set are not searched: they carry no vector."
}

From an AI agent (MCP)

Add the MCP server to Claude, Cursor or any MCP client. This tool is memory_note, paid from the first call:

https://www.glyphtools.com/mcp

Related tools