{"server":"io.github.founders-loralabs/premiss","count":13,"tools":[{"name":"create_strategy","title":"Save a strategy","description":"Save a new private strategy using custom Python files and complete rules text, on any Premiss-supported market and timeframe. Accepts either files (strategy.py plus helper modules) and rules, or a convenience template. Uses the same package format as the app. Returns code and revision; saving does not run a backtest.","input_schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["request_key","name","symbol","interval"],"properties":{"name":{"type":"string","maxLength":120,"minLength":1},"files":{"type":"array","items":{"type":"object","required":["path","content"],"properties":{"path":{"type":"string","maxLength":1024,"minLength":1},"content":{"type":"string","maxLength":65536}},"additionalProperties":false},"maxItems":16,"minItems":1},"rules":{"type":"object","required":["watches","buys","sells","safety"],"properties":{"buys":{"type":"string","maxLength":1000,"minLength":1},"sells":{"type":"string","maxLength":1000,"minLength":1},"safety":{"type":"string","maxLength":1000,"minLength":1},"watches":{"type":"string","maxLength":1000,"minLength":1}},"additionalProperties":false},"symbol":{"type":"string","maxLength":20,"minLength":1},"interval":{"enum":["1m","3m","5m","15m","30m","1h","2h","4h","6h","8h","12h","1d","3d","1w","1M"],"type":"string"},"template":{"oneOf":[{"type":"object","required":["family","fast","slow"],"properties":{"fast":{"type":"integer","maximum":100,"minimum":2},"slow":{"type":"integer","maximum":300,"minimum":3},"family":{"type":"string","const":"sma_crossover"}},"additionalProperties":false},{"type":"object","required":["family","period","enter_below","exit_above"],"properties":{"family":{"type":"string","const":"rsi_threshold"},"period":{"type":"integer","maximum":100,"minimum":2},"exit_above":{"type":"number","maximum":95,"minimum":55},"enter_below":{"type":"number","maximum":45,"minimum":5}},"additionalProperties":false},{"type":"object","required":["family","entry_bars","exit_bars"],"properties":{"family":{"type":"string","const":"price_channel"},"exit_bars":{"type":"integer","maximum":300,"minimum":2},"entry_bars":{"type":"integer","maximum":300,"minimum":2}},"additionalProperties":false}]},"request_key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Idempotency UUID identifying one requested write and its unchanged arguments."}},"additionalProperties":false},"output_schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["id","name","symbol","interval","revision","version","rules","template","app_url"],"properties":{"id":{"type":"string","maxLength":128,"minLength":1},"name":{"type":"string"},"files":{"type":"array","items":{"type":"object","required":["path","content"],"properties":{"path":{"type":"string","maxLength":1024,"minLength":1},"content":{"type":"string","maxLength":65536}},"additionalProperties":false},"maxItems":16,"minItems":1},"rules":{"anyOf":[{"type":"object","required":["watches","buys","sells","safety"],"properties":{"buys":{"type":"string","maxLength":1000,"minLength":1},"sells":{"type":"string","maxLength":1000,"minLength":1},"safety":{"type":"string","maxLength":1000,"minLength":1},"watches":{"type":"string","maxLength":1000,"minLength":1}},"additionalProperties":false},{"type":"null"}]},"venue":{"type":"string"},"symbol":{"type":"string"},"app_url":{"type":"string","format":"uri"},"version":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},"interval":{"type":"string"},"revision":{"type":"string"},"template":{"anyOf":[{"oneOf":[{"type":"object","required":["family","fast","slow"],"properties":{"fast":{"type":"integer","maximum":100,"minimum":2},"slow":{"type":"integer","maximum":300,"minimum":3},"family":{"type":"string","const":"sma_crossover"}},"additionalProperties":false},{"type":"object","required":["family","period","enter_below","exit_above"],"properties":{"family":{"type":"string","const":"rsi_threshold"},"period":{"type":"integer","maximum":100,"minimum":2},"exit_above":{"type":"number","maximum":95,"minimum":55},"enter_below":{"type":"number","maximum":45,"minimum":5}},"additionalProperties":false},{"type":"object","required":["family","entry_bars","exit_bars"],"properties":{"family":{"type":"string","const":"price_channel"},"exit_bars":{"type":"integer","maximum":300,"minimum":2},"entry_bars":{"type":"integer","maximum":300,"minimum":2}},"additionalProperties":false}]},{"type":"null"}]}},"additionalProperties":false},"annotations":{"title":"Save a strategy","readOnlyHint":false,"openWorldHint":false,"idempotentHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-19T11:13:06.578Z"},{"name":"describe_market","title":"Check market coverage","description":"Return supported timeframes, available history and data limitations for a market id.","input_schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["market"],"properties":{"market":{"type":"string","maxLength":128,"minLength":1}},"additionalProperties":false},"output_schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["market","symbol","name","assetClass","exchange","currency","active","intervals","availableFrom","availableTo","availability","notes"],"properties":{"name":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}},"active":{"type":"boolean"},"market":{"type":"string"},"symbol":{"type":"string"},"currency":{"type":"string"},"exchange":{"type":"string"},"intervals":{"type":"array","items":{"type":"string"}},"assetClass":{"enum":["crypto","stock","etf"],"type":"string"},"availableTo":{"type":["string","null"]},"availability":{"type":"array","items":{"type":"object","required":["intervals","availableFrom","availableTo"],"properties":{"intervals":{"type":"array","items":{"type":"string"}},"availableTo":{"type":["string","null"]},"availableFrom":{"type":["string","null"]}},"additionalProperties":false}},"availableFrom":{"type":["string","null"]}},"additionalProperties":false},"annotations":{"title":"Check market coverage","readOnlyHint":true,"openWorldHint":false,"idempotentHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-19T11:13:06.578Z"},{"name":"get_capabilities","title":"Premiss capabilities","description":"Read this connection's available tools and supported research coverage. Does not read account data, save research, or run a simulation.","input_schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{},"additionalProperties":false},"output_schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["schema_version","release_stage","available_tools","available","research_scope","unavailable_operations"],"properties":{"available":{"type":"object","required":["account_linking","historical_simulations","saved_research","paper_reports"],"properties":{"paper_reports":{"type":"boolean"},"saved_research":{"type":"boolean"},"account_linking":{"type":"boolean"},"historical_simulations":{"type":"boolean"}},"additionalProperties":false},"release_stage":{"enum":["transport_prototype","research"],"type":"string"},"research_scope":{"type":"object","required":["markets","intervals","exposure","custom_python","equity_intervals","market_discovery_tool","template_shortcuts"],"properties":{"markets":{"type":"array","items":{"type":"string"}},"exposure":{"type":"string","const":"long_short_or_flat"},"intervals":{"type":"array","items":{"type":"string"}},"custom_python":{"type":"boolean","const":true},"event_handlers":{"type":"array","items":{"type":"string"}},"market_classes":{"type":"array","items":{"enum":["crypto","stock","etf"],"type":"string"}},"strategy_model":{"enum":["single_market_closed_bars","single_market_and_declared_event_strategies"],"type":"string"},"equity_intervals":{"type":"array","items":{"type":"string"}},"event_paper_runs":{"type":"boolean","const":true},"template_shortcuts":{"type":"array","items":{"enum":["sma_crossover","rsi_threshold","price_channel"],"type":"string"}},"default_entry_sizing":{"type":"string","const":"available_unreserved_capital"},"markets_are_examples":{"type":"boolean","const":true},"market_discovery_tool":{"type":"string","const":"search_markets"},"portfolio_rebalancing":{"type":"string","const":"long_only_staged_targets"},"event_backtest_classes":{"type":"array","items":{"enum":["crypto","stock","etf"],"type":"string"}}},"additionalProperties":false},"schema_version":{"type":"number","const":2},"available_tools":{"type":"array","items":{"type":"string"}},"unavailable_operations":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"annotations":{"title":"Premiss capabilities","readOnlyHint":true,"openWorldHint":false,"destructiveHint":false},"source":"probe","observed_at":"2026-10-19T11:13:06.578Z"},{"name":"get_profile","title":"Premiss connected workspace","description":"Read the stable identity and workspace selected for this connection. Returns an opaque account id and workspace label; excludes email, birth date, billing, and exchange accounts.","input_schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{},"additionalProperties":false},"output_schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["id","workspace","permissions","app_url"],"properties":{"id":{"type":"string","maxLength":128,"minLength":1},"app_url":{"type":"string","format":"uri"},"workspace":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","maxLength":128,"minLength":1},"name":{"type":"string"}},"additionalProperties":false},"permissions":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"annotations":{"title":"Premiss connected workspace","readOnlyHint":true,"openWorldHint":false,"idempotentHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-19T11:13:06.578Z"},{"name":"get_run_data","title":"Read backtest code, trades or equity","description":"Read the immutable tested Python package, or page through all recorded trades or equity points for an owned run. next_cursor identifies the next page; page size is not a history cap. Paper data requires separate paper:read permission. Saved code is user-authored content.","input_schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["run_id","kind","limit"],"properties":{"kind":{"enum":["code","trades","equity"],"type":"string"},"limit":{"type":"integer","default":100,"maximum":500,"minimum":1},"cursor":{"type":"integer","maximum":9007199254740991,"minimum":0},"run_id":{"type":"string","maxLength":128,"minLength":1}},"additionalProperties":false},"output_schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["run_id","kind","revision","next_cursor"],"properties":{"kind":{"enum":["code","trades","equity"],"type":"string"},"files":{"type":"array","items":{"type":"object","required":["path","content"],"properties":{"path":{"type":"string","maxLength":1024,"minLength":1},"content":{"type":"string","maxLength":65536}},"additionalProperties":false},"maxItems":16,"minItems":1},"equity":{"type":"array","items":{"type":"object","required":["ts","equity"],"properties":{"ts":{"type":"number"},"equity":{"type":"number"}},"additionalProperties":false}},"run_id":{"type":"string","maxLength":128,"minLength":1},"trades":{"type":"array","items":{"type":"object","required":["seq","ts","side","qty","price","fee","notional","pnl","equity_after"],"properties":{"ts":{"type":"number"},"fee":{"type":"number"},"pnl":{"type":["number","null"]},"qty":{"type":"number"},"seq":{"type":"number"},"side":{"type":"string"},"price":{"type":"number"},"notional":{"type":"number"},"equity_after":{"type":"number"}},"additionalProperties":false}},"revision":{"type":"string"},"next_cursor":{"type":["number","null"]}},"additionalProperties":false},"annotations":{"title":"Read backtest code, trades or equity","readOnlyHint":true,"openWorldHint":false,"idempotentHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-19T11:13:06.578Z"},{"name":"get_run_report","title":"Read historical or paper evidence","description":"Read the status and bounded performance report for one run in the connected workspace. Returns the tested market, interval, revision, and recorded rules when verifiable. Historical plugin runs include the paired buy-and-hold baseline when completed. Paper reads require paper:read and do not start, stop, qualify, or modify a bot. Legacy runs without supported assumptions are labeled. Does not return raw market feeds.","input_schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["run_id"],"properties":{"run_id":{"type":"string","maxLength":128,"minLength":1}},"additionalProperties":false},"output_schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["run_id","strategy_id","mode","status","symbol","interval","venue","engine_version","strategy_version","tested_rules","revision","start_ts","end_ts","last_ts","metrics","assumptions","baseline","limitations","app_url"],"properties":{"mode":{"enum":["backtest","paper"],"type":"string"},"error":{"type":["string","null"]},"venue":{"type":"string"},"end_ts":{"type":["number","null"]},"run_id":{"type":"string","maxLength":128,"minLength":1},"status":{"type":"string"},"symbol":{"type":"string"},"app_url":{"type":"string","format":"uri"},"last_ts":{"type":["number","null"]},"metrics":{"anyOf":[{"type":"object","required":["initial_capital","final_equity","total_return_pct","cagr_pct","max_drawdown_pct","sharpe","num_trades","win_rate_pct","profit_factor","exposure_pct","bars_processed","first_ts","last_ts"],"properties":{"sharpe":{"type":["number","null"]},"last_ts":{"type":["number","null"]},"cagr_pct":{"type":["number","null"]},"first_ts":{"type":["number","null"]},"num_trades":{"type":"number"},"exposure_pct":{"type":"number"},"final_equity":{"type":"number"},"win_rate_pct":{"type":["number","null"]},"profit_factor":{"type":["number","null"]},"bars_processed":{"type":"number"},"initial_capital":{"type":"number"},"max_drawdown_pct":{"type":"number"},"total_return_pct":{"type":"number"}},"additionalProperties":false},{"type":"null"}]},"baseline":{"anyOf":[{"type":"object","required":["run_id","status","metrics","comparable"],"properties":{"run_id":{"type":"string","maxLength":128,"minLength":1},"status":{"type":"string"},"metrics":{"anyOf":[{"type":"object","required":["initial_capital","final_equity","total_return_pct","cagr_pct","max_drawdown_pct","sharpe","num_trades","win_rate_pct","profit_factor","exposure_pct","bars_processed","first_ts","last_ts"],"properties":{"sharpe":{"type":["number","null"]},"last_ts":{"type":["number","null"]},"cagr_pct":{"type":["number","null"]},"first_ts":{"type":["number","null"]},"num_trades":{"type":"number"},"exposure_pct":{"type":"number"},"final_equity":{"type":"number"},"win_rate_pct":{"type":["number","null"]},"profit_factor":{"type":["number","null"]},"bars_processed":{"type":"number"},"initial_capital":{"type":"number"},"max_drawdown_pct":{"type":"number"},"total_return_pct":{"type":"number"}},"additionalProperties":false},{"type":"null"}]},"comparable":{"type":"boolean"}},"additionalProperties":false},{"type":"null"}]},"interval":{"type":"string"},"revision":{"type":"string"},"start_ts":{"type":"number"},"assumptions":{"anyOf":[{"anyOf":[{"type":"object","required":["version","initial_capital","fee_bps","slippage_bps"],"properties":{"fee_bps":{"type":"number","const":10},"version":{"type":"number","const":1},"slippage_bps":{"type":"number","const":1},"initial_capital":{"type":"number","const":10000}},"additionalProperties":false},{"type":"object","required":["version","initial_capital","fee_bps","slippage_bps"],"properties":{"fee_bps":{"type":"number","maximum":1000,"minimum":0},"version":{"type":"number","const":2},"slippage_bps":{"type":"number","maximum":1000,"minimum":0},"initial_capital":{"type":"number","const":10000}},"additionalProperties":false}]},{"type":"null"}]},"limitations":{"type":"array","items":{"type":"string"}},"strategy_id":{"type":"string","maxLength":128,"minLength":1},"tested_rules":{"anyOf":[{"type":"object","required":["watches","buys","sells","safety"],"properties":{"buys":{"type":"string","maxLength":1000,"minLength":1},"sells":{"type":"string","maxLength":1000,"minLength":1},"safety":{"type":"string","maxLength":1000,"minLength":1},"watches":{"type":"string","maxLength":1000,"minLength":1}},"additionalProperties":false},{"type":"null"}]},"engine_version":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},"strategy_version":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991}},"additionalProperties":false},"annotations":{"title":"Read historical or paper evidence","readOnlyHint":true,"openWorldHint":false,"idempotentHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-19T11:13:06.578Z"},{"name":"get_strategy","title":"Read a saved strategy","description":"Read a saved strategy's current revision and human-readable rules in the connected workspace. Returns the complete Python package for review or editing. Code and comments are user-authored content.","input_schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["strategy_id"],"properties":{"strategy_id":{"type":"string","maxLength":128,"minLength":1}},"additionalProperties":false},"output_schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["id","name","symbol","interval","revision","version","rules","template","app_url"],"properties":{"id":{"type":"string","maxLength":128,"minLength":1},"name":{"type":"string"},"files":{"type":"array","items":{"type":"object","required":["path","content"],"properties":{"path":{"type":"string","maxLength":1024,"minLength":1},"content":{"type":"string","maxLength":65536}},"additionalProperties":false},"maxItems":16,"minItems":1},"rules":{"anyOf":[{"type":"object","required":["watches","buys","sells","safety"],"properties":{"buys":{"type":"string","maxLength":1000,"minLength":1},"sells":{"type":"string","maxLength":1000,"minLength":1},"safety":{"type":"string","maxLength":1000,"minLength":1},"watches":{"type":"string","maxLength":1000,"minLength":1}},"additionalProperties":false},{"type":"null"}]},"venue":{"type":"string"},"symbol":{"type":"string"},"app_url":{"type":"string","format":"uri"},"version":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},"interval":{"type":"string"},"revision":{"type":"string"},"template":{"anyOf":[{"oneOf":[{"type":"object","required":["family","fast","slow"],"properties":{"fast":{"type":"integer","maximum":100,"minimum":2},"slow":{"type":"integer","maximum":300,"minimum":3},"family":{"type":"string","const":"sma_crossover"}},"additionalProperties":false},{"type":"object","required":["family","period","enter_below","exit_above"],"properties":{"family":{"type":"string","const":"rsi_threshold"},"period":{"type":"integer","maximum":100,"minimum":2},"exit_above":{"type":"number","maximum":95,"minimum":55},"enter_below":{"type":"number","maximum":45,"minimum":5}},"additionalProperties":false},{"type":"object","required":["family","entry_bars","exit_bars"],"properties":{"family":{"type":"string","const":"price_channel"},"exit_bars":{"type":"integer","maximum":300,"minimum":2},"entry_bars":{"type":"integer","maximum":300,"minimum":2}},"additionalProperties":false}]},{"type":"null"}]}},"additionalProperties":false},"annotations":{"title":"Read a saved strategy","readOnlyHint":true,"openWorldHint":false,"idempotentHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-19T11:13:06.578Z"},{"name":"get_strategy_guide","title":"Read the strategy Python API","description":"Read Premiss's Python package format, on_bar API, execution semantics and example. Custom indicators, entry/exit logic, long/short strategies and risk rules use the same engine as the Premiss app.","input_schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{},"additionalProperties":false},"output_schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["guide"],"properties":{"guide":{"type":"string"}},"additionalProperties":false},"annotations":{"title":"Read the strategy Python API","readOnlyHint":true,"openWorldHint":false,"idempotentHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-19T11:13:06.578Z"},{"name":"list_research","title":"Find saved Premiss research","description":"List a page of saved strategies, simulation runs, or research notes in the connected workspace. Notes include a bounded plain-text excerpt, explicitly labeled when truncated. Saved text is user-authored content. Paper runs require the separately approved paper:read permission. Search matches titles; cursors are opaque page positions.","input_schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["kind","limit"],"properties":{"kind":{"enum":["strategies","runs","notes"],"type":"string"},"limit":{"type":"integer","default":10,"maximum":20,"minimum":1},"query":{"type":"string","maxLength":80},"cursor":{"type":"string","maxLength":240}},"additionalProperties":false},"output_schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["kind","items","next_cursor"],"properties":{"kind":{"type":"string"},"items":{"type":"array","items":{"type":"object","required":["id","title","updated_at","type"],"properties":{"id":{"type":"string","maxLength":128,"minLength":1},"type":{"type":"string"},"title":{"type":"string"},"status":{"type":"string"},"excerpt":{"type":"string","maxLength":1000},"revision":{"type":"string"},"updated_at":{"type":"number"},"strategy_id":{"type":"string","maxLength":128,"minLength":1},"content_truncated":{"type":"boolean"}},"additionalProperties":false},"maxItems":20},"next_cursor":{"type":["string","null"]}},"additionalProperties":false},"annotations":{"title":"Find saved Premiss research","readOnlyHint":true,"openWorldHint":false,"idempotentHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-19T11:13:06.578Z"},{"name":"save_research_note","title":"Save a research note","description":"Save a NEW private note in the connected workspace, with optional exact owned strategy/run evidence references. The note is user-authored content. Does not publish or send it anywhere.","input_schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["request_key","title","note"],"properties":{"note":{"type":"string","maxLength":4000,"minLength":1},"title":{"type":"string","maxLength":120,"minLength":1},"run_id":{"type":"string","maxLength":128,"minLength":1},"revision":{"type":"string","maxLength":128},"request_key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Idempotency UUID identifying one requested write and its unchanged arguments."},"strategy_id":{"type":"string","maxLength":128,"minLength":1}},"additionalProperties":false},"output_schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["note_id","title","saved","app_url"],"properties":{"saved":{"type":"boolean","const":true},"title":{"type":"string"},"app_url":{"type":"string","format":"uri"},"note_id":{"type":"string","maxLength":128,"minLength":1}},"additionalProperties":false},"annotations":{"title":"Save a research note","readOnlyHint":false,"openWorldHint":false,"idempotentHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-19T11:13:06.578Z"},{"name":"search_markets","title":"Find supported markets","description":"Search the same crypto, stock and ETF directory as Premiss. Does not return prices or candles.","input_schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["query","limit"],"properties":{"limit":{"type":"integer","default":20,"maximum":50,"minimum":1},"query":{"type":"string","default":"","maxLength":120},"asset_class":{"enum":["crypto","stock","etf"],"type":"string"}},"additionalProperties":false},"output_schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["markets"],"properties":{"markets":{"type":"array","items":{"type":"object","required":["market","symbol","name","assetClass","exchange","currency","active"],"properties":{"name":{"type":"string"},"active":{"type":"boolean"},"market":{"type":"string"},"symbol":{"type":"string"},"currency":{"type":"string"},"exchange":{"type":"string"},"assetClass":{"enum":["crypto","stock","etf"],"type":"string"}},"additionalProperties":false}}},"additionalProperties":false},"annotations":{"title":"Find supported markets","readOnlyHint":true,"openWorldHint":false,"idempotentHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-19T11:13:06.578Z"},{"name":"start_backtest","title":"Start a historical backtest","description":"Queue a backtest of any saved strategy in the connected workspace and a matched buy-and-hold baseline. Accepts custom code and existing app strategies. Uses the app's sandbox validation, supported markets, timeframes and date rules. Requires the exact saved revision. Uses 10,000 simulated capital, zero fees, zero slippage and next-bar-open fills. Read the report assumptions for historical runs. No plugin-only daily test or history caps. Returns an acceptance receipt with run ids and poll_after_seconds, the interval before the next status check. Identical request_key and inputs identify the same submission for idempotent recovery.","input_schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["request_key","strategy_id","revision","start_date"],"properties":{"end_date":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"revision":{"type":"string","maxLength":128,"minLength":1},"start_date":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"request_key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Idempotency UUID identifying one requested write and its unchanged arguments."},"strategy_id":{"type":"string","maxLength":128,"minLength":1}},"additionalProperties":false},"output_schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["run_id","baseline_run_id","strategy_id","revision","start_ts","end_ts","total_bars","status","app_url","poll_after_seconds","request_key"],"properties":{"end_ts":{"type":"number"},"run_id":{"type":"string","maxLength":128,"minLength":1},"status":{"type":"string","const":"accepted"},"app_url":{"type":"string","format":"uri"},"revision":{"type":"string"},"start_ts":{"type":"number"},"total_bars":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},"request_key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"strategy_id":{"type":"string","maxLength":128,"minLength":1},"tested_rules":{"anyOf":[{"type":"object","required":["watches","buys","sells","safety"],"properties":{"buys":{"type":"string","maxLength":1000,"minLength":1},"sells":{"type":"string","maxLength":1000,"minLength":1},"safety":{"type":"string","maxLength":1000,"minLength":1},"watches":{"type":"string","maxLength":1000,"minLength":1}},"additionalProperties":false},{"type":"null"}]},"baseline_run_id":{"type":"string","maxLength":128,"minLength":1},"poll_after_seconds":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991}},"additionalProperties":false},"annotations":{"title":"Start a historical backtest","readOnlyHint":false,"openWorldHint":false,"idempotentHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-19T11:13:06.578Z"},{"name":"update_strategy","title":"Edit a strategy","description":"Replace the complete Python package and rules of an existing strategy using its exact current saved revision. The submitted package replaces all existing files. Supports all Premiss markets and timeframes. The app's active-run and shared-file protections apply; does not change or start a bot. Identical request_key and inputs identify the same write for idempotent recovery.","input_schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["request_key","strategy_id","revision","symbol","interval","files","rules"],"properties":{"files":{"type":"array","items":{"type":"object","required":["path","content"],"properties":{"path":{"type":"string","maxLength":1024,"minLength":1},"content":{"type":"string","maxLength":65536}},"additionalProperties":false},"maxItems":16,"minItems":1},"rules":{"type":"object","required":["watches","buys","sells","safety"],"properties":{"buys":{"type":"string","maxLength":1000,"minLength":1},"sells":{"type":"string","maxLength":1000,"minLength":1},"safety":{"type":"string","maxLength":1000,"minLength":1},"watches":{"type":"string","maxLength":1000,"minLength":1}},"additionalProperties":false},"symbol":{"type":"string","maxLength":20,"minLength":1},"interval":{"enum":["1m","3m","5m","15m","30m","1h","2h","4h","6h","8h","12h","1d","3d","1w","1M"],"type":"string"},"revision":{"type":"string","maxLength":128,"minLength":1},"request_key":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Idempotency UUID identifying one requested write and its unchanged arguments."},"strategy_id":{"type":"string","maxLength":128,"minLength":1}},"additionalProperties":false},"output_schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["id","name","symbol","interval","revision","version","rules","template","app_url"],"properties":{"id":{"type":"string","maxLength":128,"minLength":1},"name":{"type":"string"},"files":{"type":"array","items":{"type":"object","required":["path","content"],"properties":{"path":{"type":"string","maxLength":1024,"minLength":1},"content":{"type":"string","maxLength":65536}},"additionalProperties":false},"maxItems":16,"minItems":1},"rules":{"anyOf":[{"type":"object","required":["watches","buys","sells","safety"],"properties":{"buys":{"type":"string","maxLength":1000,"minLength":1},"sells":{"type":"string","maxLength":1000,"minLength":1},"safety":{"type":"string","maxLength":1000,"minLength":1},"watches":{"type":"string","maxLength":1000,"minLength":1}},"additionalProperties":false},{"type":"null"}]},"venue":{"type":"string"},"symbol":{"type":"string"},"app_url":{"type":"string","format":"uri"},"version":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},"interval":{"type":"string"},"revision":{"type":"string"},"template":{"anyOf":[{"oneOf":[{"type":"object","required":["family","fast","slow"],"properties":{"fast":{"type":"integer","maximum":100,"minimum":2},"slow":{"type":"integer","maximum":300,"minimum":3},"family":{"type":"string","const":"sma_crossover"}},"additionalProperties":false},{"type":"object","required":["family","period","enter_below","exit_above"],"properties":{"family":{"type":"string","const":"rsi_threshold"},"period":{"type":"integer","maximum":100,"minimum":2},"exit_above":{"type":"number","maximum":95,"minimum":55},"enter_below":{"type":"number","maximum":45,"minimum":5}},"additionalProperties":false},{"type":"object","required":["family","entry_bars","exit_bars"],"properties":{"family":{"type":"string","const":"price_channel"},"exit_bars":{"type":"integer","maximum":300,"minimum":2},"entry_bars":{"type":"integer","maximum":300,"minimum":2}},"additionalProperties":false}]},{"type":"null"}]}},"additionalProperties":false},"annotations":{"title":"Edit a strategy","readOnlyHint":false,"openWorldHint":false,"idempotentHint":true,"destructiveHint":true},"source":"probe","observed_at":"2026-10-19T11:13:06.578Z"}],"next_cursor":null,"next_actions":[{"action":"get_connection","description":"Connection block to call these tools","href":"/v1/servers/io.github.founders-loralabs%2Fpremiss/connection?target=mcpServers","arguments":{"name":"io.github.founders-loralabs/premiss","target":"mcpServers"}},{"action":"get_server","description":"Full descriptor with trust and connectability","href":"/v1/servers/io.github.founders-loralabs%2Fpremiss","arguments":{"name":"io.github.founders-loralabs/premiss"}}]}