Skip to content
WeaversDocs
Browse documentation

Weavers / MCP documentation

Discover research capabilities

Inspect supported fields and evidence boundaries before analysis.

Read onlydiscover_research_capabilities

Required permission: weavers.experiments.read

Try asking

What can I ask about my research?

How it works

  • Discovery is a versioned contract, not a promise that each historical run retained every field.

Inputs

This tool takes an empty arguments object: {}.

View complete input JSON schema
Input schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {},
  "additionalProperties": false
}

What comes back

FieldDescription
capabilitiesSupported readers, fields, questions and limitations.

This table describes the decoded tool result. MCP wraps it in text content and, for object results, structuredContent.

Worked example

Fictional data. Replace identifiers, revisions and hashes with values from your own Weavers workflow.

Request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "discover_research_capabilities",
    "arguments": {}
  }
}
Decoded result

{
  "schema": "weavers.research.capabilities.v1",
  "capabilities": [
    {
      "id": "experiments",
      "version": 1,
      "title": "Owned experiment inventory",
      "scope": "account_or_strategy",
      "reader": "experiments",
      "fields": {
        "runId": {
          "type": "string",
          "unit": "identity",
          "nullable": false
        },
        "name": {
          "type": "string",
          "unit": "recorded",
          "nullable": true
        },
        "status": {
          "type": "string",
          "unit": "recorded",
          "nullable": true
        },
        "kind": {
          "type": "string",
          "unit": "recorded",
          "nullable": true
        },
        "createdAt": {
          "type": "string",
          "unit": "recorded",
          "nullable": true
        },
        "initialCapital": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "commissionBps": {
          "type": "number",
          "unit": "basis points",
          "nullable": true
        },
        "slippageBps": {
          "type": "number",
          "unit": "basis points",
          "nullable": true
        },
        "horizonBars": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "stageBMaxHoldingBars": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "riskPerTradePct": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "maxPositionPctEquity": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "maxGrossExposurePctEquity": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "tpPct": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "slPct": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "probThreshold": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "reserveCashPct": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "capitalAllocationOrder": {
          "type": "string",
          "unit": "recorded",
          "nullable": true
        },
        "leverageMode": {
          "type": "string",
          "unit": "recorded",
          "nullable": true
        },
        "stageAFeatureTimeframe": {
          "type": "string",
          "unit": "recorded",
          "nullable": true
        },
        "stageBExecutionTimeframe": {
          "type": "string",
          "unit": "recorded",
          "nullable": true
        }
      },
      "operations": [
        "rows",
        "summary"
      ],
      "sourcePaths": [
        "apps/api/src/modules/eureka-strategy-workspaces/",
        "apps/api/src/modules/eureka-python-runs/",
        "apps/shared/lib/eureka-experiments-"
      ],
      "questions": [
        "What experiments have I run?",
        "Which runs used signal_strength allocation?"
      ],
      "limitations": [
        "Inventory is bounded to 5000 retained runs; incomplete scans cannot be aggregated.",
        "Only explicitly retained configuration is exposed; missing historical values are unknown.",
        "Configuration and execution state do not establish certification."
      ]
    },
    {
      "id": "configuration",
      "version": 1,
      "title": "Recorded Guided configuration",
      "scope": "run",
      "reader": "configuration",
      "fields": {
        "runId": {
          "type": "string",
          "unit": "identity",
          "nullable": false
        },
        "initialCapital": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "commissionBps": {
          "type": "number",
          "unit": "basis points",
          "nullable": true
        },
        "slippageBps": {
          "type": "number",
          "unit": "basis points",
          "nullable": true
        },
        "horizonBars": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "stageBMaxHoldingBars": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "riskPerTradePct": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "maxPositionPctEquity": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "maxGrossExposurePctEquity": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "tpPct": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "slPct": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "probThreshold": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "reserveCashPct": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "capitalAllocationOrder": {
          "type": "string",
          "unit": "recorded",
          "nullable": true
        },
        "leverageMode": {
          "type": "string",
          "unit": "recorded",
          "nullable": true
        },
        "stageAFeatureTimeframe": {
          "type": "string",
          "unit": "recorded",
          "nullable": true
        },
        "stageBExecutionTimeframe": {
          "type": "string",
          "unit": "recorded",
          "nullable": true
        }
      },
      "operations": [
        "rows",
        "summary"
      ],
      "sourcePaths": [
        "apps/api/src/modules/optimisation/params.ts",
        "apps/shared/lib/optimisation-run-contract.ts",
        "apps/shared/lib/eureka-build-"
      ],
      "questions": [
        "What capital allocation order did this run use?",
        "What costs and holding period were recorded?"
      ],
      "limitations": [
        "Guided configuration only; Python configuration requires its separate frozen-manifest contract.",
        "Recorded parameters are not reconstructed from current defaults."
      ]
    },
    {
      "id": "trials",
      "version": 1,
      "title": "Retained Guided optimisation trials",
      "scope": "run",
      "reader": "trials",
      "fields": {
        "runId": {
          "type": "string",
          "unit": "identity",
          "nullable": false
        },
        "trialNumber": {
          "type": "number",
          "unit": "zero-based Optuna trial number",
          "nullable": true
        },
        "objective0": {
          "type": "number",
          "unit": "study-specific objective; no implicit Sharpe/return interpretation",
          "nullable": true
        },
        "objective1": {
          "type": "number",
          "unit": "study-specific objective; no implicit Sharpe/return interpretation",
          "nullable": true
        },
        "pr_auc": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "logloss": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "f1": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "trade_count_p25": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "max_drawdown_p75": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "max_drawdown_stitched": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "symbol_concentration_p75": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "turnover_p75": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "cvar_95": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "state": {
          "type": "string",
          "unit": "recorded",
          "nullable": true
        },
        "stage": {
          "type": "string",
          "unit": "recorded",
          "nullable": true
        },
        "feasible": {
          "type": "boolean",
          "unit": "recorded",
          "nullable": true
        },
        "param.tp_pct": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "param.sl_pct": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "param.prob_threshold": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "param.reserve_cash_pct": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "trialId": {
          "type": "number",
          "unit": "one-based UI trial ID",
          "nullable": false
        },
        "param.learning_rate": {
          "type": "number",
          "unit": "recorded numeric trial parameter",
          "nullable": true
        },
        "param.max_depth": {
          "type": "number",
          "unit": "recorded numeric trial parameter",
          "nullable": true
        },
        "param.n_estimators": {
          "type": "number",
          "unit": "recorded numeric trial parameter",
          "nullable": true
        },
        "param.subsample": {
          "type": "number",
          "unit": "recorded numeric trial parameter",
          "nullable": true
        },
        "param.colsample_bytree": {
          "type": "number",
          "unit": "recorded numeric trial parameter",
          "nullable": true
        },
        "param.q_gamma_top": {
          "type": "number",
          "unit": "recorded numeric trial parameter",
          "nullable": true
        },
        "param.q_atrslope_top": {
          "type": "number",
          "unit": "recorded numeric trial parameter",
          "nullable": true
        }
      },
      "operations": [
        "rows",
        "summary"
      ],
      "sourcePaths": [
        "apps/api/src/modules/optimisation/",
        "apps/data-processing-engine/src/optimisation/",
        "apps/data-processing-engine/src/two_stage_optimizer.py"
      ],
      "questions": [
        "What is the distribution of objective0 by param.sl_pct?",
        "How many trials failed or were pruned?"
      ],
      "limitations": [
        "Stage A, A2 and B are separate populations; choose stage explicitly.",
        "Objective0 and objective1 retain study-specific meaning; never assume a metric definition from position.",
        "Optuna internal categorical values are not exposed as user parameter values.",
        "Trials are adaptively sampled; associations are not causal effects.",
        "No inference of a robust optimum from a single best trial."
      ]
    },
    {
      "id": "trades",
      "version": 1,
      "title": "Retained Guided trades",
      "scope": "run",
      "reader": "trades",
      "fields": {
        "runId": {
          "type": "string",
          "unit": "identity",
          "nullable": false
        },
        "rowIndex": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "quantity": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "entryPrice": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "exitPrice": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "netPnl": {
          "type": "number",
          "unit": "recorded currency; no aggregation",
          "nullable": true
        },
        "netReturn": {
          "type": "number",
          "unit": "fraction",
          "nullable": true
        },
        "costs": {
          "type": "number",
          "unit": "recorded currency",
          "nullable": true
        },
        "leverage": {
          "type": "number",
          "unit": "recorded",
          "nullable": true
        },
        "reference": {
          "type": "string",
          "unit": "recorded",
          "nullable": true
        },
        "symbol": {
          "type": "string",
          "unit": "recorded",
          "nullable": true
        },
        "direction": {
          "type": "string",
          "unit": "recorded",
          "nullable": true
        },
        "entryDay": {
          "type": "string",
          "unit": "recorded",
          "nullable": true
        },
        "exitDay": {
          "type": "string",
          "unit": "recorded",
          "nullable": true
        },
        "exitReason": {
          "type": "string",
          "unit": "recorded",
          "nullable": true
        },
        "currency": {
          "type": "string",
          "unit": "recorded",
          "nullable": true
        }
      },
      "operations": [
        "rows",
        "summary"
      ],
      "sourcePaths": [
        "apps/shared/lib/trade-inspector",
        "apps/web/src/lib/canvas/holdout-replay.ts",
        "apps/data-processing-engine/src/trade_simulator.py"
      ],
      "questions": [
        "What is mean netReturn grouped by symbol?",
        "Which recorded trades hit stop-loss?"
      ],
      "limitations": [
        "Hindsight only. Entry-time research is unavailable here; never use these outcomes as entry-time evidence.",
        "Holdout and validation periods are separate; only retained ledger rows are used.",
        "netPnl aggregation is disabled because books and currencies may differ; numeric returns are descriptive only."
      ]
    },
    {
      "id": "validation",
      "version": 1,
      "title": "Recorded lifecycle and validation evidence",
      "scope": "run",
      "reader": "validation",
      "fields": {
        "runId": {
          "type": "string",
          "unit": "identity",
          "nullable": false
        }
      },
      "operations": [
        "rows"
      ],
      "sourcePaths": [
        "apps/api/src/modules/validation/",
        "apps/api/src/modules/strategy-stress/",
        "apps/data-processing-engine/src/single_strategy",
        "apps/data-processing-engine/src/holdout_sharpe",
        "apps/shared/lib/eureka-run-lifecycle.ts",
        "apps/shared/lib/single-strategy"
      ],
      "questions": [
        "What is validation doing now?",
        "Why did this run fail a gate?"
      ],
      "limitations": [
        "Progress is provisional display data, never a final gate result.",
        "Preserve recorded method, calibration limitations and legacy-method identity.",
        "Completed optimisation, passed checks, certification, publication and visibility are separate facts."
      ]
    },
    {
      "id": "reports",
      "version": 1,
      "title": "Immutable strategy report",
      "scope": "report",
      "reader": "reports",
      "fields": {
        "runId": {
          "type": "string",
          "unit": "identity",
          "nullable": false
        }
      },
      "operations": [
        "rows"
      ],
      "sourcePaths": [
        "apps/api/src/modules/strategy-reporting/",
        "apps/api/src/modules/paper-alerts/",
        "apps/shared/lib/strategy-report-"
      ],
      "questions": [
        "Explain this report and its missing values.",
        "Has this report been superseded?"
      ],
      "limitations": [
        "Requires an exact report ID and current authorisation to every report scope.",
        "Paper books, currencies and strategy versions must not be pooled.",
        "Unavailable financial evidence is not zero; report output does not establish email delivery."
      ]
    }
  ]
}

If the request fails

  • Sign in and grant weavers.experiments.read before calling this tool.
  • Use resources you can access and refresh revision information when it changes.
  • Check result.isError even when HTTP returns 200.
Find the error and next step →