Skip to main content
Glama

read_passage

Retrieve TLG passage text starting at a citation location, or from the beginning if no location is provided, for reading specific sections of a work.

Instructions

Read TLG text starting at a citation. location follows the work's levels from list_works, highest first (e.g. Enchiridion levels Chapter/section/line: ["47"] or ["47","1","3"]). Omit location to start at the beginning. Search hits carry a ref like 'tlg,0557,002:47:1:3' = author, work, then location. For a whole work use export_work.

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": {
      "author": "<author>",
      "work": "<work>"
    },
    "name": "read_passage"
  }
}

Input Schema

NameRequiredDescriptionDefault
workYesWork number.
linesNoApproximate number of lines to return (default 40).
authorYesTLG author number.
locationNoCitation, highest level first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It makes clear this is a read operation over TLG text, but says nothing about truncation when a passage exceeds the requested line count, error behavior for out-of-range or malformed locations, or the shape of the returned text. Adequate but with clear gaps for an unannotated 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?

Four short sentences, front-loaded with the core action and then escalating detail on location, ref decoding, and the export_work alternative. Dense but nearly every clause carries operational value; a slight trim of the verbose ref example would tighten it further.

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 four-parameter read tool with no annotations and no output schema, the description covers the hard part (location construction and provenance) well and routes to the right sibling alternate. It leaves the return shape and truncation/error semantics implicit, which is the main remaining gap.

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 baseline would be 3, but the description adds genuine meaning for 'location': the highest-level-first ordering, worked examples (["47"] vs ["47","1","3"]), the tie to list_works levels, and how to construct it from a search ref. The 'lines' parameter is left entirely to the schema, which is acceptable since the schema documents it.

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 specific verb and resource ('Read TLG text') plus the scoping concept ('starting at a citation'), and explicitly contrasts with export_work for whole works. An agent can distinguish this from export_work and search without opening 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 Guidelines5/5

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

Gives concrete when-to-use rules: omit location to start at the beginning, use export_work for a whole work, and derive location from list_works levels or from a search hit's ref string. It even decodes the ref format ('tlg,0557,002:47:1:3' = author, work, location), leaving little to inference.

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