---
name: fortell
description: Use Fortell through its MCP server. Connect, check the session, read the account,
  explain the Evaluations, and trade a paper Evaluation or a funded account inside its rules.
  Use when the user mentions Fortell, a prop Evaluation, getting funded, or Phoenix Perps.
compatibility: Needs the Fortell MCP server at https://api.fortell.finance/mcp
---

# Fortell

Not investment advice. Fortell supplies capability, never strategy. Every number, market, side
and size comes from the user or from the tools.

## Decision tree

Do these steps in order when you start, and on each scheduled run.

### 1. Connect
- Look for tools whose names start with `fortell_`.
- **Found:** go to step 2.
- **Not found:** show the user how to add the connector with the URL
  `https://api.fortell.finance/mcp`, then sign in. Recommend email: it is the easiest. Other
  sign-in options are also on the screen. Wait for the user.

### 2. Know your session (only when the user asks for automation)
- Do this step when the user asks for a schedule, a loop or alerts. Do not do it before the first trade.
- Find out: can you run on a schedule (shortest interval)? Can you work in the background? Can
  you send alerts?
- Tell the user in 3 short points. If you are not sure of one, say "not sure".
- **Schedule available:** use loop mode at the interval the user chooses.
- **No schedule:** act only when the user writes.

### 3. Read the account
- Call `fortell_overview`. It is the first call. In a loop, use `fortell_brief`: it is smaller.
- **No account yet:** if `freeEvaluation.available` is true (in `fortell_overview` or
  `fortell_wallet`), offer the free $100 Evaluation (public beta). Ask first. If the user agrees, call
  `fortell_claim_free_evaluation`. It is one free account per person. A refusal is final: do not retry.
- **No active account (no free offer):** call `fortell_challenge_catalog`. Show the options in short
  points. The user buys on https://fortell.finance/get-funded. Wait until the account is active.
- **Evaluation:** orders are paper orders. For a first small test trade, ask one question (the market, the
  side and the size) and go to step 5. A test size must be at least the market's smallest order (`minOrderUsd` in
  `fortell_perps_markets`; about $6 on BTC). Say "smallest order" to the person, never "lot". Explain "lot" only when an
  order is refused for being too small, or when the person asks why the filled size differs from the asked size
  (sizes round down to the market's order step). For a larger trade, go to step 4.
- **Funded account:** you need a trade-only agent key. If there is no key, ask the owner to grant
  one (`fortell_build_grant_agent`). Then go to step 4.

### 4. Check the limits before a larger trade
- A small test trade does not need this step: `fortell_perps_open` refuses with the reason.
- Call `fortell_perps_rails`: loss room, trading power on the market, window dates, paused
  markets.
- **Loss room is less than the planned risk:** tell the user in one line, and ask: make the trade
  smaller, or wait?
- **Market is paused or has no live price:** tell the user. Offer three options: choose another
  market, wait, or send feedback to the Fortell team.

### 5. Plan, quote and open
- Call `fortell_perps_quote` with the size, the leverage, and a stop price and/or a take price.
- **The quote lists a limit problem** (`wouldRefuse`): tell the user what the limit is, and ask
  how to change the plan.
- **The quote is clear:** call `fortell_perps_open` with the stop and/or take you planned. A market can be a
  symbol ("BTC"). Each new order is a new call. Send a `clientOrderId` only to make a retry the same order.
- **After a close:** read `closed` in the answer. `closed: false` means nothing closed now.

### 6. Watch the account
- Call `fortell_perps_positions` with your last cursor in `since`. You get only new events. Read
  at the interval the user chooses.
- **Stop or take hit:** record it. Tell the user in one line.
- **Close to the loss limit:** tell the user in one line, and ask if they want to reduce risk.
- **Profit target met, or the pass window is open:** call `fortell_progress` and tell the user
  the next step.
- **Agent key ends soon:** ask the owner to grant a new key.
- **The user wants to build their own harness:** see "Advanced: build your own harness" at the end of this file. It is optional.

### 7. Research at any time
- Test ideas with `fortell_backtest` (up to 10 variants in one call) and
  `fortell_price_history`.
- Call `fortell_changelog` after you connect again, to learn about new or changed tools.

### 8. When a tool is unavailable
- **In Claude Code:** approve Fortell's trading tools once with /permissions (or leave auto mode for
  trading); its safety check can refuse a trade tool otherwise.
- **"Unavailable" or a stale price:** open no new trade now. Try again in a few minutes. Stops and
  takes still run on the Fortell server.
- **It continues for more than 15 minutes:** tell the user. Offer to send feedback to the Fortell
  team.

## How to reply to your user
- Reply to the person in short, simple sentences. Lead with the answer. Put numbers in a small table.
- Use short, clear points. One fact on each line.
- Give the result first, then the reason.
- Name the account by its name, for example "your Evaluation $100".
- If your app can show tables, cards or bold text, use them for numbers and lists, so the user
  can scan the facts quickly.

