Skip to main content
Glama
DeclanFinerty

Computer Index

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
searchA

Semantic (meaning-based) search across all indexed files.

Use for conceptual questions where the exact wording is unknown, e.g. "my notes on value functions" or "that paper about cousin marriage". For an exact term, function name, or literal phrase, use search_keyword instead. Returns ranked chunks with file path, file_id, and cosine distance (lower = closer). Requires the ollama server to be running.

search_keywordA

Exact keyword / phrase search over extracted file text (FTS5, BM25-ranked).

Use when looking for a specific term, function name, or literal phrase rather than a conceptual match — semantic search is weak at exact matches. Supports FTS5 syntax: AND / OR / NOT, "quoted phrases", and prefix* wildcards. For meaning-based questions use search instead. Returns files with a matching snippet and file_id, best matches first.

get_file_contentA

Read an indexed file's text by file_id (from a search result).

Two modes:

  • around_chunk < 0 (default): the whole extracted text. Large files are capped — prefer a window (below) to read a specific part of a big doc.

  • around_chunk >= 0: that chunk plus radius chunks on each side, in order. This is how you expand around a specific search hit: pass the file_id and the chunk index the search returned to get its surrounding context.

list_filesA

Browse indexed files by metadata (not a content search).

Filter by extension (e.g. "pdf", no leading dot) and/or name_contains (a substring matched anywhere in the full path — a filename or a folder). Use for exploration like "my PDFs under Documents" or "notebooks named train". Returns file_id, size, and path, largest first.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.4/5.0

Scored across 4 tools

Disambiguation5/5

Each tool targets a distinct operation: semantic search, keyword search, content retrieval, and file browsing. Their descriptions clearly differentiate use cases, reducing ambiguity.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern (search, search_keyword, get_file_content, list_files), making it predictable.

Tool Count5/5

4 tools is appropriate for a file index server, covering search, retrieval, and browsing without unnecessary bloat or missing core functionality.

Completeness4/5

The set covers search (semantic and keyword) and file content access, but lacks a tool for indexing or updating files. However, for a query-only server this is acceptable.

Maintenance

ActivitySlowing
ResponsivenessNo issues