Skip to main content
Glama

sage_recall

Search memories semantically with filters for domain, confidence, and result limit. Optionally federate to connected SAGEs for broader recall.

Instructions

Search memories by semantic similarity. Searches this SAGE by default. When a domain is shared by another connected SAGE, set federated=true (or name exact federate_chains) to run an allowed live read through that connection. Use sage_federation first when you need to discover connected SAGEs or the remote domains they expose.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesNatural language search query
scopeNolocal searches only this SAGE; auto/federated also query connected SAGEs that expose this exact domain, using caller-safe local delegation.local
top_kNoNumber of results to return
domainNoFilter by domain tag
federatedNoAlso query connected SAGEs that currently allow this signed caller to read the exact domain.
min_confidenceNoMinimum confidence threshold 0-1
federate_chainsNoOptional exact remote chain IDs to query instead of every connected SAGE. Use sage_federation to discover them.
Behavior4/5

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

With no annotations, the description reveals default local search, federated behavior with 'allowed live read', and caller-safe delegation. Could mention read-only nature more explicitly, but it's sufficiently transparent.

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, front-loaded sentences with zero waste. Each sentence adds essential information: purpose, federated usage, and prerequisite tool reference.

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 core functionality and federated mode well. Lacks description of return format, but parameter descriptions cover details. Adequate for a search tool with rich parameter descriptions.

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%, so baseline is 3. Description adds value by explaining federated parameter usage and federate_chains workflow, going beyond parameter 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 clearly states the tool searches memories by semantic similarity, with specific verb 'search' and resource 'memories'. It distinguishes from siblings like sage_federation (discovery) and other non-search tools.

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?

Explicitly explains when to use federated mode (when a domain is shared) and directs to sibling sage_federation for discovery, providing clear when-to-use and 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/l33tdawg/sage'

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