Exposed MCP Tools
5 Atomic Tools • ReadOnly • Dual-Emit
The Eldamo server implements the Model Context Protocol (MCP) over Streamable HTTP and SSE, providing agents with low-latency structured queries, diachronic etymology trees, and speech synthesis. All tools return dual-emit payloads (human-readable Markdown and strongly typed JSON structuredContent).
Search Lexicon
Full-text and prefix search across 22,700+ words, English glosses, grammatical forms, and etymological notes. Returns ranked results capped at 50 entries.
query (required): search stringlanguage: 'q' (Quenya), 's' (Sindarin), etc.speech: part of speech (noun, verb, etc.)category: semantic domain filterWord Details
Fetches full linguistic entry metadata, historical corpus attestations, phonetic spellings, inflections, cognates, and editorial notes by unique Eldamo ID.
id (required): unique entry page ID (e.g. "word-2508883201")Derivation Tree
Traverses diachronic evolution trees: trace roots back to Primitive Quendian ancestors or explore branching descendant paths across daughter languages.
id (required): unique entry page IDdirection: "ancestors" or "descendants"Root Anchors
Retrieves attested proper nouns (character names, places, weapons, celestial bodies) historically derived from a specific root to anchor new word creations.
id (required): root or base entry IDPronounce Elvish
Performs phonological G2P transcription and invokes the neural Kokoro voice pipeline to generate authentic WAV/audio pronunciations with accurate syllable stress and vowel lengths.
text (required): Elvish textvoice: sarah, bella, adam, emma, +9 voicesspeed: float (default: 0.8)
Pre-configured guided workflows sharing single-source rules with A2A skills: tolkien-translation, tolkien-name-generator, and neologism-builder.
Inspect live server state and capabilities via standard URIs: eldamo://agent-card (agent capabilities JSON) and eldamo://lexicon/stats (in-memory word and index counts).
Linguistic Agent Skills (A2A)
A2A Protocol • /a2aWhile MCP provides low-level lexicon retrieval, our Agent2Agent (A2A) surface enables interactional tasks orchestrating sound-laws, grammar, and LLM reasoning.
Elvish Name Generator
Generates grammatically authentic Quenya or Sindarin personal, place, or weapon names by compounding historical roots with phonological mutations.
Elvish Translator
Translates modern English text into Quenya or Sindarin, applying authentic case morphology (allative, genitive, locative) with Vertex AI Gemini grounding.
Neologism Builder
Coins new Elvish vocabulary for modern concepts following historical Primitive Elvish roots and diachronic Sound Laws (both practical and poetic paths).
Direct A2A Interaction with
a2acli# 1. Discover the agent card
a2acli discover -u https://candir.mithlond.com
# 2. Invoke a skill directly (with your OAuth Bearer JWT)
a2acli send "Generate a name for a star in Quenya" \
-u https://candir.mithlond.com \
--token "$MITHLOND_ACCESS_TOKEN" \
--wait --output text
Sample AgentCard Discovery Response (GET /.well-known/agent-card.json)
{
"name": "Eldamo Elvish Agent",
"version": "0.2.0",
"description": "Agentic access to Paul Strack's Eldamo Tolkien-language lexicon. Skills: Quenya/Sindarin name generation (deterministic, lexicon-grounded), morphologically-guided translation (LLM-backed, streaming), and dual-path neologism construction with phonotactic scoring (LLM-backed, two artifacts).",
"supportedInterfaces": [
{
"url": "https://candir.mithlond.com/a2a",
"protocolBinding": "JSONRPC",
"protocolVersion": "1.0"
}
],
"capabilities": {
"streaming": true,
"extendedAgentCard": true
},
"defaultInputModes": ["text"],
"defaultOutputModes": ["text"],
"skills": [
{
"id": "name-generate",
"name": "Elvish Name Generator",
"description": "Generates grammatically authentic Quenya or Sindarin names by searching the Eldamo lexicon for roots matching concept keywords and applying historical compounding rules.",
"tags": ["linguistics", "names", "quenya", "sindarin", "tolkien"],
"examples": [
"name star silver quenya",
"name grey flame sindarin",
"name ocean wisdom feminine sindarin",
"name strong mountain masculine quenya"
]
},
{
"id": "translate",
"name": "Elvish Translator",
"description": "Translates English text into Quenya or Sindarin, applying correct morphology, case endings, and consonant mutations. LLM-backed (Vertex AI Gemini or a local llama.cpp/mlx_lm.server Gemma model) with Eldamo lexicon context.",
"tags": ["linguistics", "translation", "quenya", "sindarin", "tolkien"],
"examples": [
"translate farewell my friend to quenya",
"translate to sindarin: the grey havens",
"translate a star shines on the hour of our meeting to quenya"
]
},
{
"id": "neologism",
"name": "Elvish Neologism Builder",
"description": "Constructs new Elvish words for modern concepts using two stylistic paths (Practical and Poetic), the Anchorage Protocol, phonotactic constraints, and a 100-point scoring matrix.",
"tags": ["linguistics", "neologism", "quenya", "sindarin", "tolkien"],
"examples": [
"neologism hover-board quenya",
"coin a word for artificial intelligence sindarin",
"invent: blockchain in quenya"
]
},
{
"id": "echo",
"name": "Echo",
"description": "Diagnostic: echoes the supplied text back. Requires only agent:invoke.",
"tags": ["diagnostic"]
}
],
"securitySchemes": {
"mithlond-oauth": {
"oauth2SecurityScheme": {
"flows": {
"authorizationCode": {
"authorizationUrl": "https://www.mithlond.com/mcp-auth",
"tokenUrl": "https://candir.mithlond.com/api/oauth/token",
"pkceRequired": true,
"scopes": {
"agent:invoke": "Send messages to the Eldamo A2A agent",
"lexicon:read": "Search and read the Eldamo Tolkien lexicon",
"audio:generate": "Synthesize Elvish pronunciation audio via the TTS proxy",
"skill:name-generate": "Use the Elvish name-generation skill",
"skill:translate": "Use the Elvish translation skill",
"skill:neologism": "Use the Elvish neologism-builder skill"
}
}
}
}
}
}
}
Neural Pronunciation Synthesis
Kokoro-rs • render_elvish_audio
Hear authentic Elvish cadence and vowel length. The render_elvish_audio MCP tool executes grapheme-to-phoneme (G2P) transcription and synthesizes streaming audio via the Kokoro neural voice pipeline.
The Elvish word, phrase, or poem (up to 2,000 chars, e.g. "Elen síla lúmenn’ omentielvo").
13 Kokoro voices: sarah (default), bella, nicole, adam, michael, plus British voices (emma, alice, daniel, george, etc.).
Playback speed (0.5–2.0): defaults to 0.8 for optimal phonetic clarity.
Sample Pronunciations
Connect Your Assistant
MCP Streamable HTTP / SSECursor (IDE)
Settings → Models → MCP → Add New MCP Server
Save settings and start querying the Eldamo lexicon directly inside Cursor chat (e.g. "Search the lexicon for 'star'").
Stateless OAuth 2.1 Security Model
The Mithlond server enforces zero-trust security with stateless signed HMAC-SHA256 JWT access tokens (MITHLOND_ACCESS_TOKEN). During active queries, lookups are validated entirely in-memory for sub-millisecond response times.
1. Authorized Users Allowlist: To prevent unauthorized API consumption, logging in with Google is verified against the server's authorized_users allowlist. Sign in at the Access & Request Portal to submit an access request or check your account's authorization status.
2. Tiered Scope Model (Baseline vs. Upgrade): Newly approved accounts receive the Baseline Tier (lexicon:read, agent:invoke, skill:name-generate), enabling full lexicon search and deterministic name generation immediately. Cost-bearing capabilities (audio:generate, skill:translate, skill:neologism) are granted per account on upgrade.