| health_check | src/agletras_mcp/server.py | Liveness probe: verifies local server and storage connectivity. (no args) |
| fetch_url | src/agletras_mcp/webfetch.py | SSRF-guarded HTTP/HTTPS page retrieval with readable text extraction. (url, max_chars, save, title, notes) |
| search_web | src/agletras_mcp/search.py | Multi-provider web search (DuckDuckGo, Wikipedia) with normalized results. (query, max_results) |
| extract_pdf | src/agletras_mcp/pdf.py | Page-by-page PDF extraction using pypdf with character locator tracking. (source, max_pages, max_chars, save, title, notes) |
| collect_sources | src/agletras_mcp/collect.py | Parallel ingestion across URLs, local files, and search queries with deduplication. (sources, search, search_limit, max_chars, save, include_text, concurrency) |
| collect_local_folder | src/agletras_mcp/localfs.py | Recursive directory traversal with path-containment guards for approved folders. (folder, recursive, extensions, max_files, save, include_text) |
| extract_document | src/agletras_mcp/officedoc.py | Unified text extraction from DOCX, XLSX, CSV, and Markdown without external runtime deps. (source, max_chars, save, title, notes) |
| save_source | src/agletras_mcp/storage.py | Persists an extracted source record with SHA-256 fingerprint into SQLite. (kind, title, content, url, path, notes) |
| get_source | src/agletras_mcp/storage.py | Retrieves a stored source record by ID with metadata and passages. (source_id, include_content, include_passages) |
| list_sources | src/agletras_mcp/storage.py | Lists stored source records with pagination, ordered newest first. (limit, offset, kind, source_type) |
| search_sources | src/agletras_mcp/storage.py | Full-text keyword search across stored source titles and extracted content. (query, limit) |
| export_report | src/agletras_mcp/report.py | Compiles collected sources into a structured Markdown summary report. (title, source_ids, query, limit, include_excerpts) |
| stats | src/agletras_mcp/storage.py | Returns operational storage metrics: total sources, passages, runs, and DB size. (no args) |