Fetch a passage of Jewish text from Sefaria by reference, in Hebrew and/or English. Works for Torah/Tanakh, Talmud, Mishnah, Midrash, Halacha, Kabbalah, and commentaries. Keyless.
AI agents call get_text to retrieve information from Mcp Sefaria without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
ref | string | Yes | Textual reference, e.g. "Genesis.1.1", "Genesis.1.1-5", "Psalms.23", "Shabbat.2a", "Mishnah_Berakhot.1.1". |
language | string | — | Which translation(s) to return: "en", "he", or "both" (default "both"). |
Parameters from the server's own tool schema.
This tool retrieves textual data from a reference library without modifying, deleting, or executing anything. It has no capability to alter the library contents or trigger external operations. The blast radius of misuse is minimal—an agent could only retrieve texts it's already authorized to access. This is a classic Read category tool.
From the tool's definition Tool description states 'Fetch a passage of Jewish text from Sefaria by reference'—this is a retrieval operation with no side effects. The verb 'Fetch' and the context of querying a digital library indicate read-only access.
Attacks that exploit this kind of access
Fetch a passage of Jewish text from Sefaria by reference, in Hebrew and/or English. Works for Torah/Tanakh, Talmud, Mishnah, Midrash, Halacha, Kabbalah, and commentaries. Keyless. It is categorised as a Read tool in the Mcp Sefaria MCP Server, which means it retrieves data without modifying state.
get_text accepts 2 parameters: ref, language. Required: ref. The full parameter table on this page comes from the server's own tool schema.
Register the Mcp Sefaria MCP server in PolicyLayer and add a rule for get_text: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Mcp Sefaria. Nothing to install.
get_text is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the get_text rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for get_text. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
get_text is provided by the Mcp Sefaria MCP server (pipeworx-io/mcp-sefaria). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →