Give your AI context
Claude sees table and column names, and guesses what they mean. Context is how you tell it instead: what a column holds, what your terms mean, how a number is calculated, and which answers you have checked. This page is for Portward in Claude on the web.
There are four kinds. Notes are on every plan. The other three aren’t part of Free: they come with Team when it opens, and stay on for an account that still has Personal, which is no longer offered.
| Kind | What it is | Plans |
|---|---|---|
| Notes | A line on a table or a column, such as “amounts are in cents”. | Every plan |
| Definitions | What one of your terms means, such as “active customer”. | Not Free |
| Metrics | A named calculation, such as “MRR”, that gives the same number every time. | Not Free |
| Verified answers | A question whose answer you have checked. | Not Free |
A note says what a table or a column means. Claude reads your notes before it writes a query.
To write one in Claude, open a column’s menu in a result and select Say what this means.
To write several, open signup.portward.ai/me/engine/setup, then Your connections, then Keep from Claude and notes under the connection. Each table and each column has a box. A note can be up to 2,000 characters. Only the notes you change are saved, and an empty note is removed. Select Save. Claude gets the change from its next question.
Good notes are short and say what a reader of the name alone would get wrong:
- units: “amounts are in cents”
- codes: “status 3 means refunded”
- traps: “created_at is UTC; the shop runs on New York time”
A note is sent to Claude. Don’t put anything in a note that you wouldn’t put in the chat.
Definitions, metrics and verified answers
Section titled “Definitions, metrics and verified answers”These three aren’t part of Free. They need a connection that uses levels, on a plan that has them. See Switch a connection to levels. When you switch, the notes on the columns your AI app gets carry over.
They live on one page. Open Your connections, select Levels beside the connection, then Context, metrics and verified answers. The page is headed Context for and the connection’s name, and has four tabs:
| Tab | What it holds |
|---|---|
| To approve | Drafts waiting for you. |
| Definitions | Your named terms. |
| Links | Pairs of columns in two tables that hold the same values. |
| What the AI assumed | Assumptions Claude stated with its answers. |
Claude drafts, you approve
Section titled “Claude drafts, you approve”Claude can draft context for you. Ask in the chat:
Draft what each column of this connection's tables means.Draft a definition of "active customer".Draft a metric called MRR.A draft changes nothing. It waits under To approve. For each draft you can edit the text, then select Approve, Skip for now or Discard draft. Then save: the button names the version, such as Save as v3. Your approvals are published together in that version.
Nothing Claude drafts is used until you approve it on that page and save. Claude has no way to approve its own draft.
Definitions
Section titled “Definitions”A definition is a term Claude must use when a question mentions it. Under Definitions, enter the term and what it means, naming the tables and columns it uses, and select Add to the next version. A term that is already defined gets the new text.
A link says that a column in one table holds the same values as a column in another, so Claude joins on exactly those. Both columns must have a level other than Hidden. A link on this page joins columns of this one connection only.
Metrics
Section titled “Metrics”A metric is a named calculation: one sum, average, count, minimum or maximum over a column, with the conditions it always applies. It can say which time column it may be cut by, at which steps (day, week, month, quarter or year), and which columns it may be grouped by.
Claude drafts a metric. You approve it under To approve. After that, when you ask for the metric by name, Portward writes the query from the metric’s definition and runs it. Claude doesn’t write the SQL, so the number is calculated the same way every time.
Verified answers
Section titled “Verified answers”A verified answer is a question you have asked and whose answer you have checked.
To make one, open What Claude saw. An answered question on a connection that uses levels has a button, Make this a verified answer. It makes a draft of that question with the query that answered it. Approve it under To approve like any other draft.
After that, when you ask that question, Claude runs it exactly as you verified it.
The button needs the question’s own history. If that is gone, the page says so.
What the AI assumed
Section titled “What the AI assumed”When Claude answers, it can state what it assumed, such as “revenue excludes refunds”. Those show under What the AI assumed. Where one is right, you can turn it into a definition from there.
What context can’t do
Section titled “What context can’t do”- It only ever speaks about what your levels allow. A definition can’t show Claude a hidden column.
- It is told to Claude with its answers. It is guidance to the AI, not a lock. The locks are your kept columns, your levels and the login’s own grants.
If Personal ends
Section titled “If Personal ends”Your context is shown read-only, and the page says it can’t be changed there.