Skip to main content
Glama
Olaverse MCP Server

Olaverse MCP Server

Official

detect_language

Identify the language of short or user-generated text across 608 languages, returning ISO 639-3 code, script, name, and confidence; choose traffic or coverage mode for chat or corpus use.

Instructions

Identify the language of a text among 608 languages (built African-first; good on very short text).

mode: "traffic" (user messages and chat; favours languages people actually use) or "coverage" (all languages equal, for building corpora). Returns the ISO 639-3 code, script, name, confidence and runners-up.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "text": "<text>"
    },
    "name": "detect_language"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNotraffic
textYes
top_kNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations supplied, the description carries the full burden and does well: it discloses the returned fields (ISO 639-3 code, script, name, confidence, runners-up) and flags a known behavioural trait — African-first training and strong performance on very short text. It omits operational traits such as latency, input length limits, or determinism, which keeps it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The capability, its caveats, and the mode split are front-loaded in three compact sentences with no filler. The dense parentheticals are informative rather than redundant, though the mid-sentence line break inside the mode explanation slightly hurts scannability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter, read-only inference tool with no output schema, the description covers purpose, model bias, mode selection, and return fields — everything needed to invoke it correctly. The only real gap is the undocumented `top_k` parameter, which an agent would have to infer from "runners-up".

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must supply the meaning it does for `mode`, defining both values and their behavioural difference — the highest-value contribution since the schema lists mode as an unconstrained string with no enum. However, `top_k` is never named (only hinted at via "runners-up") and `text` gets no length or encoding guidance, so compensation is partial.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Identify the language of a text") plus concrete scope: 608 languages, African-first training bias, and suitability for very short text. None of the siblings (decide, extract_document, generate_questions, get_extraction_job, restore_diacritics) do language identification, so the tool's niche is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use guidance for the two `mode` values: "traffic" for user messages and chat, "coverage" for building corpora where all languages count equally. That is real decision guidance rather than an implied default, though it does not state when not to use the tool (e.g. very long documents) or name any alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.