Skip to main content
Glama

recall_memories

Read-onlyIdempotent

Search and retrieve saved memories with semantic ranking. Filter results by entity, project, conversation intent, stakeholder, or deadline to find precise, relevant past information for AI assistants.

Instructions

Search and retrieve saved memories with intelligent semantic ranking.

🎯 BASIC SEARCH: recall_memories(query="authentication") → Returns all memories about authentication, ranked by semantic relevance

🔍 FILTERED SEARCH (Phase 2 Knowledge Graph Intelligence): Use filters when you need PRECISION over semantic similarity:

✓ entity="name" - Find memories mentioning specific people/projects/technologies Example: entity="purmemo" → Only memories discussing purmemo

✓ has_observations=true - Find substantial, fact-dense conversations Example: has_observations=true → Only high-quality technical discussions

✓ initiative="project" - Scope to specific initiatives/goals Example: initiative="Q1 OKRs" → Only Q1-related memories

✓ intent="type" - Filter by conversation purpose Options: decision, learning, question, blocker Example: intent="blocker" → Only conversations about blockers

💡 WHEN TO FILTER:

  • Use entity when user asks about specific person/project by name

  • Use has_observations for "detailed" or "substantial" requests

  • Use initiative/stakeholder for project-specific searches

  • Use intent when user asks for decisions, learnings, or blockers

📝 COMBINED EXAMPLES: recall_memories(query="auth", entity="purmemo", has_observations=true) → Find detailed technical discussions about purmemo authentication

recall_memories(query="blockers", intent="blocker", stakeholder="Engineering") → Find engineering team blockers

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of memories to return
queryYesSearch query - can be keywords, topics, or specific content
entityNoFilter by entity name (people, projects, technologies). Use when user asks about a specific person, project, or technology by name. Example: entity="Alice" finds only memories mentioning Alice. More precise than semantic search. Supports partial matching.
intentNoFilter by conversation intent/purpose. Options: "decision" (decisions made), "learning" (knowledge gained), "question" (open questions), "blocker" (obstacles/issues). Use when user asks specifically for one of these types. Example: intent="decision" finds only conversations where decisions were made. Exact match only.
clusterNoScope recall to a CLUSTER's members ("reverse cluster search"). Accepts a cluster/project title (e.g. cluster="Personal Design Language") or a cluster UUID. A PROJECT name pulls every memory across all its themes; a THEME name pulls that theme. Use when the user asks for "everything about <project/topic>" — it returns the whole cluster, not just the embedding-nearest memories. Case-insensitive for titles.
deadlineNoFilter by deadline date from conversation context (YYYY-MM-DD format). Use when user asks about time-sensitive memories or specific deadlines. Example: deadline="2025-03-31" finds memories with March 31, 2025 deadline. Exact match only.
initiativeNoFilter by initiative/project name from conversation context. Use when user scopes search to specific project or goal. Example: initiative="Q1 OKRs" finds only Q1-related memories. Supports partial matching (ILIKE).
stakeholderNoFilter by stakeholder (person or team) from conversation context. Use when user asks about specific person's or team's involvement. Example: stakeholder="Engineering Team" finds memories where Engineering Team was mentioned as stakeholder. Supports partial matching (ILIKE).
includeChunkedNoInclude chunked/multi-part conversations in results
has_observationsNoFilter by conversation quality based on extracted observations (atomic facts). Set to true to find substantial, structured conversations with extracted knowledge (high-quality technical discussions, detailed planning). Set to false for lightweight chats. Omit to return all memories regardless of observation count. Use when user asks for "detailed", "substantial", or "in-depth" information.
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true, so the safety profile is fully covered. The description adds behavioral context by explaining ranking semantics ('ranked by semantic relevance'), the Phase 2 Knowledge Graph filtering capability, and filter behaviors like partial matching vs exact match for different filters. It does not describe pagination or total return behavior beyond the limit parameter, but the annotation coverage is strong.

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?

Well-structured with clear sections (BASIC SEARCH, FILTERED SEARCH, WHEN TO FILTER, COMBINED EXAMPLES) using emoji headers for visual scannability. The content is somewhat verbose with many examples, but each serves a distinct purpose (each filter has its own example). The combined examples at the end add practical value. Slightly longer than strictly necessary but well-organized and front-loaded with the core purpose.

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 10-parameter tool with no output schema, this description is remarkably complete. It covers all filter types with examples, provides usage timing guidance, distinguishes exact vs partial matching semantics, and gives combined real-world patterns. The sibling context shows this is a memory-retrieval tool among many, and the description effectively positions it as THE semantic memory search tool. No output schema exists, so return-format information would be valuable but the schema itself documents the limit parameter and the filter semantics are thoroughly covered.

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?

Schema coverage is 100% and each parameter already has rich descriptions with usage guidance and examples. The description adds value by showing FILTERED SEARCH patterns, the Phase 2 context, and combined examples like recall_memories(query='auth', entity='purmemo', has_observations=true). It also corrects/clarifies the 'stakeholder' parameter mentioned in the combined example that wasn't prominently promoted. However, some of this is redundant with the schema descriptions.

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 states a specific verb+resource ('Search and retrieve saved memories') with clear semantic ranking. It distinguishes itself from siblings like recall_public (public memories) and get_memory_details (single memory lookup) through its filter-focused identity. The extensive examples reinforce the core purpose.

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?

Provides explicit WHEN TO FILTER guidance with concrete use-cases ('Use entity when user asks about specific person/project by name', 'Use intent when user asks for decisions'). The description explains when filters are needed for PRECISION over semantic similarity, and demonstrates combined usage patterns. It clearly distinguishes filtered vs basic search scenarios.

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/purmemo-ai/purmemo-mcp'

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