Malayalam lexical knowledge base built on the Olam English–Malayalam corpus. Exposes dictionary retrieval tools for exact, fuzzy, and semantic lookup.
Three tools with clear, well-structured descriptions (50-150 chars each) and complete input schemas. All parameters are typed and described. However, output schemas are not documented, and error handling guidance is absent. Tool names follow verb_noun convention (exact_lookup, fuzzy_lookup, semantic_lookup) but lack action clarity, 'lookup' is passive; 'search' would be more idiomatic. No tool annotations (readOnlyHint, etc.) despite all being read-only. Schemas are present and valid JSON Schema, but response structures are not specified in tool definitions.
Look up a word by exact headword match (case-insensitive). Use this when you know the precise spelling of the English word. Returns all dictionary entries whose headword exactly matches the query.
Search for words by approximate headword similarity (trigram / pg_trgm). Use this for misspellings, typos, or near-matches where the exact spelling is uncertain. Returns headwords whose trigram similarity to the query exceeds the threshold.
Search for words by meaning similarity using sentence embeddings (HNSW cosine search). Use this for conceptual queries, paraphrases, or when you do not know the exact headword. Encodes the query with a multilingual sentence-transformer and retrieves the nearest entries.
Output schemas not documented. Tool descriptions do not specify what fields are returned or the structure of results. LLMs cannot plan downstream operations or extract required data without knowing response shape.
No error handling guidance. Descriptions do not explain what happens on failure (e.g., no matches found, invalid threshold, corpus not found). LLMs have no recovery path.
Tool names use 'lookup' (passive) instead of 'search' (active verb). 'search_exact', 'search_fuzzy', 'search_semantic' would better signal intent and align with 90% of A+ tools starting with action verbs.
Missing tool annotations. All three tools are read-only but lack readOnlyHint annotation. This prevents agents from understanding safety properties and optimizing caching/retry logic.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 59 | 2026-07-28+ | v2 |
Parameter 'threshold' in fuzzy_lookup lacks validation constraints. Description says '0 - 1' but does not specify what happens if LLM passes 1.5 or -0.1. No min/max bounds in schema visible.