Skip to main content
Glama

Catholic Theological Library

fetch_passage

Read-onlyIdempotent

Read a complete source paragraph by ID with up to two neighboring paragraphs on each side. Citations use source-specific paragraph numbers, not canonical scholarly sections. max_chars/max_bytes optionally budget passage text; budgeted text is never silently clipped: it carries text_truncated and text_continuation_offset. Continue a truncated main passage by passing its text_continuation_offset back as text_offset.

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": {
      "passage_id": "<passage_id>"
    },
    "name": "fetch_passage"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextNo
max_bytesNo
max_charsNo
passage_idYes
text_offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds genuinely non-obvious behavior: budgeting with max_chars/max_bytes never silently clips, and truncated output carries text_truncated and text_continuation_offset that can be fed back as text_offset. It omits error behavior for an invalid passage_id and the shape of the returned passage/neighbors.

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 core action, then the caveat about source-specific paragraph numbering, then the budgeting/continuation details. Dense but each sentence carries information; minor redundancy between 'budgeted text is never silently clipped' and the following sentence about flags.

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 five-parameter read tool with no output schema, the description covers the essential contract: what is fetched, how neighboring context works, and how to resume a truncated read. Remaining gaps (returned structure beyond truncation flags, invalid-ID handling, exact meaning of 'context') are moderate rather than critical.

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?

With 0% schema description coverage, the description must carry the parameters, and it partly does: max_chars/max_bytes as text budgets, text_offset as the continuation cursor, and passage_id as the paragraph key. The 'context' parameter (default 0) is never explicitly tied to the 'up to two neighboring paragraphs' statement, and the interaction/precedence between max_chars and max_bytes is left unstated.

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 description opens with a specific verb and resource plus scope: 'Read a complete source paragraph by ID with up to two neighboring paragraphs on each side.' That is enough for an agent to distinguish it from list/search/browse siblings without opening the schema. It stops short of naming an explicit alternative for retrieval-vs-search decisions.

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?

Usage is implied rather than stated: 'by ID' signals this is a follow-up after locating an ID, and the second half explains how to continue a truncated read. There is no explicit when-not-to-use statement or named alternative (e.g. search or get_parallel_text) to route an agent that lacks an ID.

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