Skip to main content
Glama

Mined links graph

nabu_links
Read-only

Read persisted batch-mined cross-reference edges for a passage or document URN, grouped by kind with counterpart metadata. Empty results mean that URN is not covered by a batch run.

Instructions

Batch-mined cross-reference edges touching a passage/document urn — the links journal (kind=parallel from nabu parallels --batch; kind=formula from formulas --batch, a star per refrain whose detail carries the gram and score its count; kind=cognate from cognates --batch, cross-language witness pairs whose detail carries the meet: ref · root [shelf] — a gem-pro shelf under a Slavic witness suggests a borrowing; kind=reuse from the KITAB text-reuse import, UPSTREAM-computed pairwise Arabic alignments whose detail carries the milestone/offset spans verbatim). READS ONLY what a batch run already persisted: for on-the-fly discovery use nabu_parallels; an empty result means no batch has covered this urn, NOT that no parallel exists. Edges come back grouped by kind, both directions (direction=out: this urn's anchor probe discovered the counterpart; in: another anchor found this urn), each counterpart resolved to document title/language/license_class/source (null when no longer in the catalog — edges are urn-keyed and outlive rebuilds). runs cites the producer run(s): producer, scope, params, code_version, date — every edge's provenance. Bounded per kind (default 20, max 100) with an honest note; PRESERVE the license fields when quoting.

Input Schema

NameRequiredDescriptionDefault
urnYesThe passage or document urn whose mined edges to read.
limitNoMaximum edges returned per kind.
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
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description carries most of the burden and does so well: it discloses that results are persisted batch output only, that edges are urn-keyed and outlive catalog rebuilds (so counterpart fields can be null), that results are grouped by kind and by direction, that `runs` supplies provenance, and that output is capped per kind with an honest note. The only gap is that it never states the shape of the empty/error response or whether pagination beyond the cap exists.

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 framing is front-loaded in the first clause, but the body is one sprawling sentence threaded with nested parentheticals and heavy jargon ('a star per refrain whose detail carries the gram and score its count', 'meet: ref · root [shelf]'), which forces re-reading. The content is nearly all load-bearing, but the packaging could be split into discrete sentences or bulleted kind descriptions without losing anything.

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?

There is no output schema, so the description must describe returns itself, and it does: grouping by kind, both direction values with their meanings, counterpart fields resolved to title/language/license_class/source with null semantics, provenance via `runs`, and bounding behavior. For a read-only tool with a fully documented 3-parameter schema, nothing an agent needs in order to call it correctly or interpret the result 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 description coverage is 100%, so the baseline is 3; the description earns an extra point by clarifying that the cap applies per kind and that an 'honest note' accompanies truncation, which the schema's 'Maximum edges returned per kind' does not convey. The restricted-material gate is mostly explained in the schema rather than the description, and 'PRESERVE the license fields when quoting' is output guidance rather than parameter guidance.

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?

The opening clause names a specific verb and resource ('Batch-mined cross-reference edges touching a passage/document urn') and immediately enumerates the four edge kinds with their producers, so an agent knows exactly what data comes back. It also names the sibling it is not ('for on-the-fly discovery use nabu_parallels'), which separates it cleanly from nabu_parallels and nabu_cognates.

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?

It explicitly routes the agent elsewhere when this tool is wrong ('for on-the-fly discovery use nabu_parallels') and pre-empts the most likely misinterpretation: 'an empty result means no batch has covered this urn, NOT that no parallel exists.' That is an explicit when-to-use, when-not-to-use, and how-to-read-the-result set of instructions.

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