Discovery
Set Agent Memory
set_agent_memoryBenchmark and above
Store or update ONE durable memory entry (key → value) for this user so context survives across sessions — preferences, prior conclusions, working context. Replace semantics per key (reusing a key overwrites it). Do NOT store a number you would later cite as a fact: financial ...
Example Call
example_call.pypython
# Using the Valuein MCP server from Python (via MCP SDK)# Or call directly from Claude / Cursor after setup result = await client.call_tool( "set_agent_memory", arguments={ "key": "EXAMPLE", "value": "EXAMPLE"})print(result)Direct tool call:set_agent_memory(...)
Inputs
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | required | Memory key (1–128 chars). Reusing an existing key overwrites its value. |
value | string | required | The note to remember (≤8000 chars). Never store a figure you would cite as a fact — those come from data tools. |
Output Fields
memorycreatedprior_valueExample Response
Illustrative
response.jsonjson
{ "memory": null, "created": null, "prior_value": 394328000000}Shape only — field names match the live schema; values are placeholders, not real filings. See MCP server for the structured response shape.
Notes
Available from the Benchmark plan and above.
Plan Access
Sample (guest)
Not includedBenchmark (token)
AvailablePro
AvailableInstitutional
AvailableRelated Tools
Index names are trademarks of their owners; Valuein is not affiliated with or endorsed by any index provider.