Skip to main content
Glama

recall_with_context

Read-only

Retrieves memories and merges them with external conversation context, deduplicating and sorting chronologically to return a unified list.

Instructions

Recall memories and merge with external conversation context. Automatically deduplicates, sorts chronologically, and returns a unified list. Replaces separate recall + manual merge in the caller.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYesAgent ID
queryYesSearch query
external_contextNoConversation history entries [{role, name?, user_id?, content, timestamp?}, ...]
limitNoMax recalled memories
channelNoMemory channel filter
deepNoDisable time decay
Behavior5/5

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

Describes deduplication, chronological sort, and unified list output. Annotations (readOnlyHint) are consistent; description adds valuable behavioral details beyond annotations.

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?

Three concise sentences, front-loaded with purpose, no waste.

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?

Covers main behavioral aspects. Missing detailed return format but acceptable given no output schema; overall adequate for a read tool.

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 covers 100% of parameters with descriptions; description adds no extra parameter details beyond schema, so baseline 3 applies.

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?

Clear verb+resource: 'Recall memories and merge with external conversation context'. Distinct from sibling 'recall' by specifying merge functionality.

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?

Explicitly states 'Replaces separate recall + manual merge', implying when to use this tool. No explicit when-not, but context is clear.

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/Cloto-dev/CPersona'

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