Skip to main content
Glama

Compare Translations

compare_translations
Read-onlyIdempotent

Compare every available translation for a single segment.

💡 Use this tool when:

  • The user asks about the meaning/translation of a single Pāli line and wants to see multiple translators side-by-side.

  • Checking how different translators interpret the same line — technical terms like dukkha, anattā, nibbāna carry nuance that varies across translations.

  • Academic work that needs to quote multiple translations.

🔍 vs get_sutta: this tool targets a single segment (line level); get_sutta returns the whole sutta. To compare a whole sutta you'd call compare_translations for each segment.

📋 segment_id format: <sutta_id>:<paragraph>.<line>, e.g. mn1:171.4 (Mūlapariyāyasutta paragraph 171 line 4 — "Nandī dukkhassa mūlaṁ"). Find segment_ids via get_sutta or search results.

⚠️ Current state: the translation table is mostly empty (the DB only loads default Pāli + English from bilara). total_editions is usually 0; text_pali and text_english are always populated. Thai editions will be added later.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
segment_idYesSegment ID, e.g. "mn26:8.2", "dn22:17.1", "mn62:5.3".

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, but the description adds meaningful behavioral context beyond those: the translation table is mostly empty, total_editions is usually 0, text_pali and text_english are always populated, and Thai editions are planned. This clarifies the tool's actual output behavior beyond the safety profile.

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?

Although the description is longer than average, every section earns its place: a one-line summary, usage bullets, a direct sibling comparison, a format spec with example, and a critical data-state warning. The structure uses headings, bullets, and emoji to make scanning easy, and the most important information is front-loaded.

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?

The description is complete for a single-parameter read-only comparison tool. It covers purpose, when to use, versus siblings, segment_id format, and current data limitations. An output schema exists, so the description does not need to explain return values; instead it adds contextual caveats that are essential for correct interpretation of results.

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

Parameters5/5

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

Schema coverage is 100% and the schema already describes segment_id with examples, but the description adds more: the exact segment_id format `<sutta_id>:<paragraph>.<line>`, a concrete example with meaning (mn1:171.4 – 'Nandī dukkhassa mūlaṁ'), and guidance on finding segment_ids via get_sutta or search results. This goes well beyond the schema's basic example.

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?

The description opens with a specific verb and resource: 'Compare every available translation for a single segment.' It clearly differentiates from the sibling tool get_sutta by explicitly stating this tool targets a single segment (line level) while get_sutta returns the whole sutta.

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

Usage Guidelines5/5

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

The description provides explicit 'Use this tool when' bullet points and an 'vs get_sutta' section naming the alternative and explaining when to prefer each. It also includes a caveat about the current database state, which helps set expectations about when the tool is useful.

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.

TDQS

A4.7/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose. Search tools are differentiated by strategy (keyword, hybrid, semantic, exhaustive). Reading tools separate content retrieval, comparison, and viewer rendering. Parsing and definition tools have complementary roles. No overlapping functionality.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern in snake_case, e.g., compare_translations, get_sutta, list_editions, search_by_keyword. The only slight deviation is open_sutta_viewer using 'open' instead of 'view', but it still fits the pattern.

Tool Count5/5

12 tools is well within the ideal range for a domain-specific server. Each tool addresses a distinct need: retrieval, search, parsing, dictionary, citation, structure overview, and comparison. No bloat or thinness.

Completeness5/5

The tool surface covers the full lifecycle for a read-only Pāli canon server: fetching content, searching (multiple modes), viewing with translations, comparing translations, parsing words, looking up definitions, listing editions and structure, and generating citations. There are no obvious gaps for the intended use case.

Resources