Skip to main content
Glama

Read passages by URN

nabu_show
Read-only

Read Nabu corpus texts by URN: single passages, whole documents, inclusive ranges, or parallel-aligned translations; optionally add token senses or Tibetan word segmentation.

Instructions

Read the nabu corpus by urn: one passage, a whole document, an inclusive range, or a parallel-aligned translation. urn shapes — passage: urn:cts:greekLit:tlg0012.tlg001.perseus-grc2:1.1 · document: urn:cts:greekLit:tlg0012.tlg001.perseus-grc2 · range: :1.1-1.10 (inclusive slice) · papyrus: urn:nabu:ddbdp:aegyptus:89:240:b2:5 · treebank sentence: urn:nabu:proiel:afnik:194690. A shortened CITATION PREFIX between document and passage grain (…:avest020:Y.19.1 over passages Y.19.1.a/b) lists everything below it, boundary-exact — term-less browsing needs no search hit first. parallel: true aligns the same work's parallel_lang (default eng) edition line by line. Passage lists are bounded by max_passages (default 50, cap 200) with an honest truncation note. Every passage carries urn, language, and license_class — preserve them when quoting. Withdrawn/retired items appear, flagged. The owner's own notes on the urn ride along in notes (documents also count passage-note children) — useful curatorial context. A metrically scanned passage carries meter (code, foot pattern, producer); an epigraphic document whose parse-captured Pleiades findspot id resolves through the local gazetteer dump carries findspot (both keys absent otherwise — absence of the dump or of the enrichment, not a claimed absence of fact). segmented: true adds a word-segmented rendering of Tibetan (xct/bod/otb) passages as a present-only segmented key per passage record; a not-applicable call carries segmentation_note instead. senses: true adds each shown passage's token senses (DCS WordSem ids — the CLI's show --senses): a present-only senses list per passage record plus a sense_entries map resolving the ids against the sense shelf; a source with no ruled token senses answers senses_note instead. The findspot block carries the gazetteer's attribution (source, license, the place's upstream URI) — preserve it when quoting the place facts.

Input Schema

NameRequiredDescriptionDefault
urnYesPassage, document, or range urn (see the tool description for the shapes).
sensesNoAdd the token senses (DCS WordSem ids) of each shown passage (the CLI's show --senses): a passage record gains a present-only `senses` list — one row per citing token (form, lemma, ids) — and the payload a `sense_entries` map id → {headword, gloss} resolved against the sense shelf (an id the shelf lacks is absent from the map). A source with no ruled token senses answers a top-level `senses_note` instead.
parallelNoAlign with the same work's parallel_lang edition by citation suffix.
segmentedNoAdd a word-segmented rendering of Tibetan (xct/bod/otb) passages: each passage record gains a present-only `segmented` key (text with spaces at word boundaries, tokens verbatim); when not applicable, a top-level `segmentation_note` says why.
max_passagesNoBound on listed passages/rows; truncation is noted honestly.
parallel_langNoLanguage of the parallel edition (with parallel: true).eng
include_restrictedNoAlso serve research_private/restricted material. Default false and deliberately so: this surface must never leak private or license-restricted texts casually. Set true only when the requester understands and will honor the restriction.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare readOnlyHint, so the description carries the rest and does so richly: truncation is "honest" and bounded by max_passages (default 50, cap 200), withdrawn/retired items are surfaced and flagged, license_class and urn ride along and must be preserved, meter/findspot keys are present-only with an explicit caveat that absence is absence of enrichment rather than absence of fact. The include_restricted note warns that this surface must never casually leak private material.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The key routing information (urn shapes) is front-loaded, but the single dense paragraph runs long, mixing urn grammar, output-field semantics, and per-flag behavior in one block. Several sentences restate the input-schema descriptions for `senses`, `segmented`, and `max_passages` nearly verbatim, so the text does not fully earn its length.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter, output-schema-less reader, the description covers the urn grammar, all opt-in flags with their fallback notes, pagination bounds, and the shape of returned records (urn, language, license_class, notes, meter, findspot, senses). Nothing an agent needs to call it correctly or interpret the payload is missing.

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 adds genuine meaning beyond the schema: concrete urn examples per grain, `parallel_lang` defaulting to eng for the same work's edition line by line, and what `senses`/`segmented` return when applicable versus the `senses_note`/`segmentation_note` fallback. The overlap with schema text (senses, segmented, max_passages) is largely redundant, which keeps it from a 5.

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?

"Read the nabu corpus by urn" gives a specific verb plus resource, then enumerates the exact urn grains it accepts (passage, document, inclusive range, papyrus, treebank sentence, citation prefix). The "term-less browsing needs no search hit first" clause implicitly separates it from nabu_search.

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?

Usage context is clear: it is the direct-read path when you already hold a urn or want to browse an entire citation subtree without a search hit, and include_restricted carries an explicit "set true only when the requester understands and will honor the restriction" gate. It never explicitly says when to prefer a sibling such as nabu_search or nabu_parallels, and the `parallel: true` flag is not differentiated from the nabu_parallels tool.

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