Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Write Connect Data Source

write_connect_data_source

Connects a DolphinScheduler data source by submitting its configuration as a JSON request body, enabling workflows and tasks to access that source.

Instructions

connectDataSource

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "body": "<body>"
    },
    "name": "write_connect_data_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes请求体 JSON 字符串

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

D1.7/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the full behavioral burden and discharges none of it. Nothing is said about side effects, whether an existing connection is overwritten, permission or auth requirements, idempotency, or error behavior for a write operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single token, so there is no wasted wording, but the problem is severe under-specification rather than conciseness. Nothing is front-loaded because there is nothing to front-load.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool taking an untyped JSON body, with no annotations and no output schema, the description supplies zero of the context an agent needs. The request body shape, effect of the call, and expected result are all undocumented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3 even with no parameter detail in the description. The one caveat is that the sole parameter is an opaque free-form JSON string ("请求体 JSON 字符串") whose structure is documented nowhere, so the agent still cannot construct a valid body.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"connectDataSource" is a verbatim restatement of the tool name/title in camelCase, so the description is tautological. It does convey a connect action on a data source, which keeps it above a total blank, but it adds no scope, no target detail, and no differentiation from siblings such as write_create_data_source or create_datasources_connect.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no exclusion of alternatives, and no prerequisites. With siblings like create_datasources_connect and write_create_data_source in the catalog, an agent has nothing to decide between them from this text.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools