Skip to main content
Glama

Dhamma.Gift — Pāli Canon

Server Details

Search and read the Pāli Canon: Pāli root texts with Russian and English translations.

Ownership verified
Status
Healthy
Uptime
99.9% over 21 days
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
dhammagift/dg-node
GitHub Stars
1
ChatGPT
–
Claude
–

TDQS

A3.9/5.0

Scored across 5 tools

Disambiguation4/5

Each tool has a recognizably different job: discovery (list_structure, search), retrieval (get_text), and comparison (compare_editions vs compare_translations). The closest pair is get_text (which can return translations via langs) and compare_translations, plus the two compare_* tools, but the descriptions clearly separate editions-of-Pali from root-vs-translation work.

Naming Consistency4/5

Four tools follow a clean verb_noun snake_case pattern (compare_editions, compare_translations, get_text, list_structure). The lone bare verb 'search' is a minor deviation but still readable and conventional.

Tool Count5/5

Five tools is well-scoped for a canon reading/search server: two discovery, one retrieval, two comparison. Each earns its place with no redundant surface.

Completeness4/5

The lifecycle of navigate → search → fetch → compare editions/translations is fully covered. Minor gaps exist (no term/dictionary lookup, no per-sutta metadata like parallels or UIDs beyond segment ids), but agents can work around them with search and get_text.

Available Tools

5 tools
compare_editionsAInspect

Compare the Pali Canon's editions line by line: the Mahāsaṅgīti beside Buddha Jayanti (Sri Lanka), Chaṭṭha Saṅgāyana (Myanmar), Siam Rath (Thailand), the printed Mahāsaṅgīti of 2005 and the PTS editions (DN, MN, SN, AN). Give a sutta ("sn56.11"), a line ("dn22:18.1") or a range ("sn56.11:5.1-5.4"). The answer starts with a summary per edition (name, license, lines present, missing, differing), then the lines where some edition reads differently, each with the differing words. Case, punctuation and ṁ/ṃ are not counted as differences.

NameRequiredDescriptionDefault
idYesA sutta (sn56.11), a line (dn22:18.1) or a range of lines (sn56.11:5.1-5.4).
allNoEvery line, not only the lines where an edition differs. Default false.
fromNoContinue from this line (the next_from of a previous answer).
limitNoLines per answer (default 60); the answer gives next_from to continue.
editionsNoEditions to compare with the Mahāsaṅgīti. Default: all of bjt, my, th, mso, pts.

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden and does well: it discloses the response structure (per-edition summary with name, license, lines present, missing, differing, then differing lines with differing words) and normalization rules (case, punctuation, ṁ/ṃ ignored). It does not mention pagination behavior or error conditions, which are only in the schema, so it falls short of a perfect score.

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

Conciseness5/5

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

Front-loads the purpose and edition list, then specifies accepted input forms, then explains the answer shape and normalization rules. Every sentence earns its place with no repetition or filler.

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

Completeness5/5

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

For a complex, five-parameter comparison tool with no output schema, the description supplies the critical missing pieces: what the returned summary contains, what constitutes a difference, and what normalization is applied. Pagination parameters are documented in the schema, so the description need not repeat them.

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. The description adds value beyond the schema by mapping enum codes like bjt and my to human-readable edition names (Buddha Jayanti, Chaṭṭha Saṅgāyana, etc.), which the schema does not do, and by clarifying the acceptable id formats in prose.

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 (compare) and resource (Pali Canon editions), names the exact editions involved, and distinguishes this from translating by focusing on line-by-line edition differences. An agent can immediately tell this apart from compare_translations.

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?

Explains that the tool accepts a sutta, a line, or a range, with concrete examples, which gives clear usage context. It does not explicitly name when to prefer compare_translations instead, but the distinction is strongly implied by the edition-vs-translation framing.

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

compare_translationsAInspect

One segment of the canon in the Pali root and every available translation side by side. Use a segment id from search/get_text, e.g. "mn129:21.3". Sujato (en_sujato) is excluded unless named in translators.

