Local AI inference for Africa — Ollama, open weights, degraded-mode fallbacks. 6 tools.
offline-mcp has 6 tools with basic descriptions and minimal input schemas. All tools are READ_ONLY and well-intentioned for offline AI inference in East Africa. However, critical gaps exist: (1) Most parameter descriptions are present but generic; (2) Output schemas are not documented, responses are inferred from code inspection; (3) Error handling is minimal, tools return error dicts but lack recovery guidance; (4) No tool annotations (readOnlyHint, idempotentHint) despite all being read-only; (5) Parameter validation is weak, no enums, ranges, or format constraints. Tool names follow verb_noun convention (check_, run_, list_, open_) which is good. Descriptions range 50 - 150 chars, meeting the 10 - 1024 baseline. However, descriptions lack WHEN/WHY context and actionable next steps. Per-tool scores average 52, placing this in the 'poor' range (50 - 59).
Check if Ollama is running locally and list available models.
Guide for operating AI systems when cloud connectivity fails.
List recommended open-weight models for East Africa AI use cases.
Guide to deploying local AI inference on modest hardware in Kenya/East Africa.
Directory of open-weight AI models suitable for East Africa civic use cases.
Run a prompt through a local Ollama model.
Output schemas not documented. Tools return dicts with varying fields (e.g., check_ollama_status returns {ollama_running, models_available, count, api_endpoint} but LLMs cannot see this contract). LLMs cannot plan downstream calls or extract fields reliably.
Parameter descriptions lack actionable constraints. 'use_case' and 'device_type' accept free-form strings with no enum, pattern, or valid-value list. LLMs will hallucinate invalid values (e.g., device_type='quantum_computer').
Error handling lacks recovery guidance. run_local_inference returns {status: 'error', error: str(e), fallback: '...'} but does not categorize errors as retryable vs. fatal. LLMs cannot decide whether to retry, ask user, or abort.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 58 | 2026-07-28+ | v2 |
No tool annotations despite all tools being read-only. FastMCP supports readOnlyHint, idempotentHint, and destructiveHint. Absence forces LLMs to infer safety from descriptions, increasing hallucination risk.
Descriptions lack WHEN/WHY context. 'Check if Ollama is running locally and list available models' does not explain when to call this vs. run_local_inference, or what to do if Ollama is not running. LLMs cannot prioritize tool selection.