# Tidemark

Tidemark tracks the quarterly 13F filings of a curated roster of institutional
managers and turns them into behavior: one of six Primary Signals per stock, an
estimated (weighted-average-cost) entry price per holder on Pro keys, and watchlist
events (the daily price-vs-cost stream is Pro). This document is written for an
agent connecting to Tidemark's MCP server — it describes the tool contracts exactly
as implemented, not as a marketing page.

This is delayed 13F data, filed quarterly and up to 45 days after the quarter it
describes. It is not real-time ownership data.

## OAuth (no key)

Claude (web and desktop) connects without an API key: Settings → Connectors →
Add custom connector → paste `https://tidemark-ohc1.onrender.com/mcp` → click
Authorize, sign in, and approve. An unauthenticated request to `/mcp` answers
HTTP 401 with a `WWW-Authenticate` header carrying `resource_metadata`, which
points at Tidemark's RFC 9728 protected-resource metadata; discovery from there
is automatic for MCP clients that support OAuth, so nothing below this section
needs to change for that path. The `X-API-Key` header path stays fully
supported for clients that authenticate with a static header instead.

Two more clients complete the same OAuth flow from the command line, verified
on Claude Code CLI and desktop and on Codex CLI and desktop (desktop build
26.820.60940):

```
claude mcp add --transport http tidemark https://tidemark-ohc1.onrender.com/mcp
claude mcp login tidemark
```

```
codex mcp login tidemark
```

(with `[mcp_servers.tidemark]` / `url = "https://tidemark-ohc1.onrender.com/mcp"`
already in `~/.codex/config.toml` — no `http_headers`, no key). Each `login`
command opens the browser to sign in and approve. On Codex, `codex mcp list`
may label the server's authentication "Unsupported" before that login runs —
the label is wrong; `codex mcp login` completes OAuth anyway.

## Authentication

Every call needs one of two credentials: an OAuth access token, which an
OAuth-capable client obtains through the flow above and sends as
`Authorization: Bearer <token>`, or a Tidemark API key in the `X-API-Key` header.
When a request carries both, a key that resolves wins; a key that does not falls
through to the token rather than failing the request. A key looks like `tdmk_`
followed by 32 hex characters.

Generate one on the Account page while signed in:
`https://tidemarkresearch.com/app/account` → **API access**. The plaintext key is shown
exactly once, at creation time — copy it then, because Tidemark never displays it
again. A signed-in account may hold at most **2 active keys**; revoke one before
generating a third.

Either credential resolves to one Tidemark account, and that account's
subscription tier (Free or Pro) is read at request time — nothing is fixed when a
key is created or a client is authorized, so upgrading the account raises what the
credential can do immediately. Where this document says a "Free key" or a "Pro
key", read it as any credential whose account is on that tier.

```
X-API-Key: tdmk_<32_hex_characters>
```

A request with no valid credential — neither a key nor an OAuth token — produces
an HTTP 401 whose `WWW-Authenticate` header points at the protected-resource
metadata; that is what starts an OAuth-capable client's authorization flow. The
response body still carries a JSON-RPC error whose `data` field is the same
structured-error shape every tool uses:

```json
{
  "jsonrpc": "2.0", "id": 1,
  "error": {
    "code": -32001,
    "message": "Missing or invalid Tidemark credential.",
    "data": {
      "error": {
        "code": "unauthorized",
        "message": "This request carried no valid Tidemark credential. Two work here: an OAuth authorization (connect this server from your MCP client and approve the consent screen), or a static API key sent in the X-API-Key header — the account holder generates one on the Account page at https://tidemarkresearch.com/app/account, it is shown once at creation time and starts with 'tdmk_'.",
        "account_url": "https://tidemarkresearch.com/app/account"
      }
    }
  }
}
```

That `message` is the no-credential case. A bearer token that is expired or
unverifiable, whose authorization was revoked, or that is a Tidemark web sign-in
session rather than an MCP client's token is refused the same way — same status,
same codes — with a message saying which.

## MCP endpoint

```
POST https://tidemark-ohc1.onrender.com/mcp
Content-Type: application/json
X-API-Key: tdmk_...
```

On the OAuth path the client sends `Authorization: Bearer <token>` in place of
`X-API-Key`.

One route speaking hand-rolled JSON-RPC 2.0, in MCP's stateless streamable-HTTP
JSON mode: no SSE stream, no session id, `protocolVersion` `2025-06-18`. Four
methods:

| method | purpose |
|---|---|
| `initialize` | Handshake. Returns `protocolVersion`, `capabilities`, `serverInfo`, and an `instructions` string carrying the same vocabulary as this document. |
| `notifications/initialized` | The client's post-handshake notification. No `id`, no response body — Tidemark answers with a bare HTTP 202. |
| `tools/list` | The five tool schemas below, with their full descriptions. |
| `tools/call` | Run one tool. `params: {"name": "...", "arguments": {...}}`. |

Batched JSON-RPC requests (a JSON array instead of one object) are not supported —
send one call per turn, the way an agent works.

### Handshake example

Request:

```json
{"jsonrpc": "2.0", "id": 1, "method": "initialize", "params": {"protocolVersion": "2025-06-18"}}
```

Response:

```json
{
  "jsonrpc": "2.0", "id": 1,
  "result": {
    "protocolVersion": "2025-06-18",
    "capabilities": {"tools": {}},
    "serverInfo": {"name": "tidemark", "version": "1.0.2"},
    "instructions": "Tidemark tracks the quarterly 13F filings of a curated roster of institutional managers and turns them into behaviour: one of six Primary Signals per stock, an estimated (weighted-average-cost) entry price per holder on Pro accounts, and watchlist events (the daily price-vs-cost stream is Pro). Every tool result carries a `meta` block -- read `meta.period` for the quarter it describes and `meta.coverage` for how much of the roster had filed by then. Cost figures are ESTIMATES reconstructed from filings, never disclosed numbers; say so when you relay them. 13F data is quarterly and published on a reporting lag -- `meta.as_of` is the evaluation date, not a live quote."
  }
}
```

## The response envelope

Every `tools/call` result — success or tool-domain failure — is the same JSON
object, both as the MCP `structuredContent` field and as the parsed text of
`content[0].text`:

```json
{
  "data": { "...": "tool-specific payload" },
  "meta": {
    "as_of": "2026-08-21",
    "period": "2026-06-30",
    "coverage": {"reporting_count": 45, "tracked_count": 50, "covered": true},
    "tier": "free",
    "account": {"user_id": "5f3a1c2e-8b7d-4e6f-9a0b-1c2d3e4f5a6b", "email": "you@example.com", "credential": "key"},
    "provenance": ["0000950123-26-008888"],
    "methodology": "https://tidemarkresearch.com/#methodology"
  }
}
```

The manager counts in these examples — `meta.coverage` here and below,
`list_managers`' `count` — are placeholders, not Tidemark's roster: the roster
changes, so read the live figures from a real response.

`meta.period` is the quarter the response is anchored on: the quarter behind the
stock's summary for `get_stock_signal`, the quarter screened for `screen`, the
quarter of the manager's latest filing for `get_manager`. A response with no
quarter of its own — `get_watchlist_events`, `list_managers`, and every failed
envelope — reports the newest quarter that cleared the coverage gate.

`meta.account` names the account the credential belongs to (`credential` is
`key` or `oauth`). Tier alone cannot tell two accounts apart, so read it before
relaying an empty caller-scoped result: "no starred stocks" and "this credential
belongs to someone else" look the same otherwise.

A tool-domain failure (a Pro feature on a Free key, a bad parameter, an unknown
ticker) rides back as a **successful** JSON-RPC result with `isError: true` — this
is what lets a calling model read `error.message` and say it out loud, rather than
surfacing a transport error. A failed envelope has no `data` key; it carries
`error` plus the same `meta` block, so a refusal still says which account and
which quarter it answered for:

```json
{
  "error": {
    "code": "tier_required",
    "message": "This request uses Tidemark Pro research filters, and the Tidemark account sending it is on the Free tier. The Pro-only filters in this request were: modifiers. Re-run without those filters, or upgrade at https://tidemarkresearch.com/#pricing.",
    "upgrade_url": "https://tidemarkresearch.com/#pricing",
    "tier_required": "pro",
    "gated_fields": ["modifiers"]
  },
  "meta": {
    "as_of": "2026-08-21", "period": "2026-06-30",
    "coverage": {"reporting_count": 45, "tracked_count": 50, "covered": true},
    "tier": "free",
    "account": {"user_id": "5f3a1c2e-8b7d-4e6f-9a0b-1c2d3e4f5a6b", "email": "you@example.com", "credential": "key"},
    "provenance": [],
    "methodology": "https://tidemarkresearch.com/#methodology"
  }
}
```

