Skip to main content
Glama

mneme_search

Retrieve ranked search results from a vault with BM25 full-text search, supporting Turkish casefold normalization, date and type filters, and returning annotated evidence cards with trust and confidence labels.

Instructions

Retrieval over the vault. v1.0 ships FTS5 BM25 with Turkish casefold normalization. Optional date and frontmatter type filters. Returns ranked hits with snippets. The cards array (EvidenceCard) is the preferred output and carries content_hash, trust, and confidence_label. Each card carries a backend field identifying which retrieval leg produced it (fts5, dense, kg). The backends_used array lists every backend that returned at least one hit. hits is kept for backward compatibility.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesFree-text query.
top_kNo
filtersNo
min_query_lengthNo
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 retrieval algorithm (FTS5 BM25, Turkish normalization), optional filters, and important output details (cards array with content_hash, trust, confidence, backend field, backends_used array). It also notes backward compatibility for 'hits', adding transparency without contradictions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is efficiently structured: main purpose, algorithm, filters, output details. It is concise with no fluff, though it could be organized into bullet points for easier parsing.

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?

Given no output schema, the description thoroughly explains the output structure (cards with fields, backends_used). It covers filters and backward compatibility. Missing details like snippet format or pagination, but top_k covers result count.

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 coverage is low (25%), so description must compensate. It explains 'query' as free-text, 'top_k' default 10 max 50, and implies filters for date and type. However, it does not detail 'min_query_length' and misses that the schema already defines filter enum values. Adds some value but not enough for full clarity.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it performs retrieval over the vault with FTS5 BM25 and Turkish normalization. It specifies optional filters and returns ranked hits with snippets. However, it does not explicitly differentiate from sibling tools like mneme_recall or mneme_timeline, relying on the name to imply search.

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

Usage Guidelines2/5

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

The description mentions optional date and frontmatter type filters but provides no guidance on when to use this tool versus its siblings (mneme_prime, mneme_recall, etc.). There is no explicit alternative naming or when-not-to-use advice.

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/TheGoatPsy/mneme'

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