{"server":"canli-validation-mcp","checked":"2026-11-26","tools":[{"name":"audit_backtest","title":"Audit a backtest","description":"One-call audit of a strategy's returns. Headline: one test whose false-positive rate was measured on nine return shapes (White's Reality Check with variants, luck trials with Lo's correction without). Then deflated Sharpe, minimum track record and, with variants, overfitting and out-of-sample decay, each with its receipt, plus fix_next. Send every variant tried (variants_file) so trials are counted; point returns_file at a CSV instead of pasting. A deflated Sharpe or overfitting probability above or below any threshold is not admission to anything and is not a forecast.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"returns":{"description":"Periodic returns as fractions (0.01 = 1%), oldest first; replaces the Sharpe, observations, skew and kurtosis.","minItems":2,"maxItems":20000,"type":"array","items":{"type":"number"}},"returns_file":{"description":"Path to a CSV or JSON of the returns on this machine (not on the hosted endpoint), instead of returns.","type":"string","minLength":1,"maxLength":4096},"returns_column":{"description":"Column name or 1-based position, when returns_file has several numeric columns.","anyOf":[{"type":"string","minLength":1,"maxLength":200},{"type":"integer","minimum":1}]},"periods_per_year":{"type":"number","minimum":1,"maximum":10000,"description":"Periods per year: 252 daily, 365 crypto, 52 weekly, 12 monthly."},"effective_independent_trials":{"description":"Independent variants tried before choosing this one. Optional with variants: counted from them, and the larger number is used.","type":"integer","minimum":2,"maximum":10000000},"cross_trial_sharpe_sd_annualized":{"description":"Standard deviation of annualized Sharpe across those trials. Optional with variants: measured from them, and the larger is used.","type":"number","minimum":0,"maximum":10},"benchmark_sharpe_annualized":{"description":"Annualized Sharpe to beat; default 0.","type":"number","minimum":-10,"maximum":10},"confidence":{"description":"Between 0 and 1; default 0.95.","type":"number","exclusiveMinimum":0,"exclusiveMaximum":1},"variants":{"description":"Optional returns of every variant tried (this one included), one row per period, one column per variant; adds the overfitting check.","minItems":2,"maxItems":20000,"type":"array","items":{"maxItems":200,"type":"array","items":{"type":"number"}}},"variants_file":{"description":"Path to a CSV or JSON with one numeric column per variant, instead of variants.","type":"string","minLength":1,"maxLength":4096},"n_splits":{"description":"Even number of blocks, at least 2; default 16.","type":"integer","exclusiveMinimum":0}},"required":["periods_per_year"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"backtest_strategy","title":"Backtest a rule over a parameter grid, validated","description":"Backtest a rule on your prices over a whole parameter grid, then validate the best with the count of variants actually run: deflated Sharpe, overfitting probability, minimum track record, vs buy and hold, after costs. A backtest, deflated or not, is not a forecast and not advice.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"family":{"type":"string","enum":["buy_and_hold","sma_cross","momentum","mean_reversion","breakout"],"description":"sma_cross (fast, slow), momentum (lookback, skip), mean_reversion (window, entry_z), breakout (lookback), buy_and_hold."},"grid":{"description":"Values per parameter, e.g. {\"fast\":[10,20],\"slow\":[50,200]}; every valid combination runs (max 200).","type":"object","additionalProperties":{"anyOf":[{"type":"number"},{"type":"array","items":{"type":"number"}}]}},"prices":{"description":"Prices, oldest first.","type":"array","items":{"type":"number"}},"prices_file":{"type":"string","description":"CSV or JSON of prices on this machine; local server only."},"prices_column":{"anyOf":[{"type":"string"},{"type":"integer"}],"description":"Column name or 1-based position."},"dates":{"type":"array","items":{"type":"string"},"description":"Optional ISO dates, one per value."},"periods_per_year":{"type":"number","description":"252 daily (default), 365 crypto, 52 weekly, 12 monthly."},"cost_bps":{"description":"Cost per unit of turnover, bps; default 5.","type":"number","minimum":0},"allow_short":{"description":"Short instead of flat; default false.","type":"boolean"}},"required":["family"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"check_feasibility","title":"Check a plan against broker limits and impact","description":"Check a trading plan before it trades: broker order-rate and minimum-order limits, 2026 US day-trading rules, square-root market impact with crowding, and the capital where costs eat the return. Checks the plan as described against published broker limits and a market-impact model; it never contacts a broker or sees an account.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"broker":{"description":"Default other.","type":"string","enum":["alpaca","ibkr","other"]},"asset_class":{"type":"string","enum":["us_equity","crypto","futures","fx","options"]},"account":{"type":"string","enum":["cash","margin"]},"capital_usd":{"type":"number"},"orders_per_rebalance":{"type":"integer"},"rebalances_per_year":{"type":"number"},"turnover_per_year":{"type":"number","minimum":0,"description":"Buys plus sells a year / capital."},"adv_usd":{"type":"number","description":"Daily dollar volume of a typical holding."},"daily_volatility":{"type":"number","maximum":1,"description":"Of a typical holding, e.g. 0.02."},"copies":{"description":"Agents trading the same signal at once; default 1.","type":"integer"},"expected_gross_return":{"description":"Annual, before costs; adds capacity.","type":"number","minimum":-1},"spread_and_fees_bps":{"description":"Per trade; default 0.","type":"number","minimum":0},"impact_coefficient":{"description":"Square-root law Y; default 1.","type":"number"},"minutes_per_rebalance":{"description":"Default 1.","type":"number"},"orders_per_minute_limit":{"description":"If the broker's is not on file.","type":"number"}},"required":["capital_usd","orders_per_rebalance","rebalances_per_year","turnover_per_year","adv_usd","daily_volatility"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"check_leakage","title":"Check a signal for lookahead","description":"Does a signal look ahead? plan gives cuts; rerun your code on the first cut rows for each, then compare. Rows that changed used later rows; the result names the pattern and horizon. No code is sent. A pass covers only these cuts: the columns are the caller's, and survivorship, vendor revisions or a leak no cut reaches leave no trace.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"action":{"type":"string","enum":["plan","compare"]},"observations":{"description":"plan: rows in the series.","type":"integer"},"prefixes":{"description":"plan: cuts, default 5.","type":"integer"},"seed":{"type":"integer"},"cuts":{"description":"compare: plan's cuts.","type":"array","items":{"type":"integer"}},"columns":{"description":"compare: {name: {full: [all rows], prefixes: [[first cuts[i] rows], ...]}}, null for missing.","type":"object","additionalProperties":{"type":"object","properties":{}}},"columns_file":{"description":"compare, on your machine: a JSON file {cuts, columns} instead.","type":"string"},"timestamps":{"type":"array","items":{"type":"string"}},"tolerance":{"description":"Default 1e-9.","type":"number"}},"required":["action"],"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"placebo_test","title":"Test a research pipeline on placebo data","description":"Does your pipeline find edges in noise? plan writes placebo files (your data's returns in random orders, so nothing is predictable); run the whole pipeline on real.csv and on each, then compare for a p-value that counts every choice it makes. Beating the placebos shows the pipeline finds more in the real order of the returns than in random orders of the same returns; it does not show the edge survives costs, capacity or the future.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"action":{"type":"string","enum":["plan","compare"]},"data_file":{"description":"plan, on your machine: CSV or JSON, a column per asset, dates optional.","type":"string"},"columns":{"description":"plan: {asset: [values]} instead of data_file.","type":"object","additionalProperties":{"type":"array","items":{"type":"number"}}},"kind":{"description":"plan: default prices.","type":"string","enum":["prices","returns"]},"placebos":{"description":"plan: default 19, up to 199.","type":"integer"},"method":{"type":"string","enum":["permute","block_permute","stationary_bootstrap"]},"seed":{"type":"integer"},"real":{"description":"compare: the pipeline's result on the real data.","type":"number"},"placebo_results":{"description":"compare: its result on each placebo, in file order.","type":"array","items":{"type":"number"}},"lower_is_better":{"type":"boolean"}},"required":["action"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":false}},{"name":"service_status","title":"Service status","description":"Whether the validation API is up, with its quotas; check after a timeout before resubmitting. No key. This verdict is about the series exactly as submitted. The service never saw the data source, its costs, survivorship, or any lookahead in how the series was built.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{},"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":true}},{"name":"stress_test","title":"Stress-test a strategy's returns","description":"Stress a strategy's returns: bootstrap histories (how often the drawdown limit breaks or Sharpe turns negative) and named crash, volatility, repeat and stuck-position scenarios, with a fragility share. Frequencies over resampled histories are not forecasts of the future.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"returns":{"description":"Strategy returns as fractions, oldest first.","type":"array","items":{"type":"number"}},"returns_file":{"type":"string","description":"CSV or JSON of returns on this machine; local server only."},"returns_column":{"anyOf":[{"type":"string"},{"type":"integer"}],"description":"Column name or 1-based position."},"periods_per_year":{"type":"number","description":"252 daily (default), 365 crypto, 52 weekly, 12 monthly."},"paths":{"description":"Default 1000.","type":"integer"},"block":{"description":"Mean block length; default cube root of n.","type":"number"},"seed":{"description":"Default 42; reproduces exactly.","type":"integer"},"drawdown_limit":{"description":"Fraction; default 0.2.","type":"number","exclusiveMinimum":0,"exclusiveMaximum":1},"crash":{"description":"Crash size, negative; default min(-0.2, 3x worst period).","type":"number","exclusiveMinimum":-1,"exclusiveMaximum":0},"volatility_multiplier":{"description":"Default 2.","type":"number"},"outage_periods":{"description":"Stuck periods after the worst; default 5.","type":"integer"}},"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"summarize_series","title":"Summarize a price or return series","description":"A long price or return series in about 100 words plus fields: growth, risk, dated drawdowns, trend, volatility regime, tails, jumps, stale data. Use instead of reading raw bars. Nothing here is a forecast or advice.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"prices":{"description":"Prices, oldest first; or returns, or series_file.","type":"array","items":{"type":"number"}},"returns":{"description":"Returns as fractions, oldest first.","type":"array","items":{"type":"number"}},"series_file":{"type":"string","description":"CSV or JSON of prices or returns on this machine; local server only."},"series_column":{"anyOf":[{"type":"string"},{"type":"integer"}],"description":"Column name or 1-based position."},"series_kind":{"description":"series_file holds; default prices.","type":"string","enum":["prices","returns"]},"dates":{"type":"array","items":{"type":"string"},"description":"Optional ISO dates, one per value."},"periods_per_year":{"type":"number","description":"252 daily (default), 365 crypto, 52 weekly, 12 monthly."},"benchmark_returns":{"description":"Same-period benchmark returns; adds beta.","type":"array","items":{"type":"number"}},"name":{"description":"Label for the text.","type":"string"}},"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false}},{"name":"validate_backtest_length","title":"Minimum backtest length","description":"Minimum backtest length (years) before the best of N independent trials is not expected to reach a target Sharpe by luck; with backtest_years, the most trials those years allow. For planning a search; once it has a result, use validate_deflated_sharpe. A deflated Sharpe or overfitting probability above or below any threshold is not admission to anything and is not a forecast.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"effective_independent_trials":{"description":"Independent trials tried (backtests, parameter sets, ideas).","type":"integer","minimum":2,"maximum":1000000000},"backtest_years":{"description":"Backtest length in years, for the most trials it allows.","type":"number","exclusiveMinimum":0,"maximum":1000},"target_sharpe_annualized":{"description":"In-sample annualized Sharpe you would call a discovery; default 1.","type":"number","exclusiveMinimum":0,"maximum":10}},"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"validate_breadth","title":"Validate breadth ceiling","description":"Book Sharpe ceiling from adding sleeves of this quality and correlation, the Sharpe at a sleeve count, and the sleeves a target needs. For portfolio construction; it validates no single strategy. This verdict is about the series exactly as submitted. The service never saw the data source, its costs, survivorship, or any lookahead in how the series was built.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"sleeve_sharpe":{"type":"number","exclusiveMinimum":0,"description":"Annualized Sharpe of one sleeve."},"average_pairwise_correlation":{"type":"number","minimum":-1,"maximum":1,"description":"Average correlation between sleeves, -1 to 1."},"sleeves":{"description":"Sleeve count, for that book's Sharpe.","type":"integer","minimum":1,"maximum":500},"target":{"description":"Target book Sharpe, for the sleeves it needs.","type":"number","exclusiveMinimum":0}},"required":["sleeve_sharpe","average_pairwise_correlation"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"validate_deflated_sharpe","title":"Validate deflated Sharpe","description":"Deflated Sharpe ratio: the probability (0 to 1) that the selected strategy's Sharpe beats the best that luck gives across the variants tried, with the probabilistic Sharpe and that luck benchmark. Send the seven statistics or a return series. With every variant's returns use validate_overfitting; luck as a trial count, validate_luck_trials; a multiple-testing haircut, validate_haircut_sharpe. A deflated Sharpe or overfitting probability above or below any threshold is not admission to anything and is not a forecast.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"observed_sharpe_annualized":{"description":"Annualized Sharpe as observed.","type":"number","minimum":-10,"maximum":10},"observations":{"description":"Number of return observations.","type":"integer","minimum":2,"maximum":1000000},"periods_per_year":{"description":"Periods per year: 252 daily, 365 crypto, 52 weekly, 12 monthly.","type":"number","minimum":1,"maximum":10000},"skew":{"description":"Skewness of returns; 0 if Normal.","type":"number","minimum":-20,"maximum":20},"non_excess_kurtosis":{"description":"Kurtosis, not excess kurtosis; 3 if Normal.","type":"number","minimum":1,"maximum":100},"effective_independent_trials":{"description":"Independent variants tried before choosing this one.","type":"integer","minimum":2,"maximum":10000000},"cross_trial_sharpe_sd_annualized":{"description":"Standard deviation of annualized Sharpe across those trials.","type":"number","minimum":0,"maximum":10},"returns":{"description":"Periodic returns as fractions (0.01 = 1%), oldest first; replaces the Sharpe, observations, skew and kurtosis.","minItems":2,"maxItems":20000,"type":"array","items":{"type":"number"}}},"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"validate_haircut_sharpe","title":"Haircut Sharpe ratio","description":"Haircut Sharpe for multiple testing (Harvey and Liu 2015): the Sharpe a single test would have needed, by Bonferroni and independent tests, and with the other tests' Sharpes, Holm and BHY. For the probability the Sharpe is real, use validate_deflated_sharpe. A deflated Sharpe or overfitting probability above or below any threshold is not admission to anything and is not a forecast.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"observed_sharpe_annualized":{"type":"number","exclusiveMinimum":0,"maximum":10,"description":"Annualized Sharpe as observed."},"periods_per_year":{"type":"number","minimum":1,"maximum":10000,"description":"Periods per year: 252 daily, 365 crypto, 52 weekly, 12 monthly."},"observations":{"type":"integer","minimum":3,"maximum":1000000,"description":"Return observations behind the Sharpe."},"tests":{"description":"Tests run, this one included; gives the Bonferroni and independent-test haircuts.","type":"integer","minimum":1,"maximum":100000000},"autocorrelation":{"description":"Lag-1 autocorrelation of returns, -1 to 1; default 0. Corrects the annualized Sharpe (Lo 2002).","type":"number","exclusiveMinimum":-1,"exclusiveMaximum":1},"other_sharpe_ratios_annualized":{"description":"Annualized Sharpes of the other tests over the same observations; adds Holm and BHY.","minItems":1,"maxItems":10000,"type":"array","items":{"type":"number","minimum":-10,"maximum":10}}},"required":["observed_sharpe_annualized","periods_per_year","observations"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"validate_luck_trials","title":"Luck-equivalent trials","description":"How many skill-less strategies a search would need for its best to reach this Sharpe by luck (Monte Carlo), and with a trial count, the chance it did. States luck as the best of N random tries; for the probability the Sharpe is real, use validate_deflated_sharpe. A deflated Sharpe or overfitting probability above or below any threshold is not admission to anything and is not a forecast.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"observed_sharpe_annualized":{"type":"number","minimum":-20,"maximum":20,"description":"Annualized Sharpe as observed."},"periods_per_year":{"type":"number","minimum":1,"maximum":10000,"description":"Periods per year: 252 daily, 365 crypto, 52 weekly, 12 monthly."},"observations":{"type":"integer","minimum":3,"maximum":1000000,"description":"Return observations behind the Sharpe."},"effective_independent_trials":{"description":"Independent trials tried; adds the chance the best reached this Sharpe by luck.","type":"integer","minimum":1,"maximum":1000000000},"skew":{"description":"Skewness; below -0.5 the reading warns the counts are too generous.","type":"number","minimum":-100,"maximum":100},"autocorrelation":{"description":"Lag-1 autocorrelation of returns, -1 to 1; default 0. Corrects the annualized Sharpe (Lo 2002).","type":"number","exclusiveMinimum":-1,"exclusiveMaximum":1}},"required":["observed_sharpe_annualized","periods_per_year","observations"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"validate_overfitting","title":"Validate overfitting (CSCV)","description":"Probability of backtest overfitting (0 to 1) by CSCV: how often the in-sample best variant falls below the out-of-sample median. Needs every variant's returns (periods by variants); with summary statistics only, use validate_deflated_sharpe. A deflated Sharpe or overfitting probability above or below any threshold is not admission to anything and is not a forecast.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"matrix":{"minItems":2,"maxItems":20000,"type":"array","items":{"maxItems":200,"type":"array","items":{"type":"number"}},"description":"Returns as fractions, one row per period, one column per variant."},"n_splits":{"description":"Even number of blocks, at least 2; default 16.","type":"integer","exclusiveMinimum":0},"max_combinations":{"description":"Most splits evaluated, up to 2000 (default).","type":"integer","exclusiveMinimum":0,"maximum":2000},"seed":{"description":"Sampling seed; default 42.","type":"number"}},"required":["matrix"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"validate_paper_evidence","title":"Validate paper evidence","description":"Checks paper-evidence.v0 structure and disclosures. With CANLI_LOCAL=1, record_file reads an export bundle and journal_file verifies signatures, source hashes and recomputed claims. Without a journal, source facts and signatures are unchecked. Local files are never uploaded. This verdict is about the series exactly as submitted. The service never saw the data source, its costs, survivorship, or any lookahead in how the series was built.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"record":{"description":"A canli.paper-evidence.v0 record.","type":"object"},"record_file":{"description":"Local record or export-bundle JSON path; requires CANLI_LOCAL=1.","type":"string","minLength":1,"maxLength":1000},"journal_file":{"description":"Local signed journal to recompute and bind; requires CANLI_LOCAL=1.","type":"string","minLength":1,"maxLength":1000},"signature":{"description":"Detached record signature for a signed inline record; requires journal_file.","type":"object","properties":{"scheme":{"type":"string","const":"Ed25519"},"public_key":{"type":"string","maxLength":64},"signature":{"type":"string","maxLength":128}},"required":["scheme","public_key","signature"],"additionalProperties":false}},"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"validate_reality_check","title":"Data-snooping tests (SPA, Reality Check, StepM)","description":"Data-snooping tests on every variant a search tried: Hansen's SPA p-value that the best beat the benchmark only by luck, White's Reality Check, and the variants Romano-Wolf StepM finds better. Send all variants tried, not only the winners. A deflated Sharpe or overfitting probability above or below any threshold is not admission to anything and is not a forecast.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"matrix":{"description":"Returns of every variant the search tried, one row per period, one column per variant.","minItems":30,"maxItems":20000,"type":"array","items":{"maxItems":200,"type":"array","items":{"type":"number"}}},"matrix_file":{"description":"Path to a CSV or JSON with one numeric column per variant, instead of matrix.","type":"string","minLength":1,"maxLength":4096},"benchmark":{"description":"Benchmark return per period; default zero.","minItems":30,"maxItems":20000,"type":"array","items":{"type":"number"}},"block_length":{"description":"Mean bootstrap block in periods; default round(n^(1/3)).","type":"integer","minimum":1,"maximum":10000},"reps":{"description":"Bootstrap draws; default 2000.","type":"integer","minimum":500,"maximum":400000},"seed":{"description":"Sampling seed; default 42.","type":"integer"},"alpha":{"description":"Familywise error for StepM; default 0.05.","type":"number","exclusiveMinimum":0,"maximum":0.5}},"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"validate_track_record","title":"Minimum track record length","description":"Minimum track record length (observations and years) for an observed Sharpe to beat a benchmark at a confidence level; with observations, the record's probabilistic Sharpe so far. For live or paper records; to size a backtest for its trials, use validate_backtest_length. A deflated Sharpe or overfitting probability above or below any threshold is not admission to anything and is not a forecast.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"observed_sharpe_annualized":{"type":"number","minimum":-10,"maximum":10,"description":"Annualized Sharpe as observed."},"periods_per_year":{"type":"number","minimum":1,"maximum":10000,"description":"Periods per year: 252 daily, 365 crypto, 52 weekly, 12 monthly."},"skew":{"type":"number","minimum":-20,"maximum":20,"description":"Skewness of returns; 0 if Normal."},"non_excess_kurtosis":{"type":"number","minimum":1,"maximum":100,"description":"Kurtosis, not excess kurtosis; 3 if Normal."},"benchmark_sharpe_annualized":{"description":"Annualized Sharpe to beat; default 0.","type":"number","minimum":-10,"maximum":10},"confidence":{"description":"Between 0 and 1; default 0.95.","type":"number","exclusiveMinimum":0,"exclusiveMaximum":1},"observations":{"description":"Record length so far, for its probabilistic Sharpe.","type":"integer","minimum":2,"maximum":1000000}},"required":["observed_sharpe_annualized","periods_per_year","skew","non_excess_kurtosis"],"additionalProperties":false},"annotations":{"readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"verify_receipt","title":"Verify a receipt","description":"Verify a receipt offline: its Ed25519 signature against the bundled canlicapital.com key, its output hash and its id. Send an id to fetch it first, or the receipt itself. The receipt is content-hashed, reproducible from the open-source core it names, and signed with Ed25519 by a key published at https://canlicapital.com/.well-known/canli-receipt-keys.json.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"description":"Receipt id from a validation result.","type":"string","pattern":"^[0-9a-f]{24}$"},"receipt":{"description":"A receipt object, to verify without fetching.","type":"object"},"include_receipt":{"description":"With id: also return the stored receipt.","type":"boolean"}},"additionalProperties":false},"annotations":{"readOnlyHint":true,"destructiveHint":false,"openWorldHint":true}}],"resources":[{"uri":"canli://limits","name":"limits","title":"What a result does not establish","description":"The boundary sentences every validation result carries.","mimeType":"text/markdown"},{"uri":"canli://sources","name":"sources","title":"Sources and independent checks","description":"The papers behind each validator and how each is checked against them.","mimeType":"text/markdown"},{"uri":"canli://strategy-spec","name":"strategy-spec","title":"Strategy families and their parameters","description":"JSON Schema of backtest_strategy's families, parameters and rules.","mimeType":"application/json"},{"uri":"canli://openapi","name":"openapi","title":"The validation API's OpenAPI 3.1 document","description":"Generated from the endpoints that exist; fetched from canlicapital.com when read.","mimeType":"application/json"}],"prompts":[{"name":"validate_backtest","title":"Validate a backtest before trusting it","description":"Walk through the deflated Sharpe, overfitting and track-record checks for one strategy, and report what the numbers do not establish."},{"name":"track_record_needed","title":"How long a track record do I need?","description":"The minimum track record length for a Sharpe to clear a benchmark, with the record's own probabilistic Sharpe if its length is known."},{"name":"backtest_and_validate","title":"Backtest a rule and check whether the best variant is luck","description":"Run a strategy family over a parameter grid on your prices, then read the deflated Sharpe and overfitting probability that count every variant run."},{"name":"stress_my_strategy","title":"How fragile is this strategy?","description":"Resampled histories and named crash, volatility, repeat and outage scenarios for a strategy's returns."},{"name":"production_check","title":"Will this plan survive a real broker?","description":"Order-rate and minimum-order limits, 2026 day-trading rules, market impact, crowding and capacity for a trading plan."},{"name":"summarize_market_series","title":"Read a long series in a hundred words","description":"Summarize a price or return file instead of reading its rows."},{"name":"check_signal_for_lookahead","title":"Does my signal look ahead?","description":"Rerun your own signal code on prefixes the server picks, and find any value that depends on later rows."},{"name":"test_pipeline_on_placebos","title":"Does my pipeline find edges in noise?","description":"Run your whole research pipeline on placebo data, where nothing can be predicted, and see whether its real result beats what it finds there."}]}