Skip to main content
Glama
xultrax-web

agent-memory-mcp

by xultrax-web

relevant_memories

Retrieve full memory content matching a query to provide detailed context for AI agents. Results are returned as a markdown document.

Instructions

Find memories relevant to a query and return their FULL content (not summaries). Designed for LLM ingestion — call this when the assistant needs context on a topic and the memory index alone isn't specific enough. Returns up to max memories as a markdown document.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxNoMax memories to include (default 5, capped at 20).
queryYesThe topic the assistant needs context on.
Behavior3/5

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

No annotations provided, so description fully responsible. Covers key behavior (returns full content as markdown, respects max cap). Does not disclose potential side effects, auth needs, or error conditions, but as a read-only tool this is acceptable.

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 sentences, front-loaded with purpose, no wasted words. Every sentence adds value.

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?

No output schema, but description adequately explains return format (markdown document). Mention of 'memory index' context and distinction from summaries helps agent choose among sibling tools. Minor gap: no mention of empty results.

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%, baseline 3. Description adds context: query is 'topic for context', max is 'capped at 20', result is 'full content as markdown' – improving understanding beyond schema.

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 uses a specific verb ('Find') and resource ('memories'), and explicitly distinguishes from siblings by emphasizing FULL content vs summaries, and LLM ingestion context.

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?

Clearly states when to call ('when the assistant needs context on a topic and the memory index alone isn't specific enough'), implying when not to use. Lacks explicit sibling alternative but guidance is strong.

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/xultrax-web/agent-memory-mcp'

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