Skip to main content
Glama

memory_search

Read-only

Search shared memory by meaning to find prior decisions and avoid duplication. Uses natural language queries to retrieve semantically relevant entries.

Instructions

Search shared memory by meaning. Call this before starting work.

Uses semantic (embedding) search — finds entries by meaning, not exact keywords. Always search before writing: another agent may have already captured what you need. Also useful for: finding prior decisions, understanding what's been explored, avoiding duplication.

Args: q: What you're looking for, in natural language. project: Restrict to a project. Defaults to MCP_PROJECT if set. tag: Restrict to entries with this tag. limit: How many results (default 10, max 50).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qYesWhat you're looking for, in natural language.
projectNoRestrict to a project. Defaults to MCP_PROJECT if set.
tagNoRestrict to entries with this tag.
limitNoHow many results (default 10, max 50).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint=true. The description adds that search is semantic (embedding-based), which is behavioral information beyond annotations. No contradictions, and it explains the search method.

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 front-loaded with the main action and purpose, followed by helpful usage guidance. The Args section is a bit redundant with the schema but maintains clarity. No unnecessary sentences.

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?

For a read-only search tool with 4 parameters, 100% schema coverage, and an output schema (not shown), the description adequately covers purpose, usage context, and parameter meaning. It doesn't need to explain return values due to output schema.

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%, and the tool description repeats the same parameter descriptions from the schema (e.g., 'What you're looking for, in natural language'). It adds no new semantic meaning beyond what the schema already provides, meeting the baseline but not exceeding.

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 'Search shared memory by meaning' with a specific verb and resource. It distinguishes from sibling tools like memory_list or memory_get by emphasizing semantic search over listing or direct retrieval.

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?

The description explicitly advises to call before starting work and to always search before writing, indicating primary use case. It also lists useful scenarios like finding prior decisions and avoiding duplication, though it doesn't explicitly state 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/NicolasPrimeau/artel'

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