AI financial statement analysis: compute or fetch the ratios

There are two ways to get a margin out of an AI financial statement analysis workflow, and both are cents rather than dollars — each call is quoted before it runs, so the number you act on is the one the agent shows you. You can pull the income statement and let the agent divide, or you can fetch a ratios record that already contains sixty-six computed figures. We ran both against the same company on the same day. The gross margin they returned agrees to six decimal places, which makes the choice about something other than accuracy.

Agent を接続する

The same number, twice

Start with the question that decides everything else: do the two routes actually agree? If they disagree you have a reconciliation problem before you have an analysis. So we asked for one company's gross margin both ways, in the same session, minutes apart.

こう頼む

Pull the latest annual income statement and compute gross margin. Then fetch the ratios record and show me the gross margin field from it.

Two priced calls, each quoted before it runs. The first returns raw line items and the agent does the division; the second returns a record where the division has already been done.

RouteInputsGross margin
Statement, then dividegross profit 153,463M ÷ revenue 215,938M0.710681
Ratios recordgrossProfitMargin field, FY20260.710681
NVDA, fiscal year ended 2026-01-25, both calls made on 12 September 2026. The computed figure divides the statement's gross profit by its revenue; the fetched figure is the grossProfitMargin field in the ratios record for the same period.

They agree, and both records name the same fiscal year and period end, so the comparison is like for like rather than two different windows that happen to look similar. That is the boring, reassuring result you want from this test, and it means the decision between the two is about what else each one gives you rather than about which one to trust.

What each route actually hands over

The income statement returns fifteen fields: the identifiers and dates, then revenue, cost of revenue, gross profit, operating income, net income, EPS, diluted EPS, and EBITDA. These are line items rather than ratios, which is what makes them useful — the agent can compute whatever ratio you name and you can see the arithmetic it used. They are also a provider's rendering of a filing, and providers normalise: a field can be scoped slightly differently from the company's own headline number for the same line. Reconcile the figures you lean on against the filing itself.

The ratios record returns sixty-six fields, and they span all three statements: margins at every line, receivables and inventory and asset turnover, current and quick and cash ratios, solvency and debt-to-equity, and the price-based multiples. Many of those cannot be computed from an income statement at all, because they need the balance sheet, so this route is not merely a shortcut — it reaches figures the other route does not have the inputs for.

One more difference is worth knowing before you pick. The statement call takes a period and a count, so asking for several years is the same single call and the same single charge — and several years of raw line items is what a growth rate is made of. On our own multi-year pull, revenue more than doubled in one year and then grew another sixty-five percent, while gross margin moved by only a couple of points across the whole stretch. That shape is the analysis; neither year's margin on its own would have suggested it.

So which one

  1. Computing, when the inputs matter

    A margin you derived in the session is a margin you can explain. If the number is going into something anyone will question, having revenue and gross profit sitting next to it is worth more than saving a step.

  2. Fetching, when the breadth matters

    Inventory turnover, quick ratio, and debt-to-equity need the balance sheet. One ratios call reaches all of them in a single request, which is hard to beat when you want a wide first look.

  3. Both, when it is going to matter

    Two calls are still cents, not dollars. Pulling the statement and the ratios record together gives you the derived figure and its inputs, and the agent can flag a disagreement if one ever appears.

  4. Neither, for a trend

    A single-period ratio says little on its own. Ask for several years in one call and the shape over time is the analysis; the level in any one year rarely is.

Building this into a session

Both calls are synchronous, so the whole comparison happens in one reply rather than as jobs to wait on. The agent lists the service with its price before anything runs, picking it is the approval, and an empty wallet stops the call before it is charged. Because arithmetic is local work, the part where the agent computes twenty ratios from one statement costs nothing at all.

That is the same division of labour as everywhere else in the catalog: the data is bought, the thinking is free. A peer comparison is four statement calls plus local arithmetic; the single-company earnings brief is two calls plus a paragraph the agent writes itself.

Set it up once

npm install --global @actionway/cli@latest
actionway init
mkdir -p "$HOME/.claude/skills"
cp -R "$HOME/.actionway/skill/actionway" "$HOME/.claude/skills/actionway"
init shows a short code and a web address — approve it in any browser — and stages the Actionway Skill at ~/.actionway/skill/actionway. The last two lines copy it to ~/.claude/skills/actionway, where Claude Code loads Skills; restart Claude Code or open a new session afterwards.

You need Node.js 20 or newer and an Actionway account. Codex users copy the same folder into ~/.codex/skills/actionway instead, and both routes reach the same catalog and the same wallet — the get started page lists the steps per client side by side.

よくある質問

Should I compute financial ratios or fetch them?Each is quoted before it runs, and both gave the same gross margin in our test — 0.710681 either way, for the same fiscal year, measured on 12 September 2026. Compute when you want the inputs visible and auditable; fetch when you want breadth, including balance-sheet ratios an income statement cannot produce.

Do the two routes ever disagree?They agreed to six decimal places on our run. If they ever diverge, the usual causes are a restated period or a different period end rather than an arithmetic error, which is why keeping the statement next to the ratio is worth the second call.

What can an income statement alone not tell me?Anything needing the balance sheet or cash flow: inventory and receivables turnover, current and quick ratios, debt-to-equity, and free cash flow. Those come from the ratios record or from the other statements, each a separate call quoted before it runs.

あなたの AGENT で試す

一度の接続でカタログ全体が使えます。

Actionway を接続すると、Agent が適切なサービスを見つけ、実行前に米ドルで見積もり、ウォレットから都度精算します。

Agent を接続する