How to describe a model so an AI agent builds it right

What to put in a request to a spreadsheet agent, from the data source to the shape of the output, with weak and strong examples and a short checklist.

By the Jordan team · · 3 min read

A spreadsheet agent can build a forecast, a budget or a portfolio review from one sentence. Whether that sentence produces the model you wanted depends mostly on what it says. This guide covers what to include, with examples, so the first version is close and the second is right.

The three things every request needs

1. Where the data is

The agent can't guess which of your sheets matters, or that the numbers are in a connected account rather than a file.

  • Weak: "Analyze my spending."
  • Strong: "My last three months of transactions are on the statements sheet."

If the data is in a connected account, say so: "Pull my current positions from my brokerage." If it's a public figure, ask for the source to be written next to it.

2. What you want to know

A question gives the agent something to aim at. "Analyze" doesn't.

  • Weak: "Look at my portfolio."
  • Strong: "How concentrated is my portfolio, and how much of it rides on one sector?"

3. What shape the answer should take

Describe the table or the cell you expect at the end.

  • Weak: "Make a forecast."
  • Strong: "Show revenue, costs and profit by month for 12 months, and total year 1 profit in a labeled cell."

Ask for a model, not an answer

The most valuable thing an agent can build is a model you can change. Two phrases do most of the work:

  • "Put the assumptions in their own labeled cells." Growth rate, cost share and starting revenue at the top, where you can edit them.
  • "Drive everything from them with formulas." So changing 4% to 6% updates every month.

Compare the results. "What's my year 1 profit at 4% growth?" gets you a number. "Build a 12-month forecast from these three assumptions" gets you a number and the ability to ask "what if?" yourself.

Point at things precisely

When the workbook already has data, refer to it directly. In Jordan you can reference a sheet or range with @ (for example, @statements or @holdings!A1:E7), and the agent reads that range for context. It also reads the rest of the workbook, but pointing removes the guesswork.

Name columns the way they're named on the sheet. "The Amount column" is better than "the money column".

Say what's not obvious

Every domain has rules that matter and aren't visible in the data. State them:

  • "Transfers to my savings account aren't spending."
  • "Costs are 62% of revenue, not a fixed amount."
  • "Use the price at the next day's open, not the signal day's close."

One sentence like this prevents the most expensive class of mistake: a model that's internally consistent and wrong.

Build in steps

A long request with ten requirements is harder to check than three short ones. A good sequence:

  1. Get the data in shape. "Categorize these transactions and show me the categories you used."
  2. Build the core table. "Now total each category by month with formulas."
  3. Add the answer and checks. "Add a savings rate per month, and a check that the category totals match the raw transactions."

Review each changeset before moving on. It's much easier to correct a categorization before a budget is built on top of it.

A checklist

Before you send a request, check that it says:

  • where the data is (sheet, range, connection or source)
  • the question you want answered
  • the shape of the output, including any labeled answer cell
  • that assumptions go in their own cells
  • any rule the data doesn't show

A full example

My brokerage export is on the holdings sheet. How concentrated is my portfolio, and how much of it rides on one sector? Compute each position's value and weight, total value and weight by sector, and put the largest sector weight in a labeled cell. Treat the index fund as its own sector.

That's four sentences, and every one of them changes the result.

Frequently asked questions

Should I write formulas in my request?

Only when you care about the method. "Use XIRR for the return" is useful if you know you want a money-weighted return. Otherwise, describe the result and let the agent choose, then check the formula it wrote.

What if the first result is wrong?

Say what's wrong in the same terms you'd use with a colleague: "The rent row is counted in both Housing and Other." The agent fixes the model in place, and you review the change.

Does a longer request get a better result?

A more specific one does. Length that adds information (where the data is, a rule it can't see) helps. Length that repeats the question doesn't.

Build this analysis in Jordan

Describe it in a sentence. Jordan brings in the data, writes the formulas and shows you every change before it lands.

Join early access

Keep reading

  • AI spreadsheets · 2 min read

    What is an AI spreadsheet?

    What makes a spreadsheet AI-native rather than a spreadsheet with a chatbot attached, what an agent can and can't do in one, and how to check its work.

  • AI spreadsheets · 3 min read

    How to check an AI's work in a spreadsheet

    Six checks that catch most mistakes an AI agent (or a person) makes in a spreadsheet model, from tracing precedents to finding typed numbers, with the formulas for each.

  • Trading and backtests · 6 min read

    How to backtest a trading strategy without fooling yourself

    A step-by-step method for backtesting a stock strategy, the six biases that make bad strategies look good, and the spreadsheet layout and formulas to run one honestly.