Skip to main content

Documentation for ScryLab v0.7.1

Changelogs

MCP Tool Reference

The tools an agent sees when it connects to ScryLab. You never call them yourself – the list shows what an agent can do, and helps when your agent asks for permission to use one.

Data sources and signals

ToolWhat it does
list_sourcesLists the loaded data sources, including the source operations already applied to them.
list_signalsLists or searches the channels of one or several data sources.
get_signal_infoReturns the metadata of a signal: name, source, units, number of samples.
declare_x_domainRecords what the x-axis of a channel is (time, frequency, …) when the file does not say. Never overrides an existing declaration.
add_external_signalAdds a short reference curve that cannot be computed from the data, such as a limit from a datasheet.
transfer_analysisRepeats the whole analysis of one measurement for another measurement.
create_sourceCreates an empty data source, for example for reference curves.
load_sourceOpens a measurement file.
split_by_segmentsSplits a measurement into one sub-source per segment, such as one per lap.
concatenate_sourcesJoins several data sources end to end into one new source.
crop_sourceCrops a whole data source to an x-range.
shift_sourceShifts a whole data source along the x-axis.
mask_sourceMasks a whole data source with a 0/1 signal.
list_source_operationsLists the operations applied to a whole data source.
remove_source_operationRemoves an operation from a data source.
update_source_operationChanges the settings of an operation on a data source.

Plots and view

ToolWhat it does
focus_viewZooms a plot to a region, so that you see what the agent is talking about.
set_axis_scaleSwitches an axis between linear and logarithmic.
set_display_modeSwitches how a plotted signal is drawn: line, scatter, step or stem.
add_commentPins a text comment to a data point in a plot.
edit_commentChanges the text or the position of a comment.
remove_commentDeletes comments.
get_focusReads what you have selected and where your cursor or range is.
see_plotRenders the current view of a plot as an image for the agent to look at.
export_plotSaves a plot as a print-ready PNG, e.g. for a report.
remove_signal_from_plotTakes a signal off a plot. The data stays in its source.
list_plotsLists the plots of all tabs.
list_plotted_signalsLists the signals in the plots, with their source and workflow steps.
plot_signalsPlots signals, in a new or an existing plot.
get_plot_stateReturns the rows, axis scales and comments of one plot.

Operations and measurements

ToolWhat it does
run_evaluationRuns one of the complete evaluations, the same as the entry under Evaluations.
measureReads values off signals: metrics, the value at a point, crossings of a level. Creates no signal.
apply_operationApplies any operation of the operation list to signals.
describeReturns an overview of the operations and metrics, or the details of one operation.
read_playbookReads one of your playbooks.
read_helpReads ScryLab’s built-in manual to answer questions about ScryLab itself.

Workflows

ToolWhat it does
list_workflow_stepsLists the workflow steps of a signal and their settings.
add_source_to_calculationAdds one more measurement to an existing comparison across measurements.
edit_operationChanges the settings of an existing workflow step.
remove_operationRemoves a workflow step.