Skip to main content
The 3ngram MCP server exposes the following preferences tools. Every entry is generated from the tool’s source signature and docstring, so this page never drifts from the backend.
Required parameters are marked with the required attribute. Optional parameters show their default value.

set_preference

Set Preference · writes · non-destructive · idempotent · closed-world Set or update a user preference (key-value, persisted as a memory of type ‘preference’). Re-setting the same key updates the value in place instead of creating a duplicate. Returns: str Source: backend/src/engram/mcp/tools/preferences.py

Parameters

key
str
required
Preference name (e.g. “timezone”, “language”, “coding-style”)
value
str
required
Preference value (e.g. “Europe/Copenhagen”, “TypeScript”)
project
str | None
default:"None"
Optional project to scope this preference to
scope
str | None
default:"None"
Optional life context filter (‘personal’ or ‘work’)