Keep a credit agreement's maximum leverage ratio at 5.00×, raise the cap on cost-saving addbacks, and the same borrower can move from 5.22× to 4.80× against that unchanged limit — not by repaying debt, but by changing what counts as EBITDA. In the fictional example below, one edit to a definition does exactly that. An AI tool earns its place here when it follows the cross-reference: it connects a quiet edit in the EBITDA definition to the leverage covenant that depends on it, and shows the analyst exactly where the two meet. The concrete test is whether the tool can trace that chain and point to its sources.
Extract → Cross-reference → Recompute → Question
Pull the changed language. Trace it to the covenant that relies on it. Recompute the test with the new definition. Then ask the borrower the one question the recomputation raises. The first three steps are where software now helps. The fourth is still yours.
Why the headline number hides the risk
In leveraged finance the leverage covenant gets all the attention. Everyone watches whether the ratio is 5.00× or 4.50×. Far fewer people read the definition of the denominator with the same care, and that is where the real negotiation often happens. "Consolidated EBITDA" in a credit agreement is a defined term, and the definition is a stack of permitted addbacks: synergies, restructuring charges, projected cost savings, and more. Loosen one of those and you have loosened the covenant without touching the number anyone quotes.
Projected cost-saving addbacks are a common place for this to happen. The agreement lets the borrower add expected future savings to EBITDA today, capped at a percentage of EBITDA. Raise that cap and the borrower can report more EBITDA from savings it has not yet realized. The leverage limit never moves. The borrower's reported leverage falls anyway.
This structure is not hypothetical. A publicly filed credit agreement amendment uses exactly this shape: a cap on cost-saving addbacks expressed as a percentage of EBITDA measured before those addbacks, applied across several related adjustments. I have used a simplified version of that structure for the worked example below.
The worked example
Take one borrower and two fictional versions of its credit agreement, both built on the real pre-addback cap structure. Both set the maximum quarter-end net leverage ratio at 5.00×. The only thing the amendment changes is the cap on projected cost-saving addbacks, from 15% to 25% of EBITDA measured before those addbacks.
Hold everything else constant: $120 million of net debt, $20 million of EBITDA before addbacks, and $5 million of claimed cost savings that would otherwise qualify.
| Original | Amended | |
|---|---|---|
| Maximum net leverage | 5.00× | 5.00× |
| Cap on cost-saving addbacks | 15% | 25% |
| Addbacks allowed under the cap | $3M | $5M |
| Covenant EBITDA | $23M | $25M |
| Calculated net leverage | 5.22× | 4.80× |
Same borrower, same stated 5.00× limit. Net debt and EBITDA before addbacks stayed the same. The same inputs produce 5.22× under the original terms and 4.80× under the amended terms. The only thing that moved was the definition feeding the ratio.
What the tool should surface
Give an AI tool both documents and ask it to find what changed and what the change affects. The useful output is not a summary. It is a row that puts the old text, the new text, and the section reference side by side, so the analyst can see the edit and verify it against the source. I have not run this on the two agreements; the row below is a mockup of the shape I would want back.
Illustrative tool output
| Original agreement | Amended agreement | |
|---|---|---|
| Changed language | addbacks "not to exceed 15% of Consolidated EBITDA (before giving effect to such addbacks)" | "not to exceed 25% of Consolidated EBITDA (before giving effect to such addbacks)" |
| Where the edit lives | § 1.01, definition of "Consolidated EBITDA" | § 1.01, definition of "Consolidated EBITDA" |
| Ratio that uses it | § 1.01, "Net Leverage Ratio" = net debt ÷ Consolidated EBITDA — unchanged | § 1.01, "Net Leverage Ratio" = net debt ÷ Consolidated EBITDA — unchanged |
| Covenant that relies on it | § 7.11, maximum Net Leverage Ratio 5.00:1.00 — unchanged | § 7.11, maximum Net Leverage Ratio 5.00:1.00 — unchanged |
Finding the two percentages is easy; a search tool can do that. The real test is whether the tool follows the chain: from the § 7.11 leverage covenant, to the definition of "Net Leverage Ratio" the covenant is measured against, to the definition of "Consolidated EBITDA" inside that ratio, where the addback cap actually lives — and whether it recognizes that the cap is a percentage of EBITDA before addbacks rather than of the reported figure. A tool that reports "the leverage covenant is unchanged at 5.00×" and stops there has given a true and useless answer. A tool that traces the covenant down to the edited definition and flags the looser denominator has done the work.
If the tool finds the two percentages but misses that they apply to EBITDA before addbacks, that is worth showing too. It is the exact spot where a plausible-sounding answer is wrong, and it tells you how far to trust the tool on the next agreement. This is the same discipline I argued for in verifying AI-generated filing figures: the answer is only as good as the clause it can point to.
This is also the thread running through my conversation with Dwight Gunning, who built the open-source EdgarTools library after years working on SEC data. His goal was a tool where you do not need to know the structure in advance to get the answer out — where, as he put it, "you don't have to know what a specific filing is" to ask it a question. A credit agreement is the same problem one level down. The analyst should not have to know that the risk is hiding in clause (b)(iv) of a definition. The tool should carry that structural knowledge and surface the connection.
What I would verify
The recomputation is where judgment comes back in. Before I would accept that 4.80× figure, I would check five things:
- Which terms apply to the quarter? An amendment has an effective date. If it covers the period being tested, the 25% cap applies; if not, the old 15% cap does, and the same inputs give 5.22×. Read the amendment for exactly which quarter it addresses.
- Was the test or compliance waived? A waiver is separate from the calculation. It can excuse an earlier quarter outright without changing the math for it, so a borrower can be at 5.22× on the numbers and still not in default because the lenders waived that test. Later amendments sometimes waive a prior quarter directly.
- Whether the cap is shared. In real agreements a single basket often covers cost savings, synergies, and restructuring charges together. If the 25% cap is shared, other addbacks may already be using part of it, leaving less room than the headline suggests.
- Whether the savings are supported. Projected savings need a basis — a plan, actions taken, a reasonable timeline. "Claimed" and "eligible" are different words.
- Whether anything is double-counted. A saving counted once as a synergy and again as a cost reduction inflates EBITDA twice.
Then recompute with the verified inputs. In this example, $4 million of eligible savings gets the borrower to exactly 5.00× — that is covenant EBITDA of $24 million on $120 million of net debt. The full $5 million gets it to 4.80×. The original 15% cap tops out at $3 million, so the borrower cannot reach either figure. The amended 25% cap allows $5 million, so both fit — but the borrower still has to prove up every dollar it claims. The higher cap did not change the result by itself. It created room for the borrower to get under 5.00× if the savings hold up, and the burden of evidence is now the whole game.
The question I would ask
A worked example is only useful if it changes what you do on Monday. After seeing this result, the single question I would put to the borrower is:
Which savings make up the $4 million needed to meet the test, and what supports each one?
About the author
Michael McLaughlin has more than 30 years in structured finance and private credit. At Macquarie Group from 2008 to 2023, he built the credit markets business from inception into a portfolio financing platform that averaged a $5 billion portfolio and generated more than $1 billion in cumulative net revenue. He has advised Hebbia on AI research software for financial services, and builds his own finance applications with AI coding tools and open-source software.
Through Path66, Michael works with financial institutions and investment firms on asset finance, liquidity, capital raising, data-driven due diligence and the practical application of emerging technology in finance. He hosts Stack to Street, where he interviews the developers building the software that will change financial institutions. Full bio.
Source
AI That Cites the SEC Filing, Stack to Street with Dwight Gunning, Creator of EdgarTools. Full transcript on the episode page.