Skip to main content
Glama

Maindex Smart Memory Service

keep

Store a new memory in Maindex (Smart). Provide the content to persist, with optional headline, tags, collections, and metadata. Each call creates a distinct memory — not idempotent. CONTENT POLICY: NEVER store passwords, API keys, secrets, credit card numbers, SSNs, government IDs, medical/health records (PHI/HIPAA), biometric data, or any legally protected PII. Sanitize content before storing.

Input Schema

NameRequiredDescriptionDefault
tagsNoOptional tags for categorization.
teamNoTeam workspace slug when keeping into a team collection.
contentYesPrimary text to store; required.
rewriteNoFAILSAFE — defaults to false. When false (the default), content is stored exactly as provided with zero LLM processing. Set to true ONLY if the caller explicitly opts into LLM-assisted rewriting for improved clarity and structure. No content transformation occurs unless this flag is explicitly true.
headlineNoOptional headline; Smart may generate one if omitted.
metadataNoOpaque JSON metadata stored with the memory.
collectionNoTarget team collection slug. Required when team is set.
collectionsNoCollection slugs or IDs to add the new memory to.

Output Schema

NameRequiredDescriptionDefault
memoryYesThe created memory object, or null on failure
successYesWhether the memory was created successfully
traceIdYesTrace ID for debugging

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources