Skip to main content
Glama

Cognates in parallel

nabu_cognates
Read-only

Finds parallel cognates across two or more languages in aligned corpus verses, returning shared reconstruction roots, witness words, and borrowing flags.

Instructions

Cognates-in-parallel over the local nabu corpus: verses of a registered alignment work where witnesses in TWO OR MORE languages use reflexes of the SAME reconstruction root — Gothic salt ~ OCS соль under PIE *sḗh₂l in the salt saying (Luke 14:34). The alignment hub (nabu_align) supplies the verse columns; the Wiktionary reconstruction crosswalk (nabu_etym) supplies the lemma→root closure over the shelf-visited multi-hop walk (got→*saltą→*sḗh₂l←*solь←chu). target is a work id (batch the work) or a citation/chapter/book ref; langs restricts to ≥2 named languages (e.g. ["got","chu"]). Each group carries the verse ref, the root (headword, SHELF language, gloss, license — PRESERVE license fields when quoting), and per-language witness words (lemma, attested surface forms, attesting documents with licenses, and a borrowed flag: true = the crosswalk marks this witness's descent a loan — hlaifs ~ хлѣбъ(borrowed:true) at *hlaibaz; null = not yet flagged either way). READ THE SHELF for unflagged edges: a meet at gem-pro involving a Slavic witness is very possibly a BORROWING, not common descent; ine-pro meets are the inheritance signal. Corpus-common words are suppressed with an honest count (all lifts; frequency is a coarse proxy and some common words survive). Recall is bounded by Wiktionary coverage (~1/3 of Gothic, ~1/5 of OCS gold lemma types reach any proto entry) and by gold lemmatization (~10% of the corpus): no hit is absence of evidence, not evidence of unrelatedness. Bounded (default 10 groups, max 50) with honest totals.

Input Schema

NameRequiredDescriptionDefault
allNoAlso return the corpus-common-word matches the default suppresses.
lectNoScope witnesses OF THIS LECT'S ANCHOR LANGUAGE to the lect (P59-3: lect: "grc:koi" keeps cognate sets whose Greek witness is Koine; other-language witnesses pass untouched). Errors if the nabu-lects module is not synced on this box.
workNoAlignment work id, when a bare ref is ambiguous across works.
langsNoRestrict the comparison to these languages (ISO-639-3, at least two: ["got","chu"]). Default: every gold language.
limitNoMaximum (verse, root) groups returned.
targetYesA registered alignment work id (nt|ot|psalms — batches the whole work) or a citation ref: verse ("LUKE 14.34"), chapter ("LUKE 14"), or book ("LUKE").
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.2/5.0
Behavior3/5

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

Annotations declare readOnlyHint=true and the description is consistent with a read-only surface, even warning about not leaking restricted material. It adds real behavioral context beyond the annotations: license fields must be preserved when quoting, the `borrowed` flag can be null and needs shelf-language judgment, and recall is bounded by Wiktionary and gold-lemmatization coverage. However, the description is aimed mostly at result interpretation rather than operational behavior (latency, caching, or errors beyond the lect-module note), so it sits at a solid 3 rather than higher.

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?

It is front-loaded with the core definition and example before the mechanics, and every clause is doing work — licenses, borrowed flags, suppression, recall bounds. It is dense and jargon-heavy ('shelf-visited multi-hop walk', 'SHELF language'), which costs a point, but there is little pure filler.

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 carries the return-shape burden and does: each group carries the verse ref, the root (headword, shelf language, gloss, license) and per-language witness words (lemma, surface forms, attesting documents with licenses, borrowed flag). Combined with the recall caveats and the bounded default/max, an agent has enough to call this and interpret the results correctly.

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 earns an extra point by explaining intent the schema does not: `target` as a work id batches the whole work, `langs` must name at least two languages and defaults to every gold language, and `all` exists specifically to defeat the frequency-proxy suppression. It does not add much on `lect` or `include_restricted` beyond what the schema already says.

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 first sentence names a specific operation over a specific resource ('cognates-in-parallel over the local nabu corpus: verses ... where witnesses in TWO OR MORE languages use reflexes of the SAME reconstruction root') and gives a concrete example (Gothic salt ~ OCS соль). It also distinguishes itself from siblings by naming nabu_align as the verse-column supplier and nabu_etym as the root-closure supplier, so an agent knows this is the join tool, not either component.

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 is clear: it compares two-or-more languages, `langs` narrows to named languages, `target` is a work or a ref, and `all` lifts common-word suppression. The description also states a genuine limitation ('no hit is absence of evidence, not evidence of unrelatedness') that governs how to interpret results. It does not explicitly contrast with nabu_parallels or say when to prefer nabu_etym alone, which keeps it below a 5.

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