Skip to main content
Glama

memory_recall

Retrieve stored text by semantic similarity to a natural-language query. Returns ranked matches with scores, enabling memory recall without exact keys.

Instructions

[$0.002/call, wallet required] Recall remembered text by similarity to a query (ranked by cosine similarity), not by exact key. Returns the top-k matches with scores. The retrieval half of the wallet-scoped semantic memory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kNoHow many matches (1-50, default 5)
ownerNoOptional 0x namespace (requires a grant)
queryYesNatural-language query
Behavior4/5

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

With no annotations provided, the description carries full burden. It discloses the cost ($0.002/call), wallet requirement, ranking method (cosine similarity), and return format (top-k with scores). However, it does not detail error handling, empty results, or authorization specifics beyond owner requiring a grant.

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?

The description is three sentences long, front-loaded with cost and requirement, then core functionality and outcome. Every sentence is essential, with no wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the lack of output schema and annotations, the description explains the tool's purpose and parameters adequately. However, it does not detail the return structure beyond 'top-k matches with scores', missing specifics like whether it returns an array or object, what fields each match contains, or how scores are presented.

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 description coverage is 100%, so the schema already documents all parameters. The description adds context by explaining query as natural-language and k as top matches count, but does not provide additional meaning beyond what the schema states. Baseline 3 is appropriate.

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 clearly states the tool recalls remembered text by similarity to a query using cosine similarity, and distinguishes itself from exact key retrieval. It also identifies itself as the retrieval half of wallet-scoped semantic memory, distinguishing it from sibling tools like memory_write and memory_read.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for similarity search rather than exact key, but does not explicitly state when to use this tool versus alternatives like memory_read (likely exact key) or memory_remember (write). It lacks explicit when-to-use or when-not-to-use 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/MikeyPetrillo/Agent402'

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