Skip to main content
Glama
Olaverse MCP Server

Olaverse MCP Server

Official

restore_diacritics

Restore missing diacritics, tone marks, or Arabic vowel marks in plain text for Yorùbá, Igbo, Hausa, Vietnamese, Polish, Turkish, Portuguese, Spanish, French, Italian, or Arabic.

Instructions

Put back diacritics, tone marks or Arabic vowel marks in text typed without them.

language: yor (Yorùbá), ibo (Igbo), hau (Hausa), vie, pol, tur, por, spa, fra, ita or ara (Arabic). Example: "se eranko naa si gbo o?" (yor) -> "ṣé ẹranko náà sì gbọ́ ọ?"

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>",
      "language": "<language>"
    },
    "name": "restore_diacritics"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
languageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations and no output schema, the description carries the full burden, and the worked example ('se eranko naa si gbo o?' -> 'ṣé ẹranko náà sì gbọ́ ọ?') is genuinely valuable because it shows the exact input-to-output transformation. It still omits behavior for unsupported or ambiguous languages, whether output is the full text or only changed segments, and whether any network/auth constraints apply.

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?

Two compact blocks: a purpose sentence followed by the language set and one concrete example. Nothing is padded, and the core action is front-loaded. The 'language:' fragment leading into the list is slightly telegraphic but still readable.

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

Completeness3/5

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

For a two-parameter text transformation with no annotations and no output schema, the definition covers purpose, accepted languages, and an illustrative transformation, which is most of what an agent needs. It is not complete: return-value shape, already-diacritized input behavior, and the detect_language handoff are unaddressed.

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

Parameters4/5

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

Schema coverage is 0% — both parameters are bare strings titled 'Text' and 'Language' — so the description must compensate, and it largely does by enumerating accepted language codes with parenthetical native-name expansions (yor/Yorùbá, ara/Arabic, etc.). It leaves gaps: whether full language names are also accepted, case sensitivity, and whether the list is exhaustive (the 'or' phrasing suggests a closed set but is ambiguous).

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

Purpose4/5

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

States a specific verb and resource: it re-inserts diacritics/tone marks/Arabic vowel marks into text typed without them, and scopes that to a named set of languages. The purpose is unambiguous against siblings like detect_language or decide. It stops short of explicitly naming the sibling it is not, so a 4 rather than a 5.

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

Usage Guidelines3/5

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

'in text typed without them' implies the triggering condition, so an agent can infer when the tool applies. However, there is no guidance on the nearest decision point: whether to call detect_language first when the language is unknown, or what to do if the text already contains diacritics. No alternatives or exclusions are named.

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