Skip to main content
Glama

Reflect

reflect
Destructive

Perform memory maintenance: summarize, promote, expire, decay, or archive. Use dry run to preview changes before applying.

Instructions

Maintenance tool. Use only when the user/admin asks to summarize, promote, expire, decay, or archive via reflection. Prefer dry_run unless changes are explicitly requested.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of results to return.
scopeNoOptional scope that narrows memory access; leave blank for the token default.
sinceNoOnly include memories or activity on or after this ISO 8601 timestamp.
untilNoOnly include memories or activity on or before this ISO 8601 timestamp.
bucketNoMemory bucket or namespace to read from or write to; use % only for tools that support wildcard reads.%
dry_runNoPreview the maintenance action without applying changes.
team_idNoOptional team/workspace identifier for team-scoped memory access.
actions_csvNoComma-separated maintenance actions to run, such as summarize, promote, expire, decay, or archive.summarize,promote,expire,decay,archive
path_filterNoMemory path filter; % matches all paths.%
owner_filterNoOptional owner/user filter for administrative maintenance tools.
time_window_hoursNoNumber of recent hours to inspect during reflection maintenance.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare destructiveHint=true, reducing the transparency burden. The description adds that it is a maintenance tool and suggests dry_run for safety, which aligns with the destructive nature. No contradiction.

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

Conciseness5/5

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

Two concise sentences, no wasted words. Front-loaded with purpose and usage guidance. Excellent structure.

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

Completeness4/5

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

Despite 11 parameters and missing output schema details, the description covers core usage and safety. The schema handles parameter documentation, and output schema is present, so the description is sufficient for an agent to decide when to invoke.

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?

Schema description coverage is 100%, so parameters are well-documented. The description reinforces the dry_run parameter's importance but adds minimal new meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies 'reflect' as a maintenance tool for specific actions (summarize, promote, expire, decay, archive). It lacks explicit differentiation from sibling tools like 'run_lifecycle' or 'forget', but the action list provides specificity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

The description specifies when to use the tool (only when user/admin asks for those reflection actions) and advises preferring dry_run unless changes are explicitly requested. It provides clear context but does not exclude alternative tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yonro/memory-os-cli'

If you have feedback or need assistance with the MCP directory API, please join our Discord server