Error codes: `tier_required`, `rate_limited`, `coverage_pending`, `invalid_params`,
`not_found`, `unauthorized`, `error`. Every `message` is written to be relayed to a
human verbatim.

### Reading `meta.coverage` — the gate that keeps a quarter honest

A 13F deadline is 45 days after quarter end, so managers file in a scatter across
that window. `meta.coverage` reports the gate Tidemark runs before anchoring any
response on a quarter: `reporting_count` managers have filed for `meta.period` out
of `tracked_count` on the roster, and `covered` says whether that cleared the gate.

**A quarter is citable only when `meta.coverage.covered` is `true`.** Tidemark
always prefers the newest quarter that cleared the gate over the newest quarter
that merely has some filings — if you see `covered: false`, the numbers are early
and thin. Say so rather than presenting them as settled.

## The six Primary Signals

A stock's Primary Signal is one of six, computed from fundamental (non-quant)
managers only:

| signal | meaning |
|---|---|
| `emerging_accumulation` | Multiple tracked institutions are beginning to hold, increase, or converge around this stock — new buyers arriving in a name few tracked managers held. |
| `conviction_build` | Existing holders continue increasing exposure — a strengthening position, not a new one. |
| `persistent_holding` | Key institutions have held steadily across multiple quarters — durability, not a one-quarter trade, and no directional change. |
| `mixed_rotation` | Buying and selling are both meaningful — institutional disagreement or rotation, not a clean direction. |
| `profit_taking_trim` | Holders are trimming into strength while still retaining meaningful positions — partial profit-taking, not a full exit. |
| `distribution` | Broad reduction and exits — multiple institutions reducing or closing, especially where breadth is falling or notable holders are leaving. |

Two cases carry none of the six. `primary_signal` is `null` when there is no prior
quarter to compare against. And `screen` rows are per security *and* 13F line
type: a row for an option or convertible-debt line (any `exposure` other than
`long`) carries `derivative_exposure`, which states no direction — a 13F discloses
the puts and calls a manager holds, but not the strike, the expiry, or the
position they may offset.

A stock's `primary_signal`, and the `change_counts` and `comparison` beside it in
`get_stock_signal`, are read off its **long** line only: a manager opening calls
or puts on the stock is not counted as a buyer of it.

Source: `_SIGNAL_SORT_ORDER` and `SIGNAL_METADATA` in
`backend/app/services/discovery.py` — the same dictionary the web app's Discovery
and Screener pages read. The MCP tool descriptions (`tools/list`)
carry this same vocabulary inline, so an agent that reads only the catalogue still
learns it.

## Estimated cost basis

Wherever this API says "estimated cost" or "cost basis," it means a
**weighted-average-cost estimate** Tidemark reconstructs from a manager's own
sequence of 13F filings and the prices in those quarters. It is **not a disclosed
number** — no 13F contains one — and Tidemark models it for the long equity book
only, from up to 10 years of filing history, never for options or high-turnover
quant managers. Always say "estimated" when relaying it.

## Near Cost Basis

A stock qualifies for the `near_cost_basis` screen filter when its current price
is within **±10%** of the aggregate estimated cost basis across holders, **and**
that price is fresh — no more than **7 days** old. Outside either bound, the
filter drops the name rather than showing a stale or distant estimate. (Source:
`NEAR_COST_BASIS_WINDOW = 0.10` and `FRESH_THRESHOLD_DAYS = 7`,
`backend/app/data/discovery_cache.py` and `backend/app/services/price_snapshots.py`.)

## The five tools

Call `tools/list` for the authoritative, complete schemas — what follows is one
realistic example per tool. Every example below uses fictional accessions, CUSIPs
and figures shaped like real Tidemark responses, abbreviated with `...` where a
real payload continues.

### `get_stock_signal`

Institutional ownership and behavior for one US stock: its Primary Signal, who
among the tracked managers holds it, how that changed last quarter, and — for Pro
keys — each holder's estimated cost basis. `ticker` or `cusip` is required (CUSIP
is preferred; tickers get reused across companies over time). Free keys receive
the top three non-quant holders by position value with cost fields blanked, plus
`locked_holder_count` saying how many more exist; Pro keys receive every holder
with estimates attached.

Request:

