Skip to content
Download

MCP tools reference ​

The QueryLane MCP server offers 74 tools in QueryLane 1.11.0. An agent connected over MCP sees all of them. The built-in assistant uses the same tools, except the ones marked No in the Assistant column.

Every tool except querylane_profiles_list and querylane_connectors_list accepts an optional profileId. Without it, the tool works in the profile the server was started with (--profile in the client configuration).

What the effect column means ​

  • Reads: looks at jobs, connections, schemas, storage files, runs, results or plugins and changes nothing.
  • Changes: saves or deletes something: a job, a connection, run history, a stored query result or an export file.
  • Executes: starts or stops work that reaches outside the profile: a database query, a step or job run, a connection test, a file written to or deleted from a storage, or a plugin tool.

The read tools querylane_jobs_export and querylane_chart_render accept an optional filePath and then also save a copy of their result to that file. For an agent the file must be a new one in the agent files folder, see Local files.

In the built-in assistant, a tool that changes or executes waits for your approval, and read tools cannot write files: their optional filePath argument is removed. See Assistant.

Each tool carries the MCP hints readOnlyHint, destructiveHint and openWorldHint, and your agent decides when to ask you from them and its own permission settings. Agents also stay within the access level of each connection, and on a connection set to Ask QueryLane itself asks you before an agent changes data. See Connect your agent.

Profile and capabilities ​

ToolWhat it doesEffectAssistant
querylane_capabilities_getRead the QueryLane agent API version, available operations, run scopes, execution policy, and the job authoring guide with step field contracts and ${variable}/${step_id} template rulesReadsYes
querylane_profiles_listList QueryLane storage profiles available to this local clientReadsNo
querylane_packages_listList packages installed for JavaScript pipeline stepsReadsYes

Connections ​

ToolWhat it doesEffectAssistant
querylane_connectors_listList the connection types QueryLane can create: built-in engines and the connectors of installed plugins, with each setting's path under the connection (plugin secrets go under connection.secrets), defaults, plugin readiness and adapter capabilitiesReadsYes
querylane_connections_listFind redacted source and target connections by name, role, or adapter typeReadsYes
querylane_connection_getRead one redacted connection and its semantic revision before testing, updating, or deleting itReadsYes
querylane_connection_validateValidate a new connection document or a patch merged with a stored connection without connecting or savingReadsYes
querylane_connection_testTest a stored or unsaved connection using normal adapter semantics and return structured diagnostics without exposing credentialsExecutesYes
querylane_connection_createCreate and atomically persist a validated source or target connection in the selected profileChangesYes
querylane_connection_updateAtomically patch a connection when its semantic revision still matches; omitted secrets are preservedChangesYes
querylane_connection_usage_getList jobs, steps, outputs, saved queries, and workspace state that reference one connectionReadsYes
querylane_connection_deleteDelete a connection at an expected revision; referenced connections require force=true and return affected objectsChangesYes
querylane_connection_capabilities_getInspect adapter capabilities and optionally effective database privileges for one connection without returning credentialsReadsYes

Database ​

ToolWhat it doesEffectAssistant
querylane_schema_getRead or refresh database schema metadata for one configured source or target connectionReadsYes
querylane_db_explorer_listList databases, schemas, tables, collections, views, indexes, and other children through a stored connectionReadsYes
querylane_db_object_getRead structured metadata and DDL details for one database object through a stored connectionReadsYes
querylane_db_query_executeExecute arbitrary SQL or MongoDB code using the configured database user and return bounded rows plus an optional result referenceExecutesYes
querylane_db_result_pageRead a bounded page from a large ad-hoc database query result reference, optionally sorted by one columnReadsYes
querylane_db_result_disposeRelease a stored ad-hoc database query result referenceChangesNo

File storages ​

ToolWhat it doesEffectAssistant
querylane_storage_listList buckets, folders and files of S3 or SFTP; no path lists the rootReadsYes
querylane_storage_readTable files (CSV, JSON, Parquet, XML, Excel) return table: typed columns, first rows, sheets, address for SQL. Other files return preview: up to 256 KB of textReadsYes
querylane_storage_writeWrite a file from content (up to 16 MB) or localPathExecutesYes
querylane_storage_deleteDelete storage files; a path ending with / deletes the folder with its contentsExecutesYes

Jobs and schedules ​

ToolWhat it doesEffectAssistant
querylane_jobs_listPrimary agent tool to find, search, list, or locate QueryLane jobs, tasks, and pipelines by natural-language termsReadsYes
querylane_job_getRead a redacted job definition and its content revision before editing or running itReadsYes
querylane_job_createCreate and validate a complete QueryLane job in the selected profileChangesYes
querylane_jobs_exportExport jobs, and optionally dashboards with the jobs they read, to a portable package for sharing without git: steps, variables with secret values removed, connection hints without credentials, and required JavaScript packagesReadsNo
querylane_jobs_importImport jobs from a package made by querylane_jobs_exportChangesNo
querylane_job_deleteDelete a local job, optionally asserting the revision previously read by the agentChangesYes
querylane_job_revisions_listList durable job revision snapshots available for inspection or revertReadsYes
querylane_job_validateValidate a stored job or an supplied candidate against step, dependency, and connection contractsReadsYes
querylane_schedules_listRead the schedules of the profile: their cron expression, whether the system scheduler runs them, the next run, and why a schedule is not runningReadsYes
querylane_job_charts_listList the chart steps of a job and the charts their latest run drew, for job_chart widgets: chartRef { jobId, stepId, chartIndex, chartId, chartTitle } finds the chart by id, then title, then indexReadsYes

Job changes ​

ToolWhat it doesEffectAssistant
querylane_change_proposeBuild an immutable semantic job change, validate it, and return its diff without changing the jobReadsYes
querylane_change_getRead a proposed change, redacted candidate, semantic diff, validation, and application statusReadsYes
querylane_change_applyAtomically apply an already validated change if the job revision still matches its base revisionChangesYes
querylane_change_revertRestore a job to a known durable revision while checking the current revisionChangesYes

Steps, runs and results ​

ToolWhat it doesEffectAssistant
querylane_step_previewInspect a step and its resolved execution plan without executing database, HTTP, file, or JavaScript effectsReadsYes
querylane_step_testExecute a step using normal QueryLane semantics, including dependencies by default, and optionally wait for completionExecutesYes
querylane_runs_listList unified durable UI, CLI, MCP, and scheduled pipeline executions and filter them by job, origin, or statusReadsYes
querylane_run_getRead the current durable state and receipt of one pipeline runReadsYes
querylane_run_diagnoseReturn a compact deterministic diagnosis with failed step, reason code, details, statuses, steps skipped by run conditions (stepSkips with the reason and the deciding step), and result handleReadsYes
querylane_run_planResolve which steps and connections a requested run scope will execute and whether a baseline is requiredReadsYes
querylane_run_startStart a durable asynchronous pipeline run with normal local-client execution permissionsExecutesYes
querylane_run_waitWait for a durable run to finish or until a bounded timeout expiresReadsYes
querylane_run_cancelRequest cancellation of a queued or running local pipeline executionExecutesYes
querylane_runs_clearClear durable execution history for one job or the selected profileChangesNo
querylane_result_sampleRead a bounded sample from the final output or a selected step output of a durable run; a step its run condition skipped has no output and fails with RUN_STEP_SKIPPEDReadsYes
querylane_result_checkEvaluate declarative row-count, field-presence, or non-null assertions against a run resultReadsYes
querylane_chart_renderRender one chart of a chart step from a finished run to PNG (returned as an image you can look at) or SVG, to check the drawing after querylane_step_test or querylane_run_waitReadsYes
querylane_run_artifact_getRead an image a run left behind, such as the screenshot of a failed plugin stepReadsYes

Dashboards ​

ToolWhat it doesEffectAssistant
querylane_dashboards_listList dashboards of the profile: views built from datasets that jobs produce, with the jobs each one readsReadsYes
querylane_dashboard_getRead a dashboard document with its revision, the filter and parameter values saved in the app, and issues that keep widgets from showing dataReadsYes
querylane_dashboard_validateCheck a dashboard document against its shape rules and the jobs, steps and variables it names, without saving itReadsYes
querylane_dashboard_createSave a new dashboardChangesYes
querylane_dashboard_updateReplace a whole saved dashboard; pass expectedRevision from querylane_dashboard_get to avoid overwriting a change made meanwhileChangesYes
querylane_dashboard_deleteDelete a dashboard; its jobs and their runs stayChangesYes
querylane_dashboard_dataReturn what a dashboard shows: rows of every widget computed from stored run outputs with filters applied, the runs they come from, and sources that need a runReadsYes
querylane_dashboard_filter_valuesValues to offer for a dashboard filter: distinct values of its field, or the range they span, across the datasets that have itReadsYes
querylane_dashboard_refreshRun the jobs of a dashboard with the variable values its parameters set; a job already running with those values is not started againExecutesYes
querylane_dataset_describeDescribe the output rows of a job step as a dashboard reads them: columns with DuckDB types (nested objects as STRUCT), row count, five sample rows and the run they come fromReadsYes
querylane_dashboard_exportSave a dashboard as one file to share: an HTML page that opens in any browser without scripts or network, or a PNG imageChangesNo
querylane_dashboard_suggestion_dismissRecord that the user declined a dashboard for a job: querylane_run_get and querylane_run_wait stop suggesting one for it until the job changesChangesNo

Data exports ​

ToolWhat it doesEffectAssistant
querylane_exports_listList durable data export operations and filter them by status, connection, or pipeline runReadsYes
querylane_export_startExport exactly one source—database object, query result reference, pipeline run result, step result, or supplied rows—to CSV, JSON, JSONL, or XLSXChangesYes
querylane_export_getRead current status, progress, output metadata, or structured failure for one exportReadsYes
querylane_export_waitWait for a durable export to finish or until a bounded timeout expiresReadsYes
querylane_export_cancelCancel a queued or running data export and remove its incomplete atomic outputChangesNo

Plugins ​

ToolWhat it doesEffectAssistant
querylane_plugins_listList installed QueryLane plugins and plugins available in the catalog, with their status (ready, needsPrepare, disabled, available)ReadsYes
querylane_plugin_getRead one installed plugin: its step types and code language, settings schema, the profile presets, the AI tools it offers and its authoring guide for writing step codeReadsYes
querylane_plugin_tool_callCall an AI tool of an installed plugin, for example open a page and look at it with the browser pluginExecutesYes
querylane_plugin_session_closeClose a plugin tool session and release its resources, such as an open browser pageReadsYes

Desktop app ​

ToolWhat it doesEffectAssistant
querylane_ui_link_getCreate a querylane:// link that opens a job (optionally one of its runs), exact step, connection, dashboard, or settings section in the QueryLane desktop appReadsNo
querylane_ui_openOpen and navigate the QueryLane desktop app directly to a job (optionally one of its runs), exact pipeline step, connection, dashboard, or settings sectionReadsYes