Skip to main content
Glama
kaminocorp
by kaminocorp

search_memories

Search semantic memories of an AI agent to retrieve past experiences ranked by similarity. Use this to find specific interactions with adjustable threshold and limit.

Instructions

Semantic search across an Anima's memories. Returns memories ranked by similarity to your query. Use this when you want to find specific past experiences or interactions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query
anima_idNo
limitNoMax results (default: 10)
thresholdNoMin similarity 0-1 (default: 0.7)
Behavior3/5

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

No annotations provided, so description carries full burden. It mentions semantic search and ranking by similarity, which is helpful, but doesn't disclose whether it's read-only, required auth, rate limits, or behavior on empty results. Adequate but not comprehensive.

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 redundant words. Efficient and to the point.

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?

Lacks output schema or description of return format. The tool is simple, but missing details about response structure (e.g., returns memory IDs and similarity scores) reduces completeness for an agent.

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 75% of parameters with descriptions. The description adds context (semantic search, ranking) but does not elaborate on anima_id or parameter specifics beyond schema. Marginal added value over 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 clearly states it performs semantic search across memories and returns ranked results. It distinguishes itself from siblings like search_knowledge (for knowledge) and get_identity, making the purpose unambiguous.

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 says 'Use this when you want to find specific past experiences or interactions,' providing clear usage context. Lacks explicit exclusions or alternatives, but the sibling list and resource type imply when not to use.

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/kaminocorp/elephantasm-mcp'

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