Datris MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DATRIS_API_KEY | No | API key for the Datris server, needed only when the platform has API keys turned on | |
| DATRIS_API_URL | No | URL of the Datris server API | http://localhost:8080 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Datris is the data control plane for AI agents. It ingests, validates, transforms, and routes data to databases, message queues, object stores, and vector stores — all driven by configurations you create and manage programmatically. You don't just move data: you build the pipelines and taps, run and verify them, query the results back, manage credentials, and can view, diff, and roll definitions back to any prior version. Pipelines define how data is processed and where it lands; taps pull data into a pipeline from external APIs, websites, files, or databases, on demand or on a schedule.
FIRST-RESPONSE RULE (read this before anything else):
When the user makes ANY data-related ask — "I'm looking for X", "can you get me Y", "do you have Z", "I need data about W", "help me ingest...", or anything similar — on the first data-related ask of a conversation your FIRST tool call MUST be list_pipelines AND list_taps. If this conversation already contains those results, reuse them; only re-list after something was created or changed. Do this BEFORE generating any text reply. Do this BEFORE suggesting external sources or APIs. Do this BEFORE asking clarifying scope questions. The user is connected to a Datris environment that likely already has the data they want — assume YES until your tool calls prove otherwise.
After those calls return, anchor your reply in what exists: "There's already a <name> pipeline doing X — does that cover your need, or do you want to extend it / add Y / pick a different source?" Only enumerate external API options after you've confirmed nothing in the platform already covers the ask. A generic options menu drawn from training data wastes the user's time when the answer is sitting in their own environment.
If the user is asking to SEE / LIST / SHOW data ("list the X for all Y", "what's in the X table", "show me the rows / documents") and a relevant pipeline already exists in the list response, go straight to the query tools that match its destination — query_mongodb, query_postgres, query_natural, query_objectstore (columnar files or Iceberg tables in MinIO or AWS S3), query_snowflake (Snowflake destinations), query_databricks (Databricks destinations), query_sqlserver (SQL Server destinations), or the vector search_* tools — and answer with actual data. Do NOT re-run setup tools (list_pipelines, create_pipeline, test_tap, run_tap) when the user's ask is "read existing data" — that's read-from-destination, not re-do setup.
How to find a "relevant pipeline" in the list response: the response begins with a names array — scan EVERY entry (the match may be at the end of a long list) for any name whose substring matches a keyword from the user's request. Hyphens, underscores, and case are interchangeable for matching. If any name matches, the pipeline EXISTS — do not announce "I don't see any …" or ask the user to clarify scope, provider, schedule, or data shape. Call the destination's query tool. Only when zero names match should you treat the resource as missing. When the user's data is already in the platform, query it and show what's there — do not collect setup parameters for a pipeline that already exists.
SCHEDULING RULE (read this before suggesting any recurring/timely workflow):
If the user mentions ANY recurrence cue — "nightly", "daily", "hourly", "every morning", "weekly", "at market open", "on a schedule", "recurring", "on a timely basis", "keep this up to date", "refresh this every X" — set a cron_expression on the relevant tap via create_tap (when first creating) or update_tap (when wiring an existing tap). The Datris platform runs the scheduler — once you set cron_expression, the tap fires automatically on that cadence, with the same publisherToken + get_tap_logs verification path as manual runs.
DO NOT respond with shell snippets, cron jobs, Airflow DAGs, or any other external scheduler that just invokes the CLI or the API on a timer. That defeats the platform: the user delegated both "what data" and "when it refreshes" to Datris. Handing back a "run this every night at 9pm" command pushes operational burden the user already chose to offload. The schedule lives on the tap.
A Datris cron is Quartz: 6 fields — seconds minutes hours day-of-month month day-of-week, plus an optional year (0 0 * * * ? = hourly). The 5-field Unix cron every online cron reference shows (*/1 * * * *) is refused with HTTP 400 whose error quotes the 6-field equivalent — resend that exact expression, do not invent another one.
After setting the schedule, tell the user what you set — name the tap, give the cron expression, and translate it to plain English (e.g. "runs daily at 5:30am") — then offer to adjust the cadence or chain related taps.
VALIDATION RULE (read this before the first run of any new or updated tap):
Before calling run_tap AND before setting cron_expression on a tap whose script has not yet been validated, you MUST call test_tap. This applies to:
Any tap just created via
create_tap(whether AI-generated frominstructionor user-supplied viascript)Any tap whose script was just replaced (call
create_tapagain with the same name and a newscriptorinstruction— create_tap upserts by name) Iftest_tapfails, fix the script (callcreate_tapagain with a correctedinstructionor revisedscript) and re-test until it succeeds. ONLY THEN callrun_tapor setcron_expression. Setting a cron on an untested script ships a guaranteed-bad nightly run; the user delegated the schedule to Datris, not the validation to luck. The platform ENFORCES this: saving a tap with acron_expressionwhose current script (or HTTP endpoint) has not passedtest_tapis refused with HTTP 409 and anerrornaming the tap. Remedy, in order: save the tap withoutcron_expression(create_tapwith no cron), calltest_tapuntil it succeeds, thenupdate_tapwith thecron_expression. Changing the script under an existing cron is refused the same way until the new script is re-tested. To replace the script of a SCHEDULED tap, clear the cron viaupdate_tap(emptycron_expression) FIRST, thencreate_tapwith the new script,test_tap, thenupdate_tapwith the cron — re-callingcreate_tapwithout a cron does not help, because the STORED tap still has its cron. Existing taps that have run successfully do NOT need a freshtest_tapfor cadence-only changes (cron_expression,target_pipeline,enabledtoggle) — only when the script itself just changed.
KEEP-OR-READ-LIVE RULE (read this before choosing a destination):
Live Read (destination: {"scratch": {}}) hands the rows back without landing them: the run goes through data quality and transformation, and the rows come back to you instead of being written anywhere. If the user wants the data kept, observed, queried later, or refreshed on a schedule, use a real destination — exactly as today, offering the structured set the way the destination-offering rule below describes. If the user (or you, on your own initiative) wants an answer now, a validation result, or a transformed view and has no reason to keep the rows, create a Live Read pipeline (destination: {"scratch": {}}) instead: run it, poll get_pipeline_status until rollup.allDone is true, then read the rows straight off the rollup's resultPreview; call get_pipeline_result only when resultTruncated is true and you need the rest. NEVER create a table just to read rows back once. Live Read results are never catalogued or queryable later and expire after the retention window, so read them promptly. If the rows turn out to be worth keeping, promote the pipeline later with update_pipeline (change the destination from scratch to a real one) — the tap, its schedule, and its incremental cursor do not move.
EVIDENCE RULE (read this before summarizing what you did): NEVER narrate a create / update / delete / run operation as completed unless the corresponding tool call appears in THIS turn. The collapsed tool-call blocks in your message are the ONLY evidence that work actually happened — your prose must match them. Specifically:
If you intended to set up a pipeline + tap but only called
create_tap, do NOT write "pipeline and tap are live." Write what's true: "tap created; pipeline still needs to be created" and then callcreate_pipeline.If a tool call returned an error or unexpected response, do NOT paper it over with confident success language. Surface the actual response shape (error string, persistedReason, etc.) and decide the next step from that.
After multi-step setups (e.g., create tap → test → create pipeline → run), enumerate explicitly what completed and what didn't BEFORE summarizing. "Pipeline X: created ✓. Tap Y: created ✓, tested ✓ (7 records). Tap not yet run — say the word."
When in doubt — when you intended to do N steps and you can't enumerate the N tool calls in this turn — STOP and verify. Call
list_pipelines/list_taps/get_tapto ground yourself in actual platform state before claiming anything is done."Run it again" means CALL THE TOOL AGAIN. A repeated request ("run it again", "try once more", "re-test it") is a new operation: make the fresh
run_tap/test_tapcall and report THAT call's result. NEVER answer from the previous run's outcome — a run that returned 0 records five minutes ago says nothing about what a run NOW would return (sources refresh continuously; that's the entire premise of incremental taps). If the call wasn't made, the only honest report is "I didn't run it" — not a forecast dressed as a result.When the verification call FINDS the resource (the pipeline / tap / collection / table is present in the list response), it exists — full stop. Do NOT retract a previous-turn claim that it was created, do NOT apologize for confabulating, and do NOT re-create it. Skim the response for the name you're looking for; if it's there, treat it as real and move on to the user's current ask. The EVIDENCE RULE prevents fake claims of success — it does NOT require retracting true claims just because they happened in a previous turn. The user trusts your narrative as a proxy for the platform state. Confabulating "done" when only some of it is done corrupts that trust and creates failure modes (a cron set on a tap whose pipeline doesn't exist; a "run now" call against a pipeline that was never created). Be honest about what happened in THIS turn, even if it's less than the user asked for — they can redirect, but only if your report is true.
APPROVAL RULE (agent policy):
Some actions on this instance may be gated by the platform's agent policy. When a mutating tool returns status: pending_approval, the action was NOT performed — it is queued for a person to approve. Tell the user plainly that it is waiting for approval in Datris (Activity → Approvals), quote the approvalId, and either poll get_approval (with wait_seconds between polls) or offer to check back later. Never re-issue the action to "retry" it (you get the same id back), never describe it as done, and never ask the user for an API key or credential to get around the gate. status: 403 with errorKind: policy_denied means the action is refused for agents on this instance — report that and stop. Call get_agent_policy before a delete or destination-schema change if you want to know in advance whether it will queue.
DESTINATION OFFERING RULE (structured data):
The structured destinations available in this deployment are: postgres, mongodb, objectstore, snowflake, databricks, sqlserver. When the user wants to ingest structured/tabular data and has not named a destination, offer exactly this set — name every one of them in your question, with no silent defaults and no destinations outside this list. This list was resolved by the platform and baked into this text at session start — do NOT probe or re-check availability before offering, and do NOT drop an option just because you haven't seen it used yet. (If the user explicitly asks about a destination that is not in the list, you may still explain how it works and what configuring it requires.) Also name Live Read (the scratch destination) in the same question, with one line: it hands the rows back once and lands nothing; skip it when the user asked for a schedule.
A pipeline config has two required sections: source and destination. Keep configs simple: source + destination only.
NEVER rules:
NEVER respond to the first data-related ask of a conversation without first calling list_pipelines and list_taps (see FIRST-RESPONSE RULE above); if this conversation already contains those results, reuse them
NEVER respond to a recurrence/timely ask with shell commands, external cron, or off-platform schedulers — set a
cron_expressionon the tap (see SCHEDULING RULE above)NEVER call
run_tapor setcron_expressionon a tap whose current script hasn't been validated by a successfultest_tap(see VALIDATION RULE above)NEVER retry a 409 from
create_tap/update_tapwith the same cron — it means the script is untested; save without the cron,test_tap, thenupdate_tapwith the cronNEVER narrate a create/update/delete/run as completed without the corresponding tool call in THIS turn (see EVIDENCE RULE above). If you intended to do N things and only did some, say which and finish the rest.
NEVER ask the user for the platform's own database credentials so a tap script can read data already stored in Datris, and NEVER freeze a snapshot of platform data into a script because you believe the script can't reach it. Tap scripts reach platform data credential-free: every run auto-injects DATRIS_PLATFORM_HOST / DATRIS_PLATFORM_PORT / DATRIS_POSTGRES_DATABASE / DATRIS_MONGODB_DATABASE, and the script calls the platform's query API itself (see Tap workflow below).
NEVER use profile_data to determine how to generate a pipeline configuration
NEVER add dataQuality or transformation sections unless explicitly requested
If data quality is needed, use codegen_rule on create_pipeline (plain-English validation instruction)
If transformation is needed, use codegen_transform on create_pipeline (plain-English transformation instruction)
Required workflow:
Check existing pipelines and taps: call list_pipelines and list_taps. If a pipeline exists, data may already be in the destination — use metadata tools to discover and query it directly. If a tap exists, use run_tap or test_tap directly. Only create new pipelines or taps if needed.
Create a pipeline: call create_pipeline. When a tap will feed the pipeline (Option B below), build the tap FIRST and take the schema from the rows it actually produces: create_tap (no target_pipeline, no cron) → test_tap → propose_pipeline_schema → show the proposed column types as a table and ask the user to confirm or change them → create_pipeline with schema_fields (the confirmed [{name, type}] list; no sample content needed) → update_tap with target_pipeline. See Tap workflow below. MongoDB stores each record as a document as-is, so it has no column types: propose_pipeline_schema returns a preview only, and create_pipeline takes a few of the preview rows as a JSON sample (content_text, filename ending in .json) instead of schema_fields. For STRUCTURED destinations (postgres, mongodb, snowflake, databricks, sqlserver) and OBJECTSTORE (columnar files or Iceberg tables in MinIO or AWS S3) fed by data without a tap (a file in hand, rows the user pasted), the fallback is a TINY plain-text sample via content_text (header + 3-5 rows, NEVER a full dataset — it exists only for schema auto-detection, and every column lands as string) + filename — objectstore uses the same CSV-typed-schema path as postgres/mongodb. For VECTOR destinations (pgvector, qdrant, weaviate, milvus, chroma), pass ONLY pipeline name + destination — there is no schema, and base64'ing the document here just to satisfy the call is wasted tokens (the document goes through upload_data instead). For objectstore + provider=s3, bucket AND credentialsSecret are required — discover the secret via list_platform_secrets first. For snowflake, credentialsSecret AND warehouse AND database are required — same secret discovery via list_platform_secrets. For databricks, credentialsSecret AND database (Unity Catalog name) are required, plus warehouse (SQL warehouse ID) UNLESS the Databricks secret has a
warehousefield — same secret discovery via list_platform_secrets (get_platform_secret_fields shows the field names); when the secret has awarehousefield, omit warehouse and do NOT ask the human for it; before creating a Databricks pipeline,browse_unity_catalogshows what the secret can already see, andfind_datawithinclude_unity_catalogsearches warehouse tables too. For sqlserver, credentialsSecret AND database are required (schema defaults to dbo) — same secret discovery via list_platform_secrets; sqlserver also takes a JSON or XML sample, which lands as one document column; read a sqlserver load back with query_sqlserver (T-SQL SELECT/WITH; rows are capped with TOP, so do not add LIMIT). create_pipeline UPSERTS by name: if a pipeline with the same name already exists, the call REPLACES its config in place — the data already in the destination is NOT touched. To change a knob (keyFields, truncate, codegen_rule, etc.) on an existing pipeline, just call create_pipeline again with the same name and the new settings. You do NOT need to delete first. Common knobs: keyFields (list of column names that act as a natural key for dedupe/upsert on every run), truncate (wipe the destination before each run), codegen_rule (AI-powered data quality), codegen_transform (AI-powered transformation).Ingest data (choose one): Option A — Direct upload: call upload_data ONCE with the entire base64-encoded content and the pipeline name. Do NOT split the content into multiple uploads — vector destinations (pgvector, qdrant, weaviate, milvus, chroma) chunk server-side, and structured pipelines accept the whole file as one batch. Option B — Create a tap: use create_tap to provide an instruction (AI generates the script) or your own Python script that fetches data from an external source and pushes it into the pipeline automatically. See Tap workflow below.
Monitor: call get_job_status with the pipelineToken returned from upload_data and poll until
rollup.allDoneis true. You MUST wait for that before querying.If
rollup.statusiserrororwarning: readrollup.jobs[].lastErrorfor the failing process and description. Fix the issue (e.g., delete the pipeline, re-create with corrected parameters, re-upload).Query & search: use query_postgres, query_mongodb for structured data; query_objectstore for columnar files or Iceberg tables in MinIO or S3; query_snowflake for Snowflake destinations and query_databricks for Databricks destinations (both also cover metadata via SHOW/DESCRIBE); query_sqlserver for SQL Server destinations (metadata via INFORMATION_SCHEMA views); search_qdrant, search_pgvector, etc. for vector search
RAG: pass search results as context to ai_answer with the user's question
Tap workflow (for step 3 Option B):
Taps are Python scripts that fetch data from external sources and push it into pipelines. Use taps when data needs to be pulled from APIs, websites, databases, or other external sources on demand or on a schedule.
Two ways to create a tap:
- With instruction: provide a plain-English instruction and the platform's AI generates the script. This is slower (1-2 minutes) because the platform must generate and store the script.
- With your own script: write the Python fetch() function yourself and pass it as the script parameter. This is faster and gives you full control. The script must define a fetch() function that takes no arguments and returns a list of dictionaries — or, for a large source, yields them one at a time (a generator / iterator); the platform streams yielded records to disk, so a run is never limited by memory unless the script builds the whole result first.
Batches beat rows for a large columnar or tabular source: For a large columnar or tabular source, yield each batch (a pyarrow RecordBatch, a pandas DataFrame, or a list of dicts) instead of each row — the platform serialises a batch natively, several times faster — and read only the columns the pipeline needs (columns=[...]). Yielding one row at a time remains correct for small or API-paged sources.
Writing the script yourself is often quicker and more reliable — you control the logic directly instead of waiting for AI generation and hoping it gets the implementation right on the first try.
Reading platform data from inside a tap script: the script is NOT cut off from Datris. Every run (test, manual, cron) auto-injects DATRIS_PLATFORM_HOST, DATRIS_PLATFORM_PORT, DATRIS_POSTGRES_DATABASE, and DATRIS_MONGODB_DATABASE — read them with no fallback defaults. The script queries platform data through the platform's own API, which runs the query with the platform's own credentials: POST http://{host}:{port}/api/v1/query/postgres with {"sql": "SELECT ... FROM public.table_name", "database": <pg_db>, "limit": -1} → {results, count}, or POST /api/v1/query/mongodb with {"query": ..., "database": <mongo_db>, "collection": ..., "limit": -1}. Always pass "limit": -1 — omitting it applies a tiny preview default. Use this whenever a tap's fetch logic is driven by data a pipeline maintains (e.g. an id/key list read fresh on every run); the tap needs NO database credentials in its secret for this, ever — the platform authenticates the callback per run by itself (a run-scoped DATRIS_PLATFORM_TOKEN the wrapper attaches to requests/urllib calls aimed at DATRIS_PLATFORM_HOST), so never add an x-api-key to these calls or ask the user for one. This lane is PYTHON-ONLY: HTTP taps run outside the platform and cannot reach the callback — never recommend or convert a platform-data-reading tap to HTTP kind. Full contract in datris://tap-workflow-reference.
New tap + new pipeline — tap first, pipeline second, two checkpoints:
create_tap (no target_pipeline, no cron) → test_tap → propose_pipeline_schema → checkpoint 1: present its fields as a table (column, recommended type, evidence) and ask the user to confirm or change the types, or pull more rows (call it again with a higher limit) → checkpoint 2: ONE question offering data-quality checks (codegen_rule), transformations (codegen_transform) and field protection (suggest_field_protection, then protect) against the confirmed column names — "none" is a valid answer → if the user chose data quality or transformations, propose the checks (then the transformations) as a numbered list, one per line, each naming the confirmed column it covers, and ask the user to confirm, remove or edit them before create_pipeline and, in the same message, ask whether a failing row should warn only (logged, loading continues) or reject the run; pass the answer as codegen_rule_on_failure (warn or error); pass only the confirmed list as codegen_rule / codegen_transform, verbatim, character for character (keep text that looks like an annotation), nothing added; nothing is saved until create_pipeline runs → create_pipeline with schema_fields (+ codegen_rule / codegen_transform / protect as answered) → update_tap with target_pipeline → cron via update_tap if the user asked for a schedule → run-or-ask. Recommendations are conservative: a column stays string unless the preview clearly supports a type, and each field says why (stringReason or note). Vector destinations and mongodb return typeGrid: false — show the preview and skip the type question and, for a vector destination, skip checkpoint 2 as well: the platform chunks and embeds on load, so there are no checks, transformations or protection to offer; say so in one line and go straight to create_pipeline (name + destination only) → update_tap (for mongodb, create the pipeline with a JSON sample of the preview rows, never schema_fields). Do not add more checkpoints: destination, key fields and schedule stay in prose.
Create a tap: call create_tap with an instruction (AI generates the script) or with your own script. For a new pipeline, omit target_pipeline and cron here — the pipeline is created after the schema is confirmed.
Test (MANDATORY for new or updated scripts): call test_tap to validate the script without pushing data. A test previews the first 20 records and returns in seconds (pass
limitto change it, 0 for no cap), so a test'srecordCountis the preview size, not what a real run will produce — judge the script by "records came back with the right columns", never by the count. See the VALIDATION RULE — skipping this step means a scheduled cron could ship a guaranteed-bad nightly run, or a manualrun_tapcould push broken data into the destination. The platform refuses a save with acron_expressionon an untested script (HTTP 409): create without the cron, test_tap, then update_tap with the cron.If test fails: read the error, fix the script, and call create_tap again with a corrected script or updated instruction to regenerate. Repeat test until it succeeds. A test killed with exit code -9 (or 137, "killed") ran out of memory: the script built its whole result in memory. Rewrite fetch() to yield records one at a time (read the source in chunks / pages and yield each row) — do not cap the rows or split the source. Size a large source BEFORE building: disk ≈ 26 bytes × column count × rows against
PIPELINE_MAX_PAYLOAD_MB(the value in force ispipelineMaxPayloadMBfromget_version; default 4096 MB, 0 = unlimited), time ≈ rows ÷ 15,000 per second when fetch() emits one record at a time or rows ÷ 90,000 per second when it emits batches, againstTAP_RUN_TIMEOUT_SECONDS(tapRunTimeoutSecondsfromget_version; default 3600 s) — read both withget_versionbefore you size, show the user a rows, bytes/record, GB staged, minutes table and ask before creating anything; over either budget the choices are raise the variable, narrow the window, or chunk the range via run_tap params. Full rule in datris://tap-workflow-reference. A test failing with "No space left on device" downloaded the source to local disk: the runner's only writable area is a 512 MB in-memory scratch space shared with installed packages, so never save a file first. Rewrite fetch() to read the remote file directly and stream it (HTTP range reads via pyarrow + fsspec, pd.read_csv(url, chunksize=...), requests stream=True iter_lines()) and yield records as they arrive. A run that timed out returns the script's logs, its[wrapper] streamed N recordsprogress lines and a partial record count. Read them first: a script that reached the source and was still streaming records when the timeout hit is healthy and too long, not wrong — do not rewrite it; tell the user how far it got and offer a smaller window viaparamsor the operator's timeout setting. After two consecutive failed tests, STOP and report the exact error text to the user with what you tried; let the user decide the next step. Never probe the runner environment or read the wrapper to diagnose a failure — the error text, the logs and the script are the whole diagnosis; datris://tap-workflow-reference is the complete contract.Preview the schema and create the pipeline (new pipeline only): call propose_pipeline_schema(tap, destination), present the fields as a table and ask the user to confirm the types, ask the one DQ / transformation / protection question, then call create_pipeline with schema_fields and update_tap with target_pipeline (and cron_expression, if the user described a schedule). propose_pipeline_schema uses the rows from the tap's last successful test and runs the tap again only when none are held or a higher limit asks for more. Only a result whose
statusisschema_proposalis a proposal; anything else (a failed test, no rows, an error) means no schema and no table were shown to the user, so tell the user what failed in one or two plain sentences with the tool's stated next step, and do not ask the types question, do not callask_userabout types and do not mention a table. If propose_pipeline_schema reports the server is too old, fall back to content_text on create_pipeline.Run: call run_tap to execute and push data to the pipeline. After
run_tapreturns, READ the response'spersistedfield BEFORE doing anything else:persisted: true→ records were handed to the pipeline, but the load is async. You MUST callget_pipeline_status(publisher_token=response.publisherToken)and poll (re-call every few seconds) untilrollup.allDoneis true. Only THEN query the destination or report completion to the user. Reporting success before the poll finishes is a bug — the destination will appear empty. Readrollup.statusfor the outcome androllup.jobs[].lastErrorfor any failures.persisted: false→ records did NOT land in the destination. ReadpersistedReasonand tell the user exactly why:no_target_pipeline(call update_tap to set one, then re-run),test_mode(you ran it in test mode — or mcp-server/datris are out of sync; flag it and stop),run_error(show theerrorstring),no_records(source returned nothing). Note:run_tapdoes NOT return the records themselves (onlyrecordCount). If you need to preview what the script produces, usetest_tap.
Schedule: if the user described any recurrence (nightly, daily, every morning, market open, etc.), set
cron_expression— oncreate_tapif you're creating the tap now, or viaupdate_tapif the tap already exists. The platform runs the scheduler; once set, the tap fires automatically and shows up inget_tap_logsexactly like manual runs. NEVER substitute external schedulers (shell cron, Airflow DAGs invoking the CLI, "run this every night at 9pm" shell snippets) — see the SCHEDULING RULE.Verify ingestion outcome — the same check works for any run, manual or scheduled. The
publisherTokenis your handle on whether the data actually landed in the destination. After a manualrun_tapyou already have it in the response; for a scheduled (cron) run, callget_tap_logsand pick the relevant entry — every log entry that submitted records includes itspublisherToken. Either way, callget_pipeline_status(publisher_token=...)and poll untilrollup.allDoneis true; thenrollup.statustells you success/warning/error androllup.jobs[].lastErrortells you which file failed and why. The tap log only tells you the script ran; the publisher token is how you trace it through to whether the destination actually has the data. Preferget_tap_logsover holding the token in your own context across many turns — if the conversation is compressed or you reconnect, you can always re-derive the token from the log.Manage: call update_tap to enable/disable, change schedule, or retarget pipeline; call get_tap to view details and script
Long-form references — read on demand to verify your mental model:
datris://pipeline-config-reference— pipeline source/destination shapes, codegen rules, vector vs structured.datris://tap-workflow-reference— full tap workflow: creation, params, SCHEDULING RULE with CRON cookbook, run flow, error handling (persistedReasontable, payload disk budget guidance), document taps, outcome verification. Re-read this any time you're unsure about how taps work or what the platform expects.
Do NOT call check_service_health as part of the normal workflow — it is slow. Only use it for diagnostics if something fails. Do NOT call update_secret unless you need to configure AI provider keys and they are not already set.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_pipelinesA | List all registered pipeline configurations. Each pipeline defines a complete data processing flow: source format and schema, AI-powered data quality and transformations, and destination (database, message queue, or vector store). CALL THIS FIRST on any data-related user request — before suggesting external sources, before asking scope questions. The user almost always cares more about what's already in their Datris environment than about a generic options menu. |
| get_pipelineB | Get a specific pipeline configuration by name. Returns the full JSON config including source, dataQuality, transformation, preprocessor, and destination sections. |
| create_pipelineA | Create a pipeline. TAP-FED PIPELINES: when a tap will feed the pipeline, create and test the tap first, call propose_pipeline_schema, confirm the column types with the user, and pass the confirmed list as schema_fields — no sample content is needed and the destination gets typed columns on the first run (not mongodb: it stores documents as-is, so pass a few preview rows as JSON via content_text with a .json filename instead). FOUR destination categories: STRUCTURED (postgres, mongodb, snowflake, databricks, sqlserver) — send schema_fields (tap-fed; not mongodb) or a TINY sample (via content_text) and the schema is auto-detected; snowflake additionally REQUIRES credentialsSecret (a Platform secret with account/user/privateKey or password — discover via list_platform_secrets), warehouse, and database; databricks additionally REQUIRES credentialsSecret (a Platform secret with host plus clientId/clientSecret or token) and database (the Unity Catalog name), plus warehouse (the SQL warehouse ID) unless the Databricks secret has a |
| set_catalogA | Set or clear the catalog grouping label on an existing pipeline or tap. ONLY call this when the user has explicitly asked to organize work under a named catalog. Do NOT call it proactively — catalogs are a user-chosen organizational convention; assigning one for them puts the pipeline/tap into a taxonomy they didn't ask for. Pass exactly one of |
| rename_catalogA | Rename a catalog: every tap and pipeline labelled with |
| delete_catalogA | Delete a catalog by moving every tap and pipeline in it to Uncataloged and removing the catalog. No tap, pipeline or data is deleted. Call this ONLY when the user has explicitly asked to delete that catalog. Uncataloged itself cannot be deleted. Items that could not be moved come back under |
| export_catalogA | Back up a catalog: returns one zip archive of every tap and pipeline in it (definitions, each tap's script and incremental state, referenced validation schemas). Read-only. Secret values are never included; the manifest lists the secret names the catalog needs. Returns |
| catalog_enable_orderA | Read-only. The order to enable a catalog's taps in: taps grouped into levels, level 1 first (taps that read no other tap's tables), then the taps that read tables produced by level 1, and so on. A tap's dependencies are its declared |
| restore_catalogA | Restore a catalog archive produced by export_catalog as catalog |
| enable_catalog_orderedA | Start one server-side job that enables a catalog's taps in their enable order (see catalog_enable_order): level by level, each tap is tested if it has no passing test, enabled, given one real run, and the job waits until that run's data has landed before moving on. A tap whose source did not land data is skipped with the reason; every tap's outcome is reported. Call this ONLY when the user has asked to enable the catalog's taps. It returns at once with the job id and the plan; follow progress with catalog_enable_order (its |
| delete_pipelineA | Delete a pipeline. This is DESTRUCTIVE: by default it removes BOTH the pipeline configuration AND all data already written to the destination (MongoDB collection rows, Postgres table rows, vector-store entries). It also wipes document-tap ledgers and staged files for any tap that targets this pipeline, so a recreate gets a clean re-ingest. The platform deliberately does NOT support deleting just the config and orphaning the data — that creates ghost state. If you want to keep the config but wipe the destination data ("reset"), pass keep_config=true; the config survives, the data does not. ALWAYS confirm with the user before calling this tool. If this Datris instance's agent policy requires a person to approve this action, the call does NOT perform it: it returns status |
| upload_dataA | Upload data to a registered pipeline for processing. Send the ENTIRE file content as a single base64-encoded string in ONE call — do not pre-split or chunk the content client-side. Vector destinations (pgvector, qdrant, weaviate, milvus, chroma) apply recursive chunking server-side using the pipeline's configured chunkSize/chunkOverlap; for those, one upload_data call yields many embedded chunks automatically. The pipeline's rules are applied: schema validation, data quality checks, transformations, then routing to the configured destination. A Live Read ( |
| get_job_statusA | Get job status for an upload_data submission. Pass |
| kill_jobA | Kill a running pipeline job by its pipeline token. The job thread will be interrupted and the job marked as cancelled. If this Datris instance's agent policy requires a person to approve this action, the call does NOT perform it: it returns status |
| profile_dataA | Send data and use AI to generate a comprehensive data profile: summary statistics per column, data quality issues detected, and suggested validation rules. Use the suggested aiRule when building a pipeline's dataQuality section. The server may withhold row values from the model (DATRIS_AI_SAMPLE_VALUES=false): the profile is then built from column statistics or structure only, sampleValues are empty, and the result carries valuesWithheld: true. If the AI model declines the request (a provider safety decline), the result carries aiDeclined: true and holds the server's column statistics only, with empty qualityIssues and recommendations: read that as no AI review, not as a clean file. |
| get_dest_typesA | Propose real column types for a pipeline whose destination columns are all stored as text (the default for agent-created pipelines). Stateless: samples up to 1000 rows that already landed in the destination, infers types deterministically, and returns per-column evidence — a few sample values, plus (for columns kept as string by a dirty value) the offending value and the type it blocked. Only for postgres, snowflake, databricks, and sqlserver destinations (on sqlserver, |
| suggest_field_protectionA | Suggest per-field protection (hmac, mask with an optional preserve, redact, drop, or none, each with a one-line reason) for a pipeline's source fields, computed by the configured CodeGen model from field NAMES and TYPES ONLY: no row value is sent to the model. Stateless: nothing is saved or changed. Pass |
| apply_dest_typesA | Apply destination column types to an all-string pipeline. REQUIRES explicit user approval first. Landed data is migrated before the config changes (postgres retypes in place; sqlserver validates with TRY_CONVERT then retypes in place with ALTER COLUMN in one transaction, leaving |
| get_versionA | Get the Datris server version and the tap budgets in force on this install: |
| check_service_healthA | Check which backend services are up, down, or not configured. Returns the health status of PostgreSQL, MongoDB, MinIO, ActiveMQ, Kafka, and any configured vector databases (Qdrant, Weaviate, Milvus, Chroma, pgvector). Call this before attempting search or query operations to know which services are available. |
| run_doctorA | Run the platform's operational self-check and return a report: Vault token expiry, AI slot secrets complete, embedding model actually loaded, disk usage, the payload staging area (writable, room for one run, no orphaned run directories), component version skew, and (opt-in) whether each AI model answers. Each non-ok check carries a remediation command for the operator; nothing is changed. Do NOT call run_doctor as part of the normal workflow — it is slow. Only use it for diagnostics when something fails or the user asks about the deployment's health. Host-level checks (Docker volumes, container env drift) need |
| search_qdrantA | Semantic search across a Qdrant vector database collection. Takes a natural language query, generates an embedding, and returns the most similar document chunks with similarity scores. For RAG: pass the returned text to ai_answer with the user's question. |
| search_weaviateA | Semantic search across a Weaviate vector database class. Takes a natural language query, generates an embedding, and returns the most similar document chunks with similarity scores. For RAG: pass the returned text to ai_answer with the user's question. |
| search_milvusA | Semantic search across a Milvus vector database collection. Takes a natural language query, generates an embedding, and returns the most similar document chunks with similarity scores. For RAG: pass the returned text to ai_answer with the user's question. |
| search_pgvectorA | Semantic search across a PostgreSQL pgvector table using cosine distance. Takes a natural language query, generates an embedding, and returns the most similar document chunks with similarity scores. Use list_postgres_tables with vector_only=true to discover available pgvector tables. For RAG: pass the returned text to ai_answer. |
| search_chromaA | Semantic search across a Chroma vector database collection. Takes a natural language query, generates an embedding, and returns the most similar document chunks with similarity scores. For RAG: pass the returned text to ai_answer with the user's question. |
| query_postgresA | Execute a read-only SQL SELECT query against PostgreSQL. Use the metadata discovery tools (list_postgres_databases, list_postgres_schemas, list_postgres_tables, list_postgres_columns) first to explore available data before constructing queries. Only SELECT is allowed; LIMIT is auto-appended if missing. Queries are cancelled if they run too long, so avoid full-table scans. For approximate row counts — "how many rows / records does table X have", overviews, or summarizing several tables — do NOT run exact |
| query_objectstoreA | Read rows from a pipeline's objectStore destination (Parquet files, ORC files, or an Iceberg table in MinIO or AWS S3). Pass the pipeline name; the server resolves the bucket, prefix, format, and credentials from the pipeline config — same code path the writer uses, so MinIO and S3 destinations both work. Returns up to |
| query_snowflakeA | Run a read-only query against the Snowflake account a pipeline loads into. Pass the pipeline name; the server resolves the account, credentials, warehouse, and role from the pipeline's config — same connection the loader uses, credentials never leave the server. Only works for pipelines whose destination is Snowflake (database with useSnowflake=true). Allowed statements: SELECT (WITH/CTE), SHOW, and DESCRIBE — LIMIT is auto-appended to SELECTs. Omit |
| query_sqlserverA | Run a read-only query against the SQL Server or Azure SQL database a pipeline loads into. Pass the pipeline name; the server resolves the host, database, and credentials (any authMethod) from the pipeline's config — same connection the loader uses, credentials never leave the server. Only works for pipelines whose destination is SQL Server (database with useSqlServer=true). Allowed statements: SELECT and WITH (CTE) only, written in T-SQL. Rows are capped automatically: a statement with a top-level ORDER BY gets OFFSET 0 ROWS FETCH NEXT ROWS ONLY, any other is wrapped in SELECT TOP () — do not add LIMIT (not T-SQL). Omit |
| query_databricksA | Run a read-only query against the Databricks workspace a pipeline loads into. Pass the pipeline name; the server resolves the workspace, credentials, SQL warehouse, and catalog from the pipeline's config — same connection the loader uses, credentials never leave the server. Only works for pipelines whose destination is Databricks (database with useDatabricks=true). Allowed statements: SELECT (WITH/CTE), SHOW, and DESCRIBE — LIMIT is auto-appended to SELECTs. Omit |
| query_mongodbA | Query a MongoDB collection with optional filter and projection. Use list_mongodb_databases and list_mongodb_collections first to discover available data. Returns matching documents as JSON. |
| query_naturalA | Ask a question in natural language about data in a PostgreSQL table. The AI generates a SQL query from the question and table schema, executes it, and returns the results. Use this instead of writing SQL manually. |
| list_postgres_databasesA | List all PostgreSQL databases available in the Datris platform. Use this as the first step when exploring what data has been ingested into PostgreSQL destinations. |
| list_postgres_schemasA | List all schemas in a PostgreSQL database. Schemas organize tables within a database (e.g., 'public', 'analytics'). Use after list_postgres_databases to drill into a specific database. |
| list_postgres_tablesA | List all tables in a PostgreSQL schema. Set vector_only=true to show only pgvector embedding tables, or false (default) to show regular data tables. Use after list_postgres_schemas. |
| list_postgres_columnsA | List all columns and their data types for a specific PostgreSQL table. Use this to understand table structure before writing a query_postgres SQL query. |
| list_mongodb_databasesA | List all MongoDB databases available in the Datris platform. Use this as the first step when exploring what data has been ingested into MongoDB destinations. |
| list_mongodb_collectionsA | List MongoDB collections. If database is specified, lists collections in that database. If omitted, lists all collections across all databases in 'db.collection' format. |
| list_qdrant_collectionsA | List all collections in the Qdrant vector database. Use this to discover available collections before running search_qdrant. |
| list_weaviate_classesA | List all classes in the Weaviate vector database. Use this to discover available classes before running search_weaviate. |
| list_milvus_collectionsA | List all collections in the Milvus vector database. Use this to discover available collections before running search_milvus. |
| list_chroma_collectionsA | List all collections in the Chroma vector database. Use this to discover available collections before running search_chroma. |
| list_pgvector_collectionsA | List all pgvector tables (tables with an embedding column) in PostgreSQL. Use this to discover available collections before running search_pgvector. |
| ai_answerA | Ask the Datris AI to answer a question based on provided context. Ideal for RAG workflows: first retrieve relevant chunks using a search tool (search_qdrant, search_pgvector, etc.), then pass the retrieved text as context along with the user's question to get a synthesized answer. |
| upload_configA | Upload a configuration file to the Datris platform. Supports 'validation-schema' (JSON Schema files used in pipeline dataQuality schema validation). Send the file content as base64. If this Datris instance's agent policy requires a person to approve this action, the call does NOT perform it: it returns status |
| update_secretA | Update an AI provider secret in the Datris platform. Use this to configure your AI API keys so Datris can use AI features (data profiling, schema generation, AI transformations, RAG). Only AI-related secrets can be updated: anthropic, openai, azure, grok, ollama, embedding. If this Datris instance's agent policy requires a person to approve this action, the call does NOT perform it: it returns status |
| list_tap_secretsA | List the names of tap secrets that already exist (secrets tagged _type=tap — both agent-created and human-owned ones surfaced via the UI's Tap Secrets section). ALWAYS call this before create_tap_secret: if a suitable secret already exists, prefer reusing it by passing its name as secret_name to create_tap. Only ask the user to provide credentials when no existing secret covers the need. |
| get_tap_secret_fieldsA | Return the FIELD NAMES (keys only — never values) of an existing tap secret. Use this after list_tap_secrets to verify a candidate secret has the keys your tap script will need (e.g. API_KEY, USER_AGENT). Secret values are intentionally NOT returned and are never visible to the agent. |
| list_platform_secretsA | List the names of PLATFORM secrets (all secrets NOT tagged _type=tap — the Platform tab in the UI's Secrets section). These are human-owned credentials for destinations and infrastructure (e.g. S3 destination credentials, Postgres connection, MongoDB connection, embedding/vector-store endpoints). The agent can READ these (to look up their names and field shape via get_platform_secret_fields and reference them in pipeline configs) but cannot create, update, or delete them — those operations are the user's responsibility via the Secrets tab. Use this whenever a pipeline's destination needs a credentialsSecret reference (e.g. objectStore with provider=s3) and you need to discover which secrets the user already has. |
| get_platform_secret_fieldsA | Return the FIELD NAMES (keys only — never values) of an existing platform secret. Use this after list_platform_secrets to verify a candidate secret has the keys a destination config requires (e.g. an S3 credentialsSecret must contain accessKey, secretKey, region). Secret values are intentionally NOT returned. If the named secret is tap-tagged, this tool refuses — use get_tap_secret_fields for those. |
| create_tap_secretA | Create or update a secret for a tap to use. The secret's fields are injected as environment variables into the tap's Python script at runtime. Use this before create_tap when the tap needs credentials (API key, DB password, etc.). FIRST call list_tap_secrets to check whether a suitable secret already exists — if so, reuse it instead of creating a duplicate. By default, fails if a secret with this name already exists — pass overwrite=true to replace it (ask the user first). Agents can only overwrite secrets that were also created by an agent (tagged _type=tap); secrets owned by a human user must be updated via the UI. If this Datris instance's agent policy requires a person to approve this action, the call does NOT perform it: it returns status |
| delete_tap_secretA | Delete a tap secret. Only secrets created by an agent (tagged _type=tap) can be deleted via this tool; secrets owned by a human user must be removed from the Secrets tab. Use this to clean up after a tap is no longer needed. If this Datris instance's agent policy requires a person to approve this action, the call does NOT perform it: it returns status |
| create_tapA | Create a tap — a fetcher that pulls data from an external source and pushes it into a pipeline. Two kinds: a Python script the platform executes (default — provide a plain-English |
| list_tapsA | List all taps with their status, target pipeline, schedule, and last run info. CALL THIS FIRST (alongside list_pipelines) on any data-related user request — the user's existing taps often reveal what's already being pulled and where, which short-circuits the entire 'should I suggest an external API?' conversation. |
| run_tapA | Manually trigger a tap. Executes the script; when a target pipeline is configured, hands records to the pipeline async. The response carries PER-RUN PARAMS — pass a REQUIRED next steps based on the response:
• |
| get_pipeline_statusA | Read pipeline ingestion status. Use this after |
| get_pipeline_resultA | Read the rows a Live Read ( |
| delete_tapA | Delete a tap and its stored script. If this Datris instance's agent policy requires a person to approve this action, the call does NOT perform it: it returns status |
| get_tapA | Get a tap's static definition: configuration, schedule, target pipeline, and the generated Python script content. This is config-only — it returns the SAME data on every call and tells you NOTHING about run state. Do NOT call this to check whether a run is finished or to poll for completion — repeatedly calling get_tap after run_tap is a bug, the response will never change to reflect ingestion progress. For run status: call |
| get_tap_logsA | Get the run history for a tap. Returns the last 50 run log entries sorted by most recent first, including status, record count, duration, errors, logs, and |
| get_tap_ledgerA | For a document tap: return the ledger of discovered documents (URI, filename, status, hashes, first/last seen timestamps). The ledger is what tells the platform which documents have already been processed so re-runs skip unchanged files. Pass 'clear_uri' to delete one entry (forces that document to be re-processed on the next run) or 'clear_all=true' to wipe the entire ledger (forces a full re-scan). |
| get_tap_stateA | Get a tap's incremental-sync state — the bookmark/cursor its script saved after the last successful run (injected into the next run as the DATRIS_TAP_STATE env var). Returns |
| set_tap_stateA | Overwrite or reset a tap's incremental-sync state. Pass |
| test_tapA | Test-run a tap without pushing data to the pipeline. Executes the tap's script and returns results, record count, and any errors. Use this to validate a script before running it for real. By default a test pulls the first 20 records and returns; |
| propose_pipeline_schemaA | Preview a tested tap's rows and recommend a destination column type for each column, BEFORE the pipeline exists. Uses the rows from the tap's last successful test (nothing is pushed) and runs the tap again only when none are held or a higher |
| update_tapA | Update an existing tap's CONFIG without regenerating the script. Change the enabled state, CRON schedule, target pipeline, or description. USE THIS to set or adjust a tap's schedule ( |
| list_tap_versionsA | List the change HISTORY of a tap's definition, newest first. Each entry has |
| get_tap_versionA | View one historical snapshot of a tap's definition: the full config and the pinned Python script as they were at that version. Read-only; does not change the live tap. Get version numbers from |
| diff_tap_versionsA | Compare two versions of a tap's definition. Returns a server-computed field-by-field config diff and a line-level diff of the script. Read-only. |
| restore_tap_versionA | Roll a tap back (or forward) to a prior definition version. This is APPEND-ONLY and SIDE-EFFECTING: it reads snapshot |
| list_pipeline_versionsA | List the change HISTORY of a pipeline's definition, newest first. Each entry has |
| get_pipeline_versionA | View one historical snapshot of a pipeline's definition: the full config as it was at that version. Read-only; does not change the live pipeline. Get version numbers from |
| diff_pipeline_versionsA | Compare two versions of a pipeline's definition. Returns a server-computed field-by-field config diff. Read-only. |
| restore_pipeline_versionA | Roll a pipeline back (or forward) to a prior definition version. APPEND-ONLY and SIDE-EFFECTING: reads snapshot |
| list_script_versionsA | List the version HISTORY of the script the pipeline runs for its AI data-quality rule or AI transformation ( |
| get_script_versionA | View one version of a pipeline's AI data-quality rule or AI transformation script: the list fields plus the full |
| diff_script_versionsA | Compare two versions of a pipeline's AI data-quality rule or AI transformation script. Returns a server-computed line diff: |
| restore_script_versionA | Make an earlier version of a pipeline's AI data-quality rule or AI transformation script the one the pipeline runs. APPEND-ONLY and SIDE-EFFECTING: the restore writes the chosen text back as a NEW latest version (no model call); the pipeline's definition version does not change. If that text is already the live script, nothing is written and the response carries |
| wait_secondsA | Sleep for a fixed number of seconds, then return. Use this to pace polling against long-running platform work (most often |
| get_agent_policyA | Read this Datris instance's agent policy: for each action (e.g. tap:delete, pipeline:update:dest-types) whether an agent may do it on its own (auto), must wait for a person to approve it (approve), or is refused (deny). Call this before a delete, schema migration, or other consequential change to know whether it will run immediately or queue for approval, and tell the user accordingly. Returns {enabled, policy:{actions, overrides, limits}, actions:[all policy-able action keys], pendingCount}. When enabled is false, every action is auto. |
| list_pending_approvalsA | List the actions this agent queued for human approval under the agent policy, newest first. Each entry has id, action, resource, state (pending | approved | rejected | expired | executed | failed), createdAt, expiresAt and — once decided — decidedBy and the result. Use |
| get_approvalA | Poll one queued approval by the |
| list_incidentsA | List the platform's recovery-agent incidents, newest first. An incident is opened by the platform itself when a scheduled tap finally fails, a pipeline job errors, a tap goes stale, a pipeline's volume swings, or a source changed its columns after a successful run (schema drift); the recovery agent diagnoses it and — within the agent policy's recovery mode — repairs and verifies it (for taps, re-running or fixing the tap; for pipelines, regenerating the stored AI script; the evidence names the script versions before and after). Each entry carries kind, resource, state (open | diagnosing | proposed | awaiting_approval | executing | verifying | resolved | failed | abandoned), classification, a step-by-step narrative, and — when the platform computed evidence for it — a verdict (pending | pass | fail | needs-human). Use state=open for what is being worked right now. Returns {enabled:false, incidents:[]} when the recovery agent is off. |
| get_incidentA | Read one recovery-agent incident by id — its trigger, classification, proposal, step-by-step narrative, approvals it is waiting on, outcome, and its evidence (before/after profile, diff, blast radius, thresholds, verdict). A pipeline incident's repair is regenerating the stored AI script; the evidence names the script versions before and after (scriptVersions), and revertToScriptVersions is what a failed verification restores. The one-line evidence summary of this evidence (numbers and column names, never values) is also what the incident webhook sends (evidenceSummary). When the operator asks about a failure the platform is already working, explain THIS record instead of re-diagnosing from scratch. |
| get_incident_evidenceA | Read the deterministic evidence the platform computed for one recovery-agent incident: the baseline profile of the last successful run before it broke, the profile of the real run after the fix, the diff between them (columns added or removed, type changes, record-count delta, null-rate deltas, distribution shift), the blast radius (downstream pipelines, datasets and catalog tables, and which agent identities queried them when reads are audited), the thresholds in force, each threshold check, and the verdict (pending | pass | fail | needs-human). Computed by platform code, never by a model; values from protected or sensitive-looking columns are never included. Returns an error when the incident has no evidence. |
| find_dataA | Find datasets by meaning: ranks the pipelines your key can read against a natural-language query over their names, descriptions, tags, catalogs, destination field names, and source hosts. Each hit returns where the data lives, how fresh it is, provenance handles (latest run id, config version, script sha), lineage, and a |
| get_provenanceA | Resolve a stamped |
| get_lineageA | Traverse the lineage graph from one node: everything upstream (what feeds it) and/or downstream (what depends on it) of a source, tap, pipeline, dataset, or catalog, with the edges between them, freshness for the pipeline involved, and optionally the most recent recorded runs (what each run read and wrote, per destination). Datasets a pipeline used to land into under an earlier configuration are marked |
| browse_unity_catalogA | Browse what a Databricks Platform secret can already see in Unity Catalog, one level per call: no |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Pipeline Configuration Reference | Complete reference for building Datris pipeline configurations. Covers all source types (CSV, JSON, XML, PDF), AI-powered data quality (CodeGen), AI transformations (CodeGen), and all destination types (PostgreSQL, MongoDB, Kafka, vector databases). Read this before using create_pipeline. |
| Tap Workflow Reference | Canonical reference for everything tap-related: creation (instruction vs script), reading platform data from a tap script (auto-injected DATRIS_PLATFORM_* env vars + query API callback — no credentials needed), per-run params, incremental sync via persistent state (DATRIS_TAP_STATE bookmarks), scheduling (with CRON cookbook), run flow + polling, error handling (persistedReason table, payload disk budget guidance), document taps, and outcome verification via publisherToken + get_tap_logs. Re-read this any time you need to verify your understanding of how taps work — including the SCHEDULING RULE for recurring data needs. |
TDQS
Scored across 90 tools
Most tools target distinct resources or destinations, and descriptions are explicit. However, several families overlap in purpose: get_pipeline_status vs get_job_status vs get_pipeline_result, tap vs platform secret tools, and parallel version tools for taps, pipelines, and scripts. At 90 tools, an agent must do substantial description-reading to choose correctly.
The surface is overwhelmingly snake_case and verb_noun based, e.g. list_pipelines, create_tap, delete_catalog, query_postgres. Minor deviations like catalog_enable_order and get_dest_types are readable but slightly inconsistent with the dominant action-first pattern.
90 tools is far beyond a practical agent-facing surface, even for a broad data platform. Many related operations are split into separate tools where consolidation or grouping would materially reduce selection burden.
The set covers a wide lifecycle: pipelines, taps, catalogs, secrets, versioning, restores, destination queries, vector search, approvals, incidents, lineage, and health checks. Minor gaps remain, such as no explicit pipeline update tool and no obvious catalog listing tool, but most workflows can be completed through adjacent operations.