Structure Ledger

6 entities and 9 agent-callable operations in structure_ledger. Each operation is addressed as {mega_tool}/structure_ledger/{entity}/{operation} and carries the same permission check over MCP and REST.

clause_coverage

OperationMega-toolWhat it does
rowsreport_queryPer-node coverage-audit rows for one source version's current (or one named) build.
snapshotsmart_actionPersist a ClauseCoverageSnapshot — a dated receipt of the clause-coverage audit's state counts, by-article breakdown, rows and accounting identity_ok for one…
summaryreport_queryThe clause-coverage (absence) audit's counts for one source version's current (or one named) build: state_counts (design §3.2's nine states, evaluated in lane…

clause_disposition

OperationMega-toolWhat it does
recordsmart_actionAppend a ClauseDisposition for one node of the structure ledger's CURRENT (or one named) build — 'judged empty, with a reason', or out-of-scope / deferred.

edge

OperationMega-toolWhat it does
listreport_queryList the structure ledger's edges (cross-references and defined-term uses) for one source version's current (or one named) build.

ledger

OperationMega-toolWhat it does
buildsmart_actionBuild (or replay) the structure ledger for one source version — the drafter's heading tree, cross-references and defined-term edges, zero inference (design §2).
summaryreport_queryThe structure ledger's build receipt for one source version: node/edge counts by kind, clause heading coverage, the anchor heading agreement rate (the…

node

OperationMega-toolWhat it does
listreport_queryList the structure ledger's nodes (the drafter's tree) for one source version's current (or one named) build.

tranche_plan

OperationMega-toolWhat it does
proposereport_queryPropose a sf.tranches/v1-shaped tranche plan (prefix lists sized under the fan-out ceiling) for one coverage-state filter over the structure ledger — WRITES…

Parameter schemas and permissions

Parameter schemas and permission codenames are in the full reference — sign in — or call prism_introspect(dimension="capability_search", query="…") with your key.

In the full reference this application appears under report_query, smart_action.