## Advanced: build your own harness

This part is optional. Use it only when the user asks to build their own trading harness. The steps above stay the
default. Fortell gives capability, never strategy. Do not suggest trades, sizes or indicators. The user never needs to
read code: you write it and run it.

### The journey
1. **Build:** the user brings a strategy, or makes one with you.
2. **Backtest:** test it on history, then score it against the Fortell rules.
3. **Evaluate:** the Evaluation is the forward test on live markets, with paper orders.
4. **Get funded:** after a pass, the agent trades real capital.
5. **Learn and scale:** the agent reads its own records and the user improves it.

### The layers
| Layer | The user chooses | Fortell provides |
|---|---|---|
| Device | Phone, laptop, Mac mini or server | Works from any of them |
| Harness | Claude, ChatGPT, Grok, Claude Code, Codex, OpenClaw, Hermes, or their own Python | The MCP connector, llms.txt, skill.md, `fortell_playbook` |
| Model and budget | Any model, any token budget | Low-call tools, so a small model can work |
| Market data | Phoenix API or SDK for depth, or any other feed | `fortell_perps_quote`, `fortell_price_history`, `fortell_perps_markets`. Fortell's mark judges the rules. |
| Strategy | The user's own | Nothing. Fortell has no strategy. |
| Backtest | `fortell_backtest` (no code), or any engine | The Fortell rules kit, to score any engine's trades |
| Risk and rules | The user's own sizing and stops | Server-side stops, max loss, consistency and auto-close |
| Execution | A chat, a scheduled agent or a program | The MCP, or the REST API with an API key |
| Scheduling | The user's scheduler (cron, Claude or ChatGPT tasks) | `fortell_brief` and `fortell_perps_positions` with a cursor |
| Monitoring | Dashboard, Telegram, or the user's own | Telegram alerts and `/status` (`fortell_telegram_alerts`), web and phone |
| Memory | Markdown, SQLite or any store | Trade records, the `since` cursor, the `journal-coach` playbook |

Notes for each layer:
- **Market data:** orders always go through Fortell. A feed from Phoenix or elsewhere only informs the agent.
- **Backtest:** the Fortell rules kit is a small Python package. Install it with `pip install fortell-rules==0.1.1` (always pin
  the version). Or, with no account, download https://fortell.finance/rules-kit.zip and check it against
  https://fortell.finance/rules-kit.zip.sha256 first (`shasum -a 256 rules-kit.zip` must print the same hash). Only then
  unzip it and run `pip install .` inside. Load the tier rules from
  `fortell_challenge_catalog`. Do not type them from memory. The kit grades closed trades the way Fortell grades an Evaluation.
- **Risk:** Fortell enforces the rules on the server. The harness must still size each trade by its stop.
- **Execution:** a program that does not speak MCP uses the REST API. The user makes an API key in Settings > API keys on
  the website (you cannot make one). Send it as `Authorization: Bearer fk_live_...` to `https://api.fortell.finance/v1/agent/...`.
  `GET https://api.fortell.finance/v1/agent` lists every endpoint with its MCP tool and arguments. The rules, limits and
  refusal codes are the MCP's. Read is always on; paper orders and funded builds need the scopes the user ticks. Keep the
  key in an environment variable, never in a URL, a log or a chat. The Python SDK is on PyPI
  (`pip install fortell`). Developer docs: https://fortell.finance/developers
- **Scheduling:** read at most every 5 minutes. Send the last cursor back as `since`.
- **Memory:** call `fortell_playbook` with `skill` set to `journal-coach`. It records and asks. It never says what to trade.

### Three levels
- **Everyday (no code):** a chat app with the Fortell connector, and Telegram.
  1. Connect the MCP URL and sign in.
  2. Call `fortell_telegram_alerts` with `action` `link` and give the user the link.
  3. Once a day, call `fortell_brief` and tell the user what changed in three lines.
- **Regular (scheduled):** a scheduled task in Claude or ChatGPT.
  1. Test the user's idea with `fortell_backtest`.
  2. Load the playbooks with `fortell_playbook`: `position-watch`, `rails-watch` and `journal-coach`.
  3. Each run: `fortell_brief`, then `fortell_perps_positions` with the last cursor. Keep the cursor between runs.
- **Power (programmatic):** the user's own Python on a server or a Mac mini.
  1. Run the user's backtester on candles from `fortell_price_history`. Score its trades with the Fortell rules kit.
  2. Run the agent on cron. Trade through MCP. Ask for REST access when MCP is not enough.
  3. Keep records in a store you choose. Write them after each close.

### The principle
The model reasons. Code enforces risk. Fortell enforces the Evaluation rules and holds the capital.
