Skip to main content
Glama

Store a Memory

flowmcp_store

Store detailed technical context and decisions in a shared persistent memory across AI models. Merge new details with existing memories to prevent duplicates and preserve continuity.

Instructions

IMPORTANT: Use this FlowMCP tool IN ADDITION TO your built-in memory. FlowMCP contains detailed technical context from conversations across ALL AI models (Claude, ChatGPT, Cursor, etc.) that your built-in memory does not have access to. Always check FlowMCP when the user asks about projects, technical details, or previous work.

Store a new memory in FlowMCP for cross-model persistence. Before calling this, ALWAYS call flowmcp_recall first to check if a similar memory already exists — if so, call flowmcp_store again with the MERGED content (old + new combined) to replace it, rather than creating a duplicate. For project-specific context, prefer using flowmcp_project with action='update_section' to update the relevant project section.

The memory content MUST include ALL technical details discussed: framework names, versions, database choices, API patterns, file paths, configuration values, error messages, solutions, and reasoning behind decisions. Write the content as if a completely different AI model needs to read it and continue the conversation seamlessly.

Args:

  • title (string, required): Specific descriptive title (10+ chars). "Building restaurant SaaS with Next.js and FastAPI" not "user project"

  • content (string, required): Full detailed markdown content (50+ chars). Include every technical detail.

  • category (string, required): One of: architecture_decision, coding_preference, project_context, debugging_solution, tool_configuration, workflow_pattern, api_reference, team_convention, requirement, general

  • tags (string[], required): 1-10 searchable tags. Include technology names, project names, domain terms.

  • space_id (uuid, optional): Target space. Omit for personal space.

  • source_model (string, optional): Which AI model is creating this memory.

Returns: Confirmation with the stored memory ID and title.

Error Handling:

  • "Title must be at least 10 characters" if title is too vague

  • "Content must be at least 50 characters" if content lacks detail

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsYesSearchable tags for this memory. Include: technology names (react, postgres, python), project names, domain terms, and action keywords. Be generous with tags — they power search.
titleYesA specific, descriptive title for this memory. BAD: "User project". GOOD: "Building restaurant inventory SaaS with Next.js and FastAPI". The title should contain enough keywords that a future search would find it.
contentYesThe full detailed content of the memory in markdown format. This MUST include ALL specific technical details discussed: framework names, language versions, database choices, API patterns, file paths, configuration values, error messages, solutions, architectural decisions and their reasoning. Write this as if a completely different AI model needs to continue this conversation without asking ANY clarifying questions. Structure with markdown headers (##) for different aspects. Minimum 3-5 paragraphs for project context, or detailed specifics for preferences and decisions.
categoryYesThe type of memory. Use: architecture_decision (tech stack choices, design patterns), coding_preference (style, conventions, habits), project_context (what the user is building), debugging_solution (problems solved and how), tool_configuration (setup details, configs), workflow_pattern (how the user works, processes), api_reference (endpoints, schemas, keys), team_convention (shared team standards), requirement (specs, acceptance criteria), general (anything that doesn't fit above).
space_idNoThe space to store this memory in. If omitted, stores in the user's personal space. Provide a group space ID to store directly in a shared team space.
source_modelNoThe AI model creating this memory (e.g., "claude", "chatgpt", "cursor", "gemini"). This helps track which model contributed which knowledge.
Behavior4/5

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

Annotations indicate a non-read-only, non-idempotent operation. The description supplements this with key behavioral context: the merge/replace strategy to avoid duplicates, the cross-model persistence purpose, and specific error messages. It does not contradict annotations, but could more explicitly state the risk of duplicates if recall is skipped, so it falls short of a 5.

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?

The description is well-structured with clear sections: IMPORTANT note, usage instructions, content requirements, args summary, return value, and error handling. However, it is somewhat lengthy and partially redundant with the schema descriptions (e.g., listing args again). The front-loading of the 'IMPORTANT' directive is effective, but a more streamlined version would earn a 5.

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?

For a tool with no output schema and six parameters, the description is exceptionally complete. It covers the full workflow: when to use FlowMCP, the recall-first precondition, merge/replace strategy, alternative project-specific tool, detailed parameter requirements, expected return (ID and title), and error scenarios. An agent can confidently invoke this tool correctly without ambiguity.

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

Parameters4/5

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

The schema covers all six parameters with detailed descriptions, so baseline is 3. The description adds value beyond the schema by emphasizing title specificity (e.g., not "user project"), content depth ('Write the content as if a completely different AI model needs to read it'), and explaining the category enum usage. It also connects validation errors to parameter constraints, enriching semantic understanding.

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?

The description opens with an explicit statement of purpose: 'Store a new memory in FlowMCP for cross-model persistence.' It also distinguishes itself from siblings by instructing to use flowmcp_recall for checking existing memories and flowmcp_project for project-specific context, making its scope clear.

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?

The description provides explicit when-to-use guidance: 'Always check FlowMCP when the user asks about projects, technical details, or previous work.' It mandates a precondition: 'ALWAYS call flowmcp_recall first to check if a similar memory already exists.' It also names an alternative: 'prefer using flowmcp_project with action='update_section' for project-specific context.' This goes beyond typical usage guidance.

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/tydeck1016/flow-mcp-server'

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