Skip to main content
Glama

Torah Library

Get a Jewish text

get_text
Read-onlyIdempotent

Fetch any text from the Jewish library by reference, in Hebrew/Aramaic and/or translation, aligned segment by segment. Covers Tanakh, Mishnah, Talmud Bavli & Yerushalmi, Midrash, Rambam, Shulchan Arukh, commentaries (e.g. "Rashi on Genesis 1:1"), Siddur, Zohar, Chasidut, Musar, responsa and more. Reference examples: "Genesis 1:1-5", "Bereishit 1", "Berakhot 2a", "Berakhot 2a:3-7", "Mishnah Avot 1", "Mishneh Torah, Sabbath 1:1", "Shulchan Arukh, Orach Chayim 1", "Psalms 23", "Ramban on Exodus 20:2". Returns segments as {n, he, en}; includes next/previous section refs for paging. If a reference fails, try resolve_name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refYesText reference, e.g. "Genesis 1:1-10" or "Berakhot 2a".
vowelsNoHebrew vowels/cantillation: "full" keeps nikud, "none" strips it.full
languageNo"both" = original + translation; "all" = every available version.both
footnotesNoKeep translator footnotes inline.
max_segmentsNoMax segments to return.
version_titleNoExact version title to use (see get_text_versions).
translation_languageNoTranslation language family instead of English, e.g. "french", "spanish", "german", "russian", "italian".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered by structured data. The description adds genuine value beyond that: segment-by-segment alignment, the return shape {n, he, en}, and next/previous section refs for paging. These behavioral details are not available from the annotations or input schema, with no contradictions.

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?

The core purpose is front-loaded in the first sentence, and every following sentence earns its place: scope, reference examples, return structure, paging, and failure fallback. It is a bit dense, but given the heterogeneous reference syntax it must convey, the length is justified with no filler.

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 complex 7-parameter tool with no output schema, the description compensates well by specifying the return segments shape and paging mechanism. The remaining gaps are minor: no guidance on when to prefer get_texts_bulk, and no explanation of how version_title or translation_language interact with the language parameter — but these are partially covered by the 100% schema descriptions.

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 earns a 4 by substantially enriching the most critical parameter (ref) with nine concrete reference examples covering books, verses, Talmudic folios with segment ranges, and commentaries — far more than the schema's single example provides.

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?

"Fetch any text from the Jewish library by reference" states a specific verb, resource, and retrieval mechanism, and the coverage list (Tanakh, Talmud, Midrash, etc.) and reference examples clearly distinguish it from siblings like browse_library, get_random_text, get_torah_reading, and search_library. An agent can immediately tell this is the by-reference text fetcher, not a browsing or topic-based tool.

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?

The description makes the usage context clear (fetch by structured reference, with nine example formats) and gives an explicit fallback: "If a reference fails, try resolve_name." However, it never states when NOT to use this tool versus close siblings such as get_texts_bulk (bulk fetching) or get_torah_reading (specific structured readings), so exclusions are incomplete.

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.

Resources