Skip to main content
Glama

Dhamma.Gift — Pāli Canon

compare_translations

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.

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": {
      "segmentId": "<segmentId>"
    },
    "name": "compare_translations"
  }
}

Input Schema

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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / langs / items / maxLength
      Added value: +60
    • addedInput schema / properties / langs / maxItems
      Added value: +30
    • addedInput schema / properties / segmentId / maxLength
      Added value: +100
    • addedInput schema / properties / translators / items / maxLength
      Added value: +60
    • addedInput schema / properties / translators / maxItems
      Added value: +30
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden and it does disclose the single most non-obvious behavior: Sujato (en_sujato) is excluded unless named in translators. It also implies return shape (root plus all translations inline). It omits ordering of results, behavior on missing translations, and whether output is large, but the critical default is covered.

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 tight sentences, no filler, and the non-obvious exclusion rule is stated up front. Minor deduction because the opening is a fragment that reads as a caption rather than a statement of action.

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 tool with full schema coverage and no output schema, the description supplies what matters: what comes back, where to get the id, and the default filtering rule. Only the interaction with the sibling compare_editions tool is left unaddressed.

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 100%, so the schema already documents langs, segmentId, and translators with the same mn129:21.3 and en_sujato examples. The description restates the segmentId source and the Sujato/translators interaction rather than adding new semantics. 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?

The first sentence states the resource and scope precisely: one canon segment shown in Pali root plus every available translation side by side. An agent can tell this is a per-segment comparison tool, distinct from search/get_text which it references as an id source. It falls short of 5 because the sentence is a noun phrase without a verb and never explicitly contrasts with the sibling compare_editions.

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?

It gives concrete operational guidance: use a segment id as returned by search or get_text, with a worked example. The default translator policy is spelled out. It does not say when to prefer this over compare_editions or what to do when no translations exist, so not a 5.

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.