```json
{
  "jsonrpc": "2.0", "id": 2, "method": "tools/call",
  "params": {"name": "get_stock_signal", "arguments": {"ticker": "AAPL"}}
}
```

Response (`structuredContent`, Free key):

```json
{
  "data": {
    "cusip": "037833100",
    "ticker": "AAPL",
    "issuer_name": "Apple Inc",
    "summary": {
      "cusip": "037833100",
      "issuer_name": "Apple Inc",
      "latest_period": "2026-06-30",
      "holder_count": 41,
      "total_value": 184300000000,
      "primary_signal": "conviction_build",
      "signal_explanation": "...",
      "modifiers": [],
      "company": {"sector": "Technology", "industry": "Consumer Electronics"},
      "...": "change_counts, comparison, price_context, freshness_note, etc."
    },
    "holders": [
      {
        "institution_id": 1, "institution_name": "Berkshire Hathaway",
        "period_of_report": "2026-06-30", "shares": 1000000, "value": 170000000,
        "portfolio_weight": 0.41, "is_quant": false,
        "estimated_avg_cost": null, "estimated_total_cost": null
      },
      "...(2 more Free-tier holders)..."
    ],
    "locked_holder_count": 38,
    "quarters_available": 24
  },
  "meta": {
    "as_of": "2026-08-21", "period": "2026-06-30",
    "coverage": {"reporting_count": 45, "tracked_count": 50, "covered": true},
    "tier": "free",
    "account": {"user_id": "5f3a1c2e-8b7d-4e6f-9a0b-1c2d3e4f5a6b", "email": "you@example.com", "credential": "key"},
    "provenance": ["0000001067983-26-000001", "0000001697748-26-000001"],
    "methodology": "https://tidemarkresearch.com/#methodology"
  }
}
```

`include_history: true` additionally returns `data.holder_history` — up to 12
quarters of holder rows instead of only the latest quarter.

`verbosity` defaults to `compact`, which leaves out the company's business
description (`summary.company.summary`) and, on every holder row, the fields that
repeat unchanged down the list (`instrument_id`, `issuer_name`,
`cost_basis_method_version`, `cost_basis_source`). Pass `full` to get them.

A holder row whose estimated cost is unknown because the manager already held
the position in its earliest available 13F carries `cost_basis_held_since`
(that filing's quarter end) with `cost_basis_status: "insufficient_history"`;
`estimated_avg_cost` is then null, never a guess.

### `screen`

Find stocks across the tracked universe by institutional behavior rather than
price or fundamentals. `signal[]` filters to Primary Signals (more than one is
Pro-only); `behavior` selects exactly one cost-basis quadrant
(`adding_while_underwater`, `adding_in_profit`, `taking_profit`, `cutting_losses`,
`new_underwater`, `new_in_profit` — Pro-only); `near_cost_basis` restricts to
names inside the ±10%/7-day window above (Pro-only). Free keys get single-signal,
sector, exposure and liquidity screening over a 500-name universe; asking for a
Pro-only argument on a Free key returns `tier_required` naming it in
`gated_fields`, never a silently empty result. `gated_fields` uses the Screener's
own names, so a second `signal` comes back as `signals` and `near_cost_basis` as
`modifiers`. `limit` is capped at 50 rows regardless of what is requested.

Rows are per security and 13F line type, and `exposure` defaults to every type, so
option and convertible-debt rows (`derivative_exposure`) come back unless you pass
`exposure: ["long"]`. `verbosity` defaults to `compact`, which drops each row's
business description (`summary`) and its `classification_source`,
`classification_confidence` and `classification_updated_at` bookkeeping.

Request:

```json
{
  "jsonrpc": "2.0", "id": 3, "method": "tools/call",
  "params": {
    "name": "screen",
    "arguments": {"signal": ["conviction_build"], "sector": ["Technology"], "limit": 10}
  }
}
```

Response (`structuredContent`, abbreviated to one row):

```json
{
  "data": {
    "period": "2026-06-30",
    "candidates": [
      {
        "cusip": "037833100", "ticker": "AAPL", "issuer_name": "Apple Inc",
        "exposure_type": "long", "primary_signal": "conviction_build",
        "holder_count": 41, "total_value": 184300000000,
        "new_count": 3, "increased_count": 12, "decreased_count": 4, "closed_count": 1,
        "sector": "Technology", "industry": "Consumer Electronics",
        "price": 231.4, "notable_institutions": ["..."]
      },
      "...(9 more rows)..."
    ],
    "filtered_count": 47, "universe_size": 500, "limit": 10,
    "next_cursor": "eyJvZmZzZXQiOiAxMH0="
  },
  "meta": {
    "as_of": "2026-08-21", "period": "2026-06-30",
    "coverage": {"reporting_count": 45, "tracked_count": 50, "covered": true},
    "tier": "free",
    "account": {"user_id": "5f3a1c2e-8b7d-4e6f-9a0b-1c2d3e4f5a6b", "email": "you@example.com", "credential": "key"},
    "provenance": [],
    "methodology": "https://tidemarkresearch.com/#methodology"
  }
}
```

Page with `cursor: data.next_cursor` on the next call.

### `get_watchlist_events`

What changed on the stocks the caller's own account stars in Tidemark — the one
tool worth calling on a schedule. Two independent streams: `restatements` (13F/A
amendments correcting a filing Tidemark had already shown — every tier) and
`behavior` (price moves measured against holders' estimated cost basis, plus 13D
filings — Pro only). On a Free key the call still succeeds; `data.behavior`
carries its own `tier_required` sub-error while `data.restatements` still arrives.
`since` defaults to 7 days back and accepts at most 90 days back.

Each `behavior` event names its kind in `event_type`:

| `event_type` | fires when | payload adds |
|---|---|---|
| `cost_cross` | The close crossed one or more holders' estimated cost basis, landing at least 1% past it. | `crossed_below`, `crossed_above`: the holders that crossed, each with `manager`, `est_cost`, `last_action`. |
| `drawdown_threshold` | The close crossed the line 20% below one or more holders' estimated cost, in either direction. | `threshold_pct`, `crossed_below`, `crossed_above`. |
| `near_cost_band` | The close moved into or out of the ±10% band around the holders' estimated average cost. | `state` (`entered` / `left`), `agg_cost`, `agg_cost_weighting`, `distance_pct`. |
| `ownership_13d` | A tracked manager filed a Schedule 13D or 13D/A on the stock; `as_of_date` is the filing date. 13G is left out. | `form`, `amendment`, `institution_name`, `percent_of_class`, `shares_owned`, `filing_date`, `event_date`, `accession`. |

The three price events also carry the stock's `ticker`, `close`, `prev_close`,
`change_pct`, `price_as_of` and `cost_period` (the quarter the estimates come
from). None of them is a trade: each compares a daily close with estimates built
from 13F filings, and `last_action` is that manager's latest 13F move in the stock,
attached for context. `agg_cost_weighting: "shares"` marks a share-weighted
average; an event without it predates that change and carries a plain mean.

Request:

```json
{
  "jsonrpc": "2.0", "id": 4, "method": "tools/call",
  "params": {"name": "get_watchlist_events", "arguments": {"since": "2026-08-14"}}
}
```

Response (`structuredContent`, Free key):

```json
{
  "data": {
    "since": "2026-08-14",
    "watchlist_size": 6,
    "behavior": {
      "error": {
        "code": "tier_required",
        "message": "Behavior events -- the price crossing a holder's estimated cost basis or the line 20 percent below it, or moving into or out of the 10 percent band around the holders' estimated average cost, and 13D filings by tracked managers -- are a Tidemark Pro feature, and this Tidemark account is on the Free tier. The 13F/A restatements in this same response are included on every tier. Upgrade at https://tidemarkresearch.com/#pricing.",
        "upgrade_url": "https://tidemarkresearch.com/#pricing",
        "tier_required": "pro"
      }
    },
    "restatements": [
      {
        "change_type": "restated", "bucket": "increased",
        "cusip": "037833100", "issuer_name": "Apple Inc", "ticker": "AAPL",
        "institution": "Berkshire Hathaway", "period": "2026-06-30",
        "old_shares": 1000000, "new_shares": 1250000,
        "old_value": 170000000, "new_value": 212500000
      }
    ]
  },
  "meta": {
    "as_of": "2026-08-21", "period": "2026-06-30",
    "coverage": {"reporting_count": 45, "tracked_count": 50, "covered": true},
    "tier": "free",
    "account": {"user_id": "5f3a1c2e-8b7d-4e6f-9a0b-1c2d3e4f5a6b", "email": "you@example.com", "credential": "key"},
    "provenance": ["0000001067983-26-000009"],
    "methodology": "https://tidemarkresearch.com/#methodology"
  }
}
```

`meta.period` here is not "the period these events happened in" — `get_watchlist_events`
takes no `quarter` argument, so it falls back to the newest quarter that cleared the
coverage gate, the same quarter `list_managers` reports.

A Pro key's `data.behavior` is instead `{"events": [{"cusip", "as_of_date",
"event_type", "payload"}, "..."], "as_of_latest": "2026-08-20", "truncated": false}`,
newest first and at most 30 events. When the window holds more, 13D filings are
kept first, the oldest price events are left out, and `truncated` is `true`.
`as_of_latest` is the newest day the evaluator produced events for any watchlist —
not the newest event on this one — so a quiet week can be told apart from a
stalled feed.

### `get_manager`

One tracked manager in full: roster entry and latest filing, behavioral quality
profile (`classification` — `fundamental`, `hybrid` or `quant` — holding horizon,
turnover bucket, reliability), and the Follow-Through dossier. Follow-Through
answers "what happened to the high-conviction buys this manager disclosed, if you
had bought on the disclosure date" — anchored at the 13F filing date, not the
quarter end, because the filing date is the first day the information was public.
**It is not the manager's own return.** Return figures are suppressed for quant
and high-turnover managers at every tier, because a quarterly snapshot cannot
describe a book that turns over inside the quarter. Free keys see the profile
labels (`quality.profile`); the precise metrics behind them are Pro, and arrive as
`quality.metrics: null` with `metrics_locked: true` on a Free key. Pass
`institution_id` (from `list_managers`) or a `name` fragment — an ambiguous
fragment comes back with the candidates listed rather than guessing.

Request:

```json
{
  "jsonrpc": "2.0", "id": 5, "method": "tools/call",
  "params": {"name": "get_manager", "arguments": {"name": "Berkshire"}}
}
```

Response (`structuredContent`, abbreviated):

```json
{
  "data": {
    "institution": {
      "id": 1, "cik": "0001067983", "name": "Berkshire Hathaway",
      "display_name": "Berkshire Hathaway", "classification": "fundamental",
      "style_tags": ["concentrated"], "is_quant": false,
      "latest_filing": {
        "id": 1, "period_of_report": "2026-06-30",
        "filing_date": "2026-08-11", "accession_number": "0000001067983-26-000001"
      },
      "latest_total_value": 284000000000
    },
    "quality": {
      "institution_id": 1,
      "profile": {"classification": "fundamental", "style_tags": ["concentrated"], "reliability": "...", "...": "horizon, turnover and concentration labels, holdings_count, as_of, data_notes, returns"},
      "metrics": null, "metrics_locked": true
    },
    "dossier": {
      "institution_id": 1,
      "windows": ["...(one per forward window: counts, picking against the RSP benchmark, conviction, selling -- anchored at each filing's disclosure date)..."],
      "...": "real_performance, disclaimers"
    }
  },
  "meta": {
    "as_of": "2026-08-21", "period": "2026-06-30",
    "coverage": {"reporting_count": 45, "tracked_count": 50, "covered": true},
    "tier": "free",
    "account": {"user_id": "5f3a1c2e-8b7d-4e6f-9a0b-1c2d3e4f5a6b", "email": "you@example.com", "credential": "key"},
    "provenance": ["0000001067983-26-000001"],
    "methodology": "https://tidemarkresearch.com/#methodology"
  }
}
```

### `list_managers`

The full roster — name, CIK, classification, style tags, most recent 13F filing.
Call it first to resolve a manager to an `institution_id` for `get_manager`, or to
see who is behind a signal. Available on every tier. Optional filters:
`classification` (`fundamental` / `hybrid` / `quant`), `is_quant` (`true` /
`false`) and `style_tag`. The roster no longer carries quant or other
high-turnover books: eight such managers (Bridgewater, Citadel, Gotham,
Millennium, Point72, Renaissance, Soros, Two Sigma) were withdrawn on
2026-10-13, so `is_quant` is `false` for every manager returned and a
`get_manager` call for one of them finds nothing. Both filters still work, so
existing calls keep working.

Request:

```json
{
  "jsonrpc": "2.0", "id": 6, "method": "tools/call",
  "params": {"name": "list_managers", "arguments": {"is_quant": false}}
}
```

Response (`structuredContent`, abbreviated to one row):

```json
{
  "data": {
    "managers": [
      {
        "institution_id": 1, "name": "Berkshire Hathaway", "cik": "0001067983",
        "classification": "fundamental", "style_tags": ["concentrated"],
        "is_quant": false,
        "latest_filing": {
          "id": 1, "period_of_report": "2026-06-30",
          "filing_date": "2026-08-11", "accession_number": "0000001067983-26-000001"
        }
      },
      "...(the remaining non-quant managers)..."
    ],
    "count": 42
  },
  "meta": {
    "as_of": "2026-08-21", "period": "2026-06-30",
    "coverage": {"reporting_count": 45, "tracked_count": 50, "covered": true},
    "tier": "free",
    "account": {"user_id": "5f3a1c2e-8b7d-4e6f-9a0b-1c2d3e4f5a6b", "email": "you@example.com", "credential": "key"},
    "provenance": [],
    "methodology": "https://tidemarkresearch.com/#methodology"
  }
}
```

## Rate limits

| limit | value | scope |
|---|---|---|
| Per-minute | 30 requests/minute | per API key; an account's OAuth clients share one bucket |
| Free daily budget | 500 tool calls/day | per account, shared by every API key and OAuth client it uses; resets 00:00 UTC |
| Pro daily budget | 5,000 tool calls/day | per account, shared by every API key and OAuth client it uses; resets 00:00 UTC |

The per-minute limit counts every request, `initialize` and `tools/list`
included; the daily budget counts `tools/call` only. Both limits return a JSON-RPC
error with `code: -32002` and HTTP status 429 plus a `Retry-After` header; the
structured `data.error` carries `code: "rate_limited"` and `retry_after_seconds`.
If you are polling `get_watchlist_events` on a schedule, poll less often rather
than retrying in a loop when limited.

## Tier behavior

A Free key can call every tool, and meets the Pro gate in two ways — only one of
them is an error:

- **Pro-only arguments are refused.** `screen` with more than one `signal`, a
  `behavior` quadrant, `near_cost_basis`, or a `sort` past the first six returns a
  `tier_required` error naming them in `gated_fields`, never a silently empty
  result. `get_watchlist_events` refuses only *part* of its response:
  `data.behavior` carries its own `tier_required` error while `data.restatements`
  still arrives, so check `data.behavior.error` as well as the top-level `error`.
  These are the only two places `tier_required` appears.
- **Pro-only fields are withheld without an error.** `get_stock_signal` returns
  the top three non-quant holders with their cost estimates set to `null` and
  `locked_holder_count` saying how many it left out, and its `summary.modifiers`
  never carries `near_cost_basis`. `screen` rows leave out the cost-distance,
  estimated-cost, near-cost-basis, behavior-quadrant and manager-quality fields.
  `get_manager` returns `quality.metrics: null` with `metrics_locked: true`.
  Nothing marks these as refusals, so on a Free response a `null` estimate means
  withheld, not missing.

`error.message` is written to be relayed to the account holder, and
`error.upgrade_url` always points at `https://tidemarkresearch.com/#pricing`.

## Recommended patterns

**Run `get_watchlist_events` on a schedule.** It is the one tool built for it: a
daily scheduled agent that calls it each morning with `since` set to yesterday's
date, then relays only what changed, mirrors how Tidemark's own daily email is
built. Two calls a day comfortably fits inside even the Free 500/day budget.

**Cite provenance.** Every envelope's `meta.provenance` lists the SEC accession
numbers behind the response — the filings a claim traces back to. When relaying a
number pulled from Tidemark, cite the accession alongside it rather than the
number alone; it is what lets a reader verify the claim against EDGAR directly.

**Check `meta.coverage.covered` before treating a quarter as settled.** Early in a
filing season the newest quarter may carry only a handful of filers; Tidemark
anchors on the newest *covered* quarter rather than the newest quarter with any
data at all, but not every response can: `get_manager` reports the manager's own
latest filing, which may belong to a quarter still collecting filings, and a newly
listed stock with no covered quarter yet comes back on its raw latest quarter
(`summary.partial_coverage: true`). Read `covered` before asserting anything is
representative.

**Prefer CUSIP over ticker once you have it.** `get_stock_signal` accepts either,
but tickers get reassigned to new companies after delistings; a CUSIP taken from
a prior response — `get_stock_signal`'s `data.cusip`, or a `screen` row's
`cusip` — is unambiguous on every later call.