NameRequiredDescriptionDefault
langsNoLimit to these languages, e.g. ["ru","en"]. Default: all.
segmentIdYesSegment id as returned by search, e.g. mn129:21.3 or dn22:1.1.
translatorsNoExplicit translator keys, e.g. ["en_sujato"] to include Sujato.

TDQS

A3.8/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 behavioral burden. It usefully discloses the non-obvious default that Sujato (en_sujato) is excluded unless named, but says nothing about response shape, ordering, or limits.

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

Conciseness5/5

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

Two sentences, zero waste, purpose front-loaded ahead of the id-source instruction and the Sujato exclusion caveat. Every clause earns its place.

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?

A read-only lookup with full schema coverage; the description covers purpose, id provenance, and the key default filter. Missing only return-shape detail, which matters slightly more here since there is no output schema.

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 description coverage is 100%, so all three parameters are already documented with examples. The description restates the segment-id format and the Sujato inclusion rule, which the schema also covers, adding little syntax or meaning beyond it. Baseline 3 applies.

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: retrieve one canon segment with the Pali root and all available translations 'side by side.' The comparison framing is concrete, though it doesn't explicitly contrast its purpose against siblings get_text/search.

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?

Tells the agent where the required id comes from ('Use a segment id from search/get_text') and flags the Sujato default caveat so the agent knows when to name translators. It gives clear context but no explicit when-not or alternative routing.

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

get_textAInspect

Fetch a sutta by id (e.g. "dn22", "mn1", "sn56.11") — the Pali text (Mahāsaṅgīti) of every segment. Pali only by default; pass langs for translations, translators to name a translator (e.g. ["en_sujato"]), editions for the whole text of other Pali editions line by line (DN, MN, SN, AN). Same data as dhamma.gift/api/text.

NameRequiredDescriptionDefault
langsNoTranslation languages to include, e.g. ["ru","en"]. Default: none (Pali only).
suttaIdYesSutta id, e.g. dn22, mn1, sn56.11.
editionsNoOther Pali editions to add, each segment beside the Mahāsaṅgīti: bjt (Buddha Jayanti, Sri Lanka), my (Chaṭṭha Saṅgāyana, Myanmar), th (Siam Rath, Thailand), mso (Mahāsaṅgīti as printed, 2005), pts (Pali Text Society), or ["all"]. DN, MN, SN and AN only.
translatorsNoExplicit translator keys, e.g. ["en_sujato"] to include Sujato.

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are provided, so the description carries the behavioral burden. It does well by stating the default is Pali only, that passages can include translations or other editions, and that editions are limited to DN, MN, SN, and AN. It still leaves minor gaps around error behavior and response structure.

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

Conciseness5/5

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

The description is a single, front-loaded paragraph that starts with the core action and then summarizes defaults and optional behavior. It is dense but has little wasted text.

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 read tool with no annotations and no output schema, the description provides enough context to invoke it correctly: required suttaId, default Pali-only behavior, and optional translations and editions. It could say more about response shape or invalid-id handling, but the core invocation context is complete.

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 schema already documents all four parameters. The description adds useful framing about defaults and how langs, translators, and editions affect the result, though most parameter details are already present in the schema.

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?

The description states a specific verb and resource: fetch a sutta by id. It explains that the result is the Mahāsaṅgīti Pali text of every segment, which is clear. It does not explicitly differentiate itself from siblings such as compare_editions or compare_translations, so it falls short of 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?

The description implies usage by saying to pass langs for translations, translators to name a translator, and editions for other Pali editions. However, it does not explicitly say when to use this tool versus compare_editions, compare_translations, list_structure, or search.

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

list_structureAInspect

What texts exist. Without arguments: collections (sutta/vinaya/abhidhamma/khuddaka), books by id prefix with sutta counts, and translation languages with translators. With prefix (e.g. "mn", "sn56", "an4"): the suttas under it with titles.

NameRequiredDescriptionDefault
prefixNoSutta id prefix such as mn, sn56, an4, dhp. Max 200 suttas are listed.

TDQS

A3.6/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 and does disclose what is returned in each mode (collections, books with sutta counts, languages with translators, or sutta titles). However, it never states that this is a read-only operation, nor mentions the 200-sutta cap behavior beyond the schema, pagination, or any other operational constraint.

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 dense sentences, front-loaded with the core purpose, then a clean no-argument/with-prefix structure. Every clause carries information; slightly telegraphic phrasing but no wasted sentences.

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?

There is no output schema, so the description must describe return values, and it does so for both modes (collections/books/languages vs. titled suttas). For a single optional-parameter listing tool this is close to complete, with only minor gaps around read-only status and result size limits.

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 real meaning by explaining what happens when prefix is omitted versus supplied ("the suttas under it with titles"), effectively documenting the parameter's conditional effect. This goes beyond the schema's own example-based prefix description.

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?

The description opens with a specific scope statement ("What texts exist") and precisely delineates two modes of operation: no-argument collection/books/languages listing and prefix-based sutta listing. It clearly reads as a structural navigation tool, distinguishable from get_text, search, and compare_translations by its catalog-oriented output, though it never names those siblings.

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?

It explains when to use each argument mode (no args vs. with prefix), which is genuine usage guidance, but never states when to prefer this tool over siblings like get_text or search, nor any exclusions. Usage is implied by the output description rather than stated as routing guidance.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 2 tool updates
    • Addedcompare_editions
    • Changedget_text1 field changed
      • addedInput schema / properties / editions
        Added value: +{
        +  "description": "Other Pali editions to add, each segment beside the Mahāsaṅgīti: bjt (Buddha Jayanti, Sri Lanka), my (Chaṭṭha Saṅgāyana, Myanmar), th (Siam Rath, Thailand), mso (Mahāsaṅgīti as printed, 2005), pts (Pali Text Society), or [\"all\"]. DN, MN, SN and AN only.",
        +  "items": {
        +    "enum": [
        +      "bjt",
        +      "my",
        +      "th",
        +      "mso",
        +      "pts",
        +      "all"
        +    ],
        +    "type": "string"
        +  },
        +  "type": "array"
        +}
  2. 1 tool update
    • Changedget_text1 field changed
      • changedInput schema / properties / suttaId / description
        Previous value: -"SuttaCentral-style id, e.g. dn22, mn1, sn56.11."New value: +"Sutta id, e.g. dn22, mn1, sn56.11."
  3. 4 tool updates
    • First observedcompare_translations
    • First observedget_text
    • First observedlist_structure
    • First observedsearch

Publisher details

Operator
Dhamma.Gift · Publisher source
Operator website
https://dhamma.gift
Vendor relationship
Not applicable
Trust center
Not applicable
Restrictions
Not applicable

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    MCP server for the full Pāli Tipiṭaka — ~444,000 segments at parity with SuttaCentral (Sutta + Vinaya + Abhidhamma). Hybrid search, full-sutta fetch with cross-references, segment-aligned translation comparison, and Pāli word lookup. Offered as Dhamma Dāna.
    11
    28 PyPI
    12
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables searching and reading Tipitaka texts with Pali alongside translations, comparing translators, exploring parallels, looking up Pali words, and retrieving Access to Insight pages with source citations.
    32
    MIT
  • A
    license
    Not graded
    quality
    Not graded
    maintenance
    Provides access to the Chinese Buddhist Electronic Text Association (CBETA) online library of over 100 million characters of Buddhist scripture. It enables users to search, browse catalogs, and retrieve content from major collections like the Taishō Tripiṭaka.
    -
  • A
    license
    A
    quality
    D
    maintenance
    Semantic search over 4.6 million text chunks from 20,000+ classical philosophy and humanities works (pre-1928). Covers Aristotle, Plato, Kant, Hegel, Nietzsche and hundreds more. Multilingual: English, German, Latin, French, Italian, Greek, Russian.
    3
    3
    MIT
Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.