Skip to main content
Glama

get_memory_digest

Read-only

Read the user's cross-assistant journal (what every AI surface — terminal Claude Code, claude.ai, ChatGPT — did, learned and decided). Returns the CURRENT STATE first: current.decisions (decisions in the window, newest first) and current.profile (standing facts about the user, regardless of the window), then days (events — activity/learning — by date then source). Every entry has id, belongs_to (null = unfiled), visibility and confidence; unverified: true marks reported/inferred claims — do not put those into text addressed to a third party. Call this BEFORE answering what the current state of something is, when the user asks what happened on other devices/assistants (「別の端末で何やったっけ」「ChatGPTで話した件」), or at the start of a session. Narrow it instead of reading everything: kinds: ['decision'] for decisions only; tags to pick a project/topic (the most reliable — writers attach tags such as 'AccountHub', 'GTM'); sources ('terminal' | 'claude-web' | 'chatgpt'); belongs_to (names from belongs_to_options in the result or list_accounts) to read only those labels (unfiled entries are left out unless include_unfiled: true; a filter, not access control — and it only matches entries that are filed, so combine with tags for a project). If an entry is outdated, write the correction with add_memory supersedes: [id]. Only current entries by default — include_superseded: true shows history. Returns { current: { decisions, profile }, days, belongs_to_options, total, note }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoHow many days back to include (default 7).
tagsNoEntries carrying at least one of these tags. The most reliable way to narrow by project/topic: tags are what writers actually attach (e.g. 'AccountHub', 'GTM', 'handoff').
kindsNoOnly these kinds — e.g. ['decision'] for decisions only ('activity' | 'learning' | 'decision' | 'profile').
sourcesNoOnly entries written from these surfaces: 'terminal' | 'claude-web' | 'chatgpt'.
belongs_toNoRead only entries filed under these `belongs_to` labels (NAMES from `belongs_to_options` in list_accounts / the digest, e.g. ['プライベート']). A topic FILTER, not access control — who may read an entry is `visibility`. With `belongs_to`, unfiled entries are left out unless include_unfiled is true. Unknown names are refused with the valid list.
visibilitiesNoOnly entries with these audiences — e.g. ['private_self','shared_1on1'] to leave out 'company' / 'hr_private'.
include_unfiledNoAlso include entries not filed under any `belongs_to` label. With `belongs_to`: default false (only the named labels). Without `belongs_to`: default true; pass false to drop unfiled entries.
include_supersededNoAlso include superseded (no-longer-current) entries — i.e. old states of a memory_key that have since been replaced. Default false — only turn this on to look at history, never to answer "what is the current state of X".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations only declare readOnlyHint=true, so the description does add real value: the unverified-claim warning (don't relay to third parties), the current-vs-superseded default, and the 'filter, not access control' distinction between belongs_to and visibility. However, the schema already carries most of these operational semantics verbatim, so the description's marginal disclosure beyond structured fields is moderate rather than exceptional.

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

Conciseness4/5

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

Front-loaded with the return shape and current-state-first ordering, then moves to usage and filtering guidance. It is information-dense and mostly earns its length, though the deep dive into return structure and parameter behavior overlaps heavily with the schema, keeping it from being maximally tight.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so the description appropriately spells out the return shape ({current, days, belongs_to_options, total, note}) and the fields on each entry. For an 8-parameter, zero-required tool with cross-source aggregation and filtering nuances, nothing essential to correct invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema description coverage, the baseline is 3, and the schema already documents each parameter's meaning, defaults, and interactions (tags reliability, belongs_to as filter, include_unfiled/with-belongs_to behavior). The description largely restates this guidance (tags most reliable, combine belongs_to with tags, include_superseded never for current state), adding familiarity and prioritization but little new semantic content.

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?

States a specific verb and resource — reads the user's cross-assistant journal — and enumerates exactly what it returns (current.decisions, current.profile, days). It cleanly distinguishes itself from siblings like search_memory (narrow search) and add_memory (corrections via supersedes). An agent can tell what this tool retrieves 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 Guidelines5/5

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

Explicitly states when to call it: BEFORE answering questions about current state, when the user asks what happened on other devices/assistants, or at session start — even giving the trigger phrases. It also routes to alternatives by explaining how to narrow with kinds/tags/sources and how to record corrections with add_memory supersedes.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources