# defined-terms-check

Check a contract's defined terms: list terms used but never defined and terms defined but never used

- **Space:** legal-ops-public (https://github.com/Tech-Realm/space-legal-ops-public/tree/main/defined-terms-check)
- **Level:** L2 (as the registry reports it)
- **Keys it needs (names only):** none
- **Tools:** python3
- **Routes:** local-python; checks: 1
- **Uses:** new (no recorded use yet)
- **Install:** `logicpacks pack use legal-ops-public/defined-terms-check` or MCP `get_pack legal-ops-public/defined-terms-check`
- **Files:** CHANGELOG.md, code/terms.py, outcome/EVIDENCE.md, outcome/checks.yaml, outcome/fixtures/msa.txt, outcome/results.json, pack.yaml, spec/SPEC.md, spec/source.md

## Purpose (spec/SPEC.md)

## Goal

Two lists for a draft: capitalised terms used without a definition, and defined terms never used again, so drafting errors are fixed before review.

Verified by: Fixture: "Licensor" and "Confidential Information" reported as undefined; "Deliverables" defined but used elsewhere; no false positives for sentence-start words.

## Steps

1. Run `python3 code/terms.py draft.txt`.
2. Add missing definitions or fix the capitalisation; remove unused definitions.
3. Re-run until both lists are empty or explained.

## Edge cases

- Party names and headings look like terms; party names are recognised from (the "X") definitions.
- Common capitalised words (This, Each, Either, Section, Schedule) are ignored.

## Don'ts

- Don't present the output as legal advice; a qualified lawyer reviews anything that will be signed.
- Don't auto-replace terms; each change is a drafting decision.



---

Canonical URL: https://logicpacks.io/packs/legal-ops-public/defined-terms-check

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](/llms.txt). Plain facts: [/about.md](/about.md). Safety: [/safety.md](/safety.md).
