Tool reference
Every tool, its arguments and its side effects.
The 22 tools the MCP server exposes, grouped by what they are for. Each entry below is generated from the same catalog the server returns on tools/list, so the descriptions and argument schemas are exactly what your agent's model sees.
The tool registry behind the server also holds the tools of the in-app AI index analyst, such as submit_workflow and final_answer. They are not exposed over MCP, which is why they are absent here.
Reading the annotation chips
readOnlyHint means the tool cannot modify anything, so a client can call it
freely — 19 of the 22 are read-only. destructiveHint marks a call that can overwrite existing state and is a signal to prompt the user
first; only save_workflow sets it, because passing an existing workflow_id replaces that workflow's
operations in place. idempotentHint means repeating the call with the same arguments has no additional
effect, which lets a client retry safely on a timeout. openWorldHint means the tool reaches beyond stored
state into live external data or a long-running job, so results are not reproducible from one moment to the next.
Annotations are hints, not enforcement: the server's own guards — confirm=true on deploy, the absence of any
delete tool — are what actually constrain an agent.Discovery
Find the operations, examples, workflows and datasets you can build with. This group exists so an agent never has to guess a name. Start here on every build.
list_operations
Lists the operations a workflow can use, with id, name, description and category. Call it with no arguments to see every operation and the category list, or pass a category to narrow the result. Use it to find building blocks before assembling a workflow.
Arguments
| Field | Type | Description |
|---|---|---|
category | string | Optional category filter, e.g. 'index_management'. |
curl -X POST "https://mcp.indexone.io" \-H "content-type: application/json" \-H "accept: application/json, text/event-stream" \-H "x-api-key: YOUR_API_KEY" \-d '{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "list_operations","arguments": {"category": "index_management"}}}'
get_operations
Returns the full parameter schema and output columns of the named operations, which is what setting their parameters correctly takes.
Arguments
| Field | Type | Description |
|---|---|---|
operation_idsrequired | array | Operation ids to fetch, e.g. ['create_index_weighting']. |
curl -X POST "https://mcp.indexone.io" \-H "content-type: application/json" \-H "accept: application/json, text/event-stream" \-H "x-api-key: YOUR_API_KEY" \-d '{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "get_operations","arguments": {"operation_ids": ["create_index_weighting"]}}}'
list_examples
Lists production-tested example workflows by id, name and description, with an optional substring search. Use it to find a workflow with similar wiring to start from; get_example returns the full workflow.
Arguments
| Field | Type | Description |
|---|---|---|
search | string | Optional substring filter. |
curl -X POST "https://mcp.indexone.io" \-H "content-type: application/json" \-H "accept: application/json, text/event-stream" \-H "x-api-key: YOUR_API_KEY" \-d '{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "list_examples","arguments": {"search": "momentum"}}}'
get_example
Returns one or more example workflows to copy structure and wiring from. Each carries 'index_parameters_json', the full workflow as a JSON string.
Arguments
| Field | Type | Description |
|---|---|---|
example_ids | array | One or more example ids; several are fetched in one call. |
example_id | string | A single example id (prefer example_ids). |
curl -X POST "https://mcp.indexone.io" \-H "content-type: application/json" \-H "accept: application/json, text/event-stream" \-H "x-api-key: YOUR_API_KEY" \-d '{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "get_example","arguments": {"example_ids": ["staggered_effective","long_short_130_30"]}}}'
list_workflows
List saved workflows. scope='team' (the user's), 'public' (public/featured), or 'all'. To find a named index, pass search=[<every fragment the name might carry>]: a workflow matching any fragment is returned, tagged with which matched, and fragments that hit nothing are listed back. The plain listing is sorted by name and cut at 'limit', so the one you need may not be in it (the response says when it was cut).
Arguments
| Field | Type | Description |
|---|---|---|
scope | "team" | "public" | "all" | Default 'team'. |
search | array | One or more case-insensitive fragments matched on name/description/id; put every candidate name in the same call. |
limit | integer | Default 50. |
offset | integer | Skip the first N (pagination). |
curl -X POST "https://mcp.indexone.io" \-H "content-type: application/json" \-H "accept: application/json, text/event-stream" \-H "x-api-key: YOUR_API_KEY" \-d '{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "list_workflows","arguments": {"scope": "public","limit": 10}}}'
get_workflow
Returns one saved workflow by id: id, name, operation ids and 'workflow_json', the full index_parameters (its operations included) as a JSON string.
Arguments
| Field | Type | Description |
|---|---|---|
workflow_idrequired | string |
curl -X POST "https://mcp.indexone.io" \-H "content-type: application/json" \-H "accept: application/json, text/event-stream" \-H "x-api-key: YOUR_API_KEY" \-d '{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "get_workflow","arguments": {"workflow_id": "idx_bh7fgXWJMaa3"}}}'
list_datasets
Lists the datasets the user's team has uploaded, with id, name and description. Use it when a request refers to the user's own data: workflows reference a dataset by these ids.
curl -X POST "https://mcp.indexone.io" \-H "content-type: application/json" \-H "accept: application/json, text/event-stream" \-H "x-api-key: YOUR_API_KEY" \-d '{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "list_datasets","arguments": {}}}'
Data inspection
Look at real data before writing a filter against it. These tools answer the two questions that break workflows quietly: what are the columns actually called, and what values are actually in them. They read either a stored dataset or a cached run_workflow output.
inspect_dataset
Inspect a team dataset's real data. view='schema' (columns+dtypes), 'sample' (rows), 'shape', 'unique' (distinct values of 'column'), or 'stats' (per-column distribution summary). Use before filtering on it.
Arguments
| Field | Type | Description |
|---|---|---|
dataset_idrequired | string | |
view | "schema" | "sample" | "shape" | "unique" | "stats" | |
column | string | Required when view='unique'. |
limit | integer | |
sample_rows | integer |
curl -X POST "https://mcp.indexone.io" \-H "content-type: application/json" \-H "accept: application/json, text/event-stream" \-H "x-api-key: YOUR_API_KEY" \-d '{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "inspect_dataset","arguments": {"dataset_id": "dst_9KcQm2","view": "schema"}}}'
inspect_run
Describes the output of a run_workflow call: view='schema'|'sample'|'shape'|'unique'|'stats'. 'unique' lists the distinct values of 'column' (e.g. which sectors exist before filtering); 'stats' gives per-column count, nulls, mean, std, min, quartiles and max, which shows a skewed or dominant factor, score or weight column (pass 'column' for one, omit it for all). Defaults to the most recent run and its one operation, or, given 'column', the operation that outputs it.
Arguments
| Field | Type | Description |
|---|---|---|
op_id | string | |
view | "schema" | "sample" | "shape" | "unique" | "stats" | |
column | string | |
limit | integer | |
sample_rows | integer | |
run_id | string | Omit to read the most recent run. Calls sent in one turn run in order against one session, so a call sent with its run_workflow reads that run. |
curl -X POST "https://mcp.indexone.io" \-H "content-type: application/json" \-H "accept: application/json, text/event-stream" \-H "x-api-key: YOUR_API_KEY" \-d '{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "inspect_run","arguments": {"view": "stats"}}}'
get_column_values
Distinct values of a column, from a dataset (dataset_id) or a run (op_id/run_id): the real filter values, such as sectors, countries or ratings, a workflow can match.
Arguments
| Field | Type | Description |
|---|---|---|
columnrequired | string | |
dataset_id | string | |
op_id | string | |
run_id | string | Omit to read the most recent run. Calls sent in one turn run in order against one session, so a call sent with its run_workflow reads that run. |
limit | integer |
curl -X POST "https://mcp.indexone.io" \-H "content-type: application/json" \-H "accept: application/json, text/event-stream" \-H "x-api-key: YOUR_API_KEY" \-d '{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "get_column_values","arguments": {"column": "sector"}}}'
Index data
Read values, holdings, weightings, universes and statistics. All six work on your team's indices and on public or featured ones. Times are strings — YYYY-MM-DD or YYYY-MM-DD HH:MM:SS — and the snapshot tools resolve at-or-before the time you give, defaulting to the latest.
get_index_values caps at 5000 points. Longer series are downsampled evenly, always keeping the latest point, and the response reports {count, returned, downsampled} so a model can tell it is looking at a thinned series.
get_index
Get an index's metadata: name, description, stage/status, calendar settings, value series, and an operation summary. Works for your team's indices and public ones.
Arguments
| Field | Type | Description |
|---|---|---|
index_idrequired | string | Index/workflow id (idx_...). |
curl -X POST "https://mcp.indexone.io" \-H "content-type: application/json" \-H "accept: application/json, text/event-stream" \-H "x-api-key: YOUR_API_KEY" \-d '{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "get_index","arguments": {"index_id": "idx_bh7fgXWJMaa3"}}}'
get_index_values
Historical index value series (EOD rows with every value series, e.g. PR/TR). Optional ISO start_time/end_time bounds; long series are evenly downsampled to the point cap, always keeping the latest point.
Arguments
| Field | Type | Description |
|---|---|---|
index_idrequired | string | Index id (idx_...) or backtest id (bkt_...). |
start_time | string | Lower bound, 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM:SS'. |
end_time | string | Upper bound, 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM:SS'. |
limit | integer | Max points returned (cap 5000). |
curl -X POST "https://mcp.indexone.io" \-H "content-type: application/json" \-H "accept: application/json, text/event-stream" \-H "x-api-key: YOUR_API_KEY" \-d '{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "get_index_values","arguments": {"index_id": "idx_bh7fgXWJMaa3","start_time": "2024-01-01"}}}'
get_index_holdings
The book an index holds (constituents with shares, weights, divisor) at 'time' (default: now), an index's weights priced then: live quotes now, a past date's closes. Pass 'limit' for the top-N by weight.
Arguments
| Field | Type | Description |
|---|---|---|
index_idrequired | string | Index id (idx_...) or backtest id (bkt_...). |
time | string | 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM:SS'; defaults to now. |
limit | integer | Top-N holdings by weight. |
curl -X POST "https://mcp.indexone.io" \-H "content-type: application/json" \-H "accept: application/json, text/event-stream" \-H "x-api-key: YOUR_API_KEY" \-d '{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "get_index_holdings","arguments": {"index_id": "idx_bh7fgXWJMaa3","limit": 10}}}'
get_index_weightings
The target weights an index set at its rebalance at or before 'time' (default: the latest), as stored; corporate actions never change them. Use it to see what a methodology chose; get_index_holdings gives what the index holds now.
Arguments
| Field | Type | Description |
|---|---|---|
index_idrequired | string | Index id (idx_...) or backtest id (bkt_...). |
time | string | 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM:SS'; defaults to the latest snapshot. |
curl -X POST "https://mcp.indexone.io" \-H "content-type: application/json" \-H "accept: application/json, text/event-stream" \-H "x-api-key: YOUR_API_KEY" \-d '{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "get_index_weightings","arguments": {"index_id": "idx_bh7fgXWJMaa3"}}}'
get_index_universe
The securities an index was eligible to select from at its rebalance at or before 'time' (default: the latest). Use it to check a screen: names in the universe but not the weightings were eligible and not selected.
Arguments
| Field | Type | Description |
|---|---|---|
index_idrequired | string | Index id (idx_...) or backtest id (bkt_...). |
time | string | 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM:SS'; defaults to the latest snapshot. |
curl -X POST "https://mcp.indexone.io" \-H "content-type: application/json" \-H "accept: application/json, text/event-stream" \-H "x-api-key: YOUR_API_KEY" \-d '{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "get_index_universe","arguments": {"index_id": "idx_bh7fgXWJMaa3"}}}'
get_index_stats
Risk/return summary from the index's EOD value series: cumulative + annualized return, annualized volatility, max drawdown. 'series' picks a value column (default 'value').
Arguments
| Field | Type | Description |
|---|---|---|
index_idrequired | string | Index id (idx_...) or backtest id (bkt_...). |
start_time | string | Lower bound, 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM:SS'. |
end_time | string | Upper bound, 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM:SS'. |
series | string | Value series column, e.g. 'value' or a TR series id. |
curl -X POST "https://mcp.indexone.io" \-H "content-type: application/json" \-H "accept: application/json, text/event-stream" \-H "x-api-key: YOUR_API_KEY" \-d '{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "get_index_stats","arguments": {"index_id": "idx_bh7fgXWJMaa3"}}}'
Build and validate
Preview a workflow and check a workflow before saving. run_workflow executes against real source data but persists nothing, so an agent can iterate as often as it needs to; its outputs are cached per team for two hours so inspect_run and get_column_values can reference an earlier run by run_id.
run_workflow
Run a single operation, sub-workflow, or full workflow in PREVIEW mode (nothing is persisted; source data is real). Returns per-operation state and an output SUMMARY (columns, shape, small sample). Use it to test that a step works and to discover the real columns an operation produces, then inspect_run / get_column_values on the result. Omit 'operations' entirely to run the CURRENT CANVAS as-is (the cheap way to inspect the existing workflow's real data). Runs as of the canvas index's last close before today unless 'time' names another.
Arguments
| Field | Type | Description |
|---|---|---|
operations | string | JSON string: array of operation objects [{id, operation, parameters, input?}], or a whole workflow, which runs with its own sources and currency. Omit to run the current canvas unchanged. |
time | string | 'YYYY-MM-DD' (through that day's end, UTC) or 'YYYY-MM-DD HH:MM:SS'; defaults to the canvas index's last close before today (no canvas: yesterday's end, UTC). Runs the preview as of that past time, e.g. to check a step that acts only on certain dates; a dated run is not the write tools' verification run. |
curl -X POST "https://mcp.indexone.io" \-H "content-type: application/json" \-H "accept: application/json, text/event-stream" \-H "x-api-key: YOUR_API_KEY" \-d '{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "run_workflow","arguments": {"operations": "[{\"id\":\"t\",\"operation\":\"manual_trigger\",\"parameters\":{}}]"}}}'
validate_workflow
Validate a candidate workflow against the manifest (structure + wiring; nothing is executed). Returns structured issues. Optional early check while drafting — every tool that submits, backtests, saves or deploys a workflow validates automatically and returns the same issues.
Arguments
| Field | Type | Description |
|---|---|---|
index_parametersrequired | string | JSON string of the full index_parameters object. |
curl -X POST "https://mcp.indexone.io" \-H "content-type: application/json" \-H "accept: application/json, text/event-stream" \-H "x-api-key: YOUR_API_KEY" \-d '{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "validate_workflow","arguments": {"index_parameters": "{\"name\":\"My Index\",\"start_time\":\"2019-12-28 00:00:00\",\"operations\":[]}"}}}'
Backtest and deploy
The only tools that write. run_backtest simulates and never creates an index. save_workflow persists a draft, or updates a workflow your team already owns. deploy_index is the single tool that puts an index into continuous scheduled calculation, and it requires confirm=true.
Both run_backtest and deploy_index validate the workflow synchronously (a separate validate_workflow call first is unnecessary) and return immediately with a backtest_id — the API gateway in front of the server times out at 29 seconds, so runs are never awaited inline. Poll get_backtest, which absorbs part of the wait server-side; deployed_index_id appears there once a deploy finishes. The launch reply of run_backtest carries usage.
| Field of a completed backtest | What it holds |
|---|---|
disclosure | "Hypothetical backtest: simulated past performance, not investment advice." |
share_url | The result in the data viewer, readable by anyone with the link unless your team has turned link sharing off. |
usage | {plan, month, backtests: {used, limit}, live: {used, limit}}; a null limit is unlimited. |
get_backtest returns these on a completed run. Statistics come from get_index_stats on request, with the backtest's bkt_ id or an index's idx_ id. A refusal for a plan limit carries code: billing_required and a pricing_url.
run_backtest
Run a historical simulation of a workflow (index_parameters JSON). Validates AND runs the workflow once in preview first (structured issues + runtime errors with hints returned on failure — no separate validate_workflow or run_workflow call needed), then launches the run and immediately returns a backtest_id — poll get_backtest until status is 'completed' or 'failed'. Never creates a live index — use deploy_index.
Arguments
| Field | Type | Description |
|---|---|---|
index_parametersrequired | string | JSON string of the full index_parameters object. |
start_time | string | Backtest start, 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM:SS' (defaults to index_parameters.start_time). |
end_time | string | Backtest end, 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM:SS' (defaults to now). |
verify | boolean | Default true: runs the full workflow once in preview to catch runtime problems (a column the upstream op doesn't output, filters matching nothing, runaway leverage, an empty index) and returns them as actionable issues before doing the work. Auto-skipped when this exact workflow already ran cleanly this session. Set false only to skip the preview deliberately. |
curl -X POST "https://mcp.indexone.io" \-H "content-type: application/json" \-H "accept: application/json, text/event-stream" \-H "x-api-key: YOUR_API_KEY" \-d '{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "run_backtest","arguments": {"index_parameters": "{\"name\":\"My Index\",\"start_time\":\"2019-12-28 00:00:00\",\"operations\":[]}"}}}'
get_backtest
Fetch a stored backtest result by backtest_id: performance summary and, with include_series=true, the value series evenly downsampled to max_points (default 500) for charting. Waits briefly server-side when the run is still in flight, so polling back-to-back is fine. After deploy_index, also reports the deployed live index id.
Arguments
| Field | Type | Description |
|---|---|---|
backtest_idrequired | string | Backtest id (bkt_...). |
include_series | boolean | Include the value series (downsampled). |
max_points | integer | Series point cap when include_series=true (default 500, max 2000). |
curl -X POST "https://mcp.indexone.io" \-H "content-type: application/json" \-H "accept: application/json, text/event-stream" \-H "x-api-key: YOUR_API_KEY" \-d '{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "get_backtest","arguments": {"backtest_id": "bkt_7Hs2Qa","include_series": true}}}'
save_workflow
Persist a workflow for the caller's team. Without workflow_id: creates a new DRAFT workflow. With workflow_id: updates an owned workflow in place (a live workflow's changed operations trigger a live reload). Always validated AND preview-verified first (runtime problems bounce with hints; verify=false skips the preview); never changes stage.
Arguments
| Field | Type | Description |
|---|---|---|
index_parametersrequired | string | JSON string of the full index_parameters object. |
workflow_id | string | Existing workflow id to update; omit to create a draft. |
name | string | Optional display name override. |
verify | boolean | Default true: runs the full workflow once in preview to catch runtime problems (a column the upstream op doesn't output, filters matching nothing, runaway leverage, an empty index) and returns them as actionable issues before doing the work. Auto-skipped when this exact workflow already ran cleanly this session. Set false only to skip the preview deliberately. |
curl -X POST "https://mcp.indexone.io" \-H "content-type: application/json" \-H "accept: application/json, text/event-stream" \-H "x-api-key: YOUR_API_KEY" \-d '{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "save_workflow","arguments": {"index_parameters": "{\"name\":\"My Index\",\"start_time\":\"2019-12-28 00:00:00\",\"operations\":[]}"}}}'
deploy_index
Create a LIVE index from a saved workflow_id or inline index_parameters: validates AND preview-verifies the workflow (runtime problems bounce with hints; verify=false skips the preview), then runs a full backtest, persists its history, and registers the index for continuous scheduled calculation. Requires confirm=true. Returns the pending index_id + backtest_id immediately — poll get_index(index_id) or get_backtest(backtest_id) until the index lands on 'live' or 'failed' (deployed_index_id appears in get_backtest when done).
Arguments
| Field | Type | Description |
|---|---|---|
workflow_id | string | Saved workflow id to deploy. |
index_parameters | string | JSON string of index_parameters (alternative to workflow_id). |
start_time | string | History start, 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM:SS'. |
end_time | string | History end, 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM:SS' (defaults to now). |
confirm | boolean | Must be true to actually deploy. |
verify | boolean | Default true: runs the full workflow once in preview to catch runtime problems (a column the upstream op doesn't output, filters matching nothing, runaway leverage, an empty index) and returns them as actionable issues before doing the work. Auto-skipped when this exact workflow already ran cleanly this session. Set false only to skip the preview deliberately. |
curl -X POST "https://mcp.indexone.io" \-H "content-type: application/json" \-H "accept: application/json, text/event-stream" \-H "x-api-key: YOUR_API_KEY" \-d '{"jsonrpc": "2.0","id": 1,"method": "tools/call","params": {"name": "deploy_index","arguments": {"workflow_id": "idx_bh7fgXWJMaa3","confirm": true}}}'