Skip to main content
Glama

get_text

Retrieve Jewish texts by reference—Torah, Talmud, Mishnah, Midrash, and commentaries—with Hebrew and English text with metadata. Use it to look up passages and optionally include context.

Instructions

Get Jewish text by reference. Supports Torah, Talmud, Mishnah, Midrash, and commentaries.

Reference formats:

  • Torah: "Genesis 1:1", "Exodus 20:1-10", "Deuteronomy 6:4-9"

  • Talmud: "Berakhot 2a", "Shabbat 31a", "Bava Metzia 59b"

  • Mishnah: "Mishnah Avot 1:1", "Mishnah Berakhot 1:1"

  • Midrash: "Genesis Rabbah 1:1", "Tanchuma Bereshit 1"

  • Commentaries: "Rashi on Genesis 1:1"

Returns Hebrew and English text with metadata.

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": {
      "ref": "<ref>"
    },
    "name": "get_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesSefaria reference (e.g., 'Genesis 1:1', 'Berakhot 2a')
with_contextNoInclude surrounding context (default: false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations present, the description carries the burden and does disclose the return payload ('Hebrew and English text with metadata'), which is valuable since there is no output schema. It does not mention error behavior for malformed/unknown references or whether ranges outside the corpus are clamped, leaving a modest gap for a zero-annotation 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 one-line purpose, then an organized bullet list keyed by corpus, then the return summary. Every line is functional; slight cost is that the format list is longer than strictly needed, but it is scannable and not padded.

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 two-parameter read tool with full schema coverage, the definition covers purpose, input syntax, and return content. What remains thin is edge-case behavior (invalid references, whole-chapter vs range requests), which is not addressed with no annotations to fall back on.

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 goes beyond the schema's single terse example by showing valid reference syntax across five distinct corpora, which is the main failure mode for this parameter. `with_context` semantics are left to the schema, which already documents it adequately.

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 clear verb+resource ('Get Jewish text by reference') and enumerates the corpora covered (Torah, Talmud, Mishnah, Midrash, commentaries). This is readily distinguishable from get_book_info (metadata), get_links (connections), and search (discovery) without inspecting the schema.

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 reference-format examples give practical input guidance for each corpus, which is real usage help. However, there is no explicit statement of when to use this versus `search` (to find a reference) or `get_book_info` (for book-level metadata); the agent must infer that from the sibling names.

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