Skip to main content
Glama

Search one project's memory

ygg_search
Read-onlyIdempotent

Search a project's durable memory using free-text queries and optional type filters to find specific matches like decisions, lessons, or fixes.

Instructions

Search ONE project's durable memory with a free-text query and optional type filter — the precise, in-project lookup. Use when you know the project and want specific matches (e.g. every 'fix' about auth); for cross-project discovery use ygg_recall, to load a project's whole context use ygg_bootstrap. Lexical BM25 plus semantic ranking when embeddings are enabled.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jsonNoReturn raw JSON instead of formatted text (default false). Set true to parse fields programmatically.
typeNoOptional filter to one memory category. Omit to search all types.
limitNoMaximum results to return (default 5).
queryYesFree-text query describing what you're looking for, e.g. "flaky e2e tests".
projectYesProject to search within — typically the git repo name, e.g. "webdesk".
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint. Description adds that it uses 'Lexical BM25 plus semantic ranking when embeddings are enabled', which is beyond annotations and helps understand behavior. No contradictions.

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 3-4 sentences, front-loaded with the core action, then usage guidance, then technical detail. No fluff, every sentence earns its place.

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 the main aspects: scope (one project), query, type filter, alternative tools, and algorithm. No output schema exists, but description doesn't explain return format (though schema has a json parameter for raw output). Almost complete.

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 100% with good descriptions. The description mentions 'free-text query and optional type filter' but adds little extra beyond the schema. 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 searches ONE project's durable memory with free-text query and optional type filter. It uses specific verb-search and resource-project memory, and differentiates from siblings like ygg_recall and ygg_bootstrap.

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 states when to use: 'Use when you know the project and want specific matches'. Provides alternatives for cross-project (ygg_recall) and whole context (ygg_bootstrap). No ambiguity.

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/VonderVuflya/Yggdrasil'

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