DocsMCP serverTool reference

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

no sign-in marks the tools a client can call before signing in; the index reads among them answer for public indices only. Every tool also carries MCP annotations, and a well-behaved client uses them to decide what to do without asking. 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

no sign-in
read-only
idempotent

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

FieldTypeDescription
categorystring
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

no sign-in
read-only
idempotent

Returns the full parameter schema and output columns of the named operations, which is what setting their parameters correctly takes.

Arguments

FieldTypeDescription
operation_idsrequiredarray
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

no sign-in
read-only
idempotent

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

FieldTypeDescription
searchstring
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

no sign-in
read-only
idempotent

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

FieldTypeDescription
example_idsarray
One or more example ids; several are fetched in one call.
example_idstring
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

read-only
idempotent

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

FieldTypeDescription
scope"team" | "public" | "all"
Default 'team'.
searcharray
One or more case-insensitive fragments matched on name/description/id; put every candidate name in the same call.
limitinteger
Default 50.
offsetinteger
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

read-only
idempotent

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

FieldTypeDescription
workflow_idrequiredstring

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

read-only
idempotent

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

read-only
idempotent

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

FieldTypeDescription
dataset_idrequiredstring
view"schema" | "sample" | "shape" | "unique" | "stats"
columnstring
Required when view='unique'.
limitinteger
sample_rowsinteger

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

read-only
idempotent

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

FieldTypeDescription
op_idstring
view"schema" | "sample" | "shape" | "unique" | "stats"
columnstring
limitinteger
sample_rowsinteger
run_idstring
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

read-only
idempotent

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

FieldTypeDescription
columnrequiredstring
dataset_idstring
op_idstring
run_idstring
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.
limitinteger

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

no sign-in
read-only
idempotent

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

FieldTypeDescription
index_idrequiredstring
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

no sign-in
read-only
idempotent

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

FieldTypeDescription
index_idrequiredstring
Index id (idx_...) or backtest id (bkt_...).
start_timestring
Lower bound, 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM:SS'.
end_timestring
Upper bound, 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM:SS'.
limitinteger
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

no sign-in
read-only
idempotent

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

FieldTypeDescription
index_idrequiredstring
Index id (idx_...) or backtest id (bkt_...).
timestring
'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM:SS'; defaults to now.
limitinteger
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

no sign-in
read-only
idempotent

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

FieldTypeDescription
index_idrequiredstring
Index id (idx_...) or backtest id (bkt_...).
timestring
'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

no sign-in
read-only
idempotent

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

FieldTypeDescription
index_idrequiredstring
Index id (idx_...) or backtest id (bkt_...).
timestring
'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

no sign-in
read-only
idempotent

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

FieldTypeDescription
index_idrequiredstring
Index id (idx_...) or backtest id (bkt_...).
start_timestring
Lower bound, 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM:SS'.
end_timestring
Upper bound, 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM:SS'.
seriesstring
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

read-only
idempotent

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

FieldTypeDescription
operationsstring
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.
timestring
'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

no sign-in
read-only
idempotent

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

FieldTypeDescription
index_parametersrequiredstring
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 backtestWhat it holds
disclosure"Hypothetical backtest: simulated past performance, not investment advice."
share_urlThe 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

writes

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

FieldTypeDescription
index_parametersrequiredstring
JSON string of the full index_parameters object.
start_timestring
Backtest start, 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM:SS' (defaults to index_parameters.start_time).
end_timestring
Backtest end, 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM:SS' (defaults to now).
verifyboolean
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

read-only
idempotent

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

FieldTypeDescription
backtest_idrequiredstring
Backtest id (bkt_...).
include_seriesboolean
Include the value series (downsampled).
max_pointsinteger
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

writes
destructive

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

FieldTypeDescription
index_parametersrequiredstring
JSON string of the full index_parameters object.
workflow_idstring
Existing workflow id to update; omit to create a draft.
namestring
Optional display name override.
verifyboolean
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

writes

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

FieldTypeDescription
workflow_idstring
Saved workflow id to deploy.
index_parametersstring
JSON string of index_parameters (alternative to workflow_id).
start_timestring
History start, 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM:SS'.
end_timestring
History end, 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM:SS' (defaults to now).
confirmboolean
Must be true to actually deploy.
verifyboolean
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
}
}
}'

Next