Skip to main content
Glama

Dhamma.Gift — Pāli Canon

dictionary

Look a word up in the Dictionary of dhamma.gift (dict.dhamma.gift): (1) dg — the project's glossary: where the Suttas and the Vinaya DEFINE the term (the Pali definition line and its segment ids), broader uses, Vinaya uses, and similes/metaphors (adhivacana, upamā, seyyathāpi) built on it; (2) dpd — the Digital Pali Dictionary meanings for the form (the headwords it may come from, with DG's own definition refs merged in); (3) sanskrit — 20+ Sanskrit dictionaries of the Cologne Digital Sanskrit Lexicon (Monier-Williams, Edgerton's Buddhist Hybrid Sanskrit, Apte, Böhtlingk-Roth…) through their API. Give the Pali form as it stands in the text; for Sanskrit give its Sanskrit form in IAST (dukkha → duḥkha, dhamma → dharma) as sanskrit_word.

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": {
      "word": "<word>"
    },
    "name": "dictionary"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoLanguage of the glossary renderings and DPD meanings. Default: en.
wordYesThe Pali word, IAST with diacritics (dukkha, taṇhā, upādāna), any inflected form.
sourcesNoWhich sources. Default: all three.
sanskrit_wordNoThe Sanskrit form in IAST for the Sanskrit dictionaries (duḥkha, tṛṣṇā). Default: word.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it discloses what each source yields (definition lines with segment ids, headwords with merged DG refs, Cologne dictionary entries) and the existence of an upstream API for sanskrit. It does not state that the operation is read-only, mention auth/rate limits, or describe failure behavior (e.g., word not found), leaving meaningful behavioral gaps for an un-annotated tool.

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?

Front-loaded with the core action and resource, then structured as a numbered (1)/(2)/(3) source breakdown plus a formatting instruction. It is dense and long-ish, but nearly every clause carries actionable information; the culturally specific Pali/Sanskrit terminology is the main source of bulk.

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 4-parameter lookup tool with no output schema and no annotations, the description explains sources and input formats well, but omits what the response looks like, how missing terms are handled, and whether results are combined across sources. Adequate but not complete for the tool's complexity.

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 100%, so the baseline is 3, but the description adds genuine meaning: it explains what the 'dg', 'dpd' and 'sanskrit' enum values actually retrieve, and prescribes format conventions for 'word' (Pali, inflected forms allowed) and 'sanskrit_word' (IAST with transliteration examples). Only 'lang' is left to the schema's own wording.

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 ('Look a word up') plus the exact resource ('Dictionary of dhamma.gift (dict.dhamma.gift)') and then enumerates the three source modes, so an agent knows precisely what the tool returns and how it differs from generic siblings like search or get_text.

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 clear usage guidance per source (dg for Sutta/Vinaya definitions, dpd for Pali headword meanings, sanskrit for Cologne lexicons) and explicit input conventions — 'Give the Pali form as it stands in the text' and 'for Sanskrit give its Sanskrit form in IAST (dukkha → duḥkha)'. It lacks any explicit when-not-to-use or routing to a sibling tool, which is the only gap.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.