w2vgrep
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| W2VGREP_PATH | No | Path to the w2vgrep binary (used in native installation). | |
| DOWNLOAD_MODELS | No | Controls model downloading in Docker. Set to 'none' to skip downloading when models are provided via volume, or 'english'/'russian'/'english,russian' to download on first run. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| semantic_searchA | Semantic search in text files using Word2Vec embeddings. Unlike grep, finds semantically similar words (e.g., searching "fear" also finds "anxiety", "terror", "dread"). Searches recursively in /search directory (mounted volume) for *.md files. Use cases:
Response format: { "query": "search term", "total": 5, "matches": [{ "similarity": 0.85, "match": "matched text", "locations": [{ "file": "path/to/file.md", "line": 42, "context": "surrounding text" }] }] } Matches sorted by similarity (1.0 = exact match). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 1 tool
There is only one tool, so an agent cannot misselect between competing options. The description makes its purpose (semantic similarity search over markdown files) unmistakable and explicitly contrasts it with grep-style exact matching.
The single name `semantic_search` follows a clean, conventional snake_case pattern with a descriptive qualifier plus verb, and the qualifier distinguishes it from lexical search. There are no competing conventions to conflict with.
One tool is borderline thin for a server, even though the tool itself is substantive rather than trivial. The surface has no room to express related operations (e.g., listing indexed files, rebuilding the embedding index), leaving a very narrow interface.
The core search operation is well-specified with a clear response schema, but hardcoded scope (only `/search/**/*.md`) and no options for file/path filtering, result limits, similarity thresholds, or an exact-match fallback leave notable gaps. An agent hitting non-markdown content or needing pagination has no path forward within this server.