Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Get Data Quality Datasource Options

get_data_quality_datasource_options

Retrieve data quality table and field options for a specified datasource ID, enabling AI agents to configure valid data quality rules.

Instructions

按数据源ID查询数据质量可用的表/字段选项

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": {
      "datasourceId": "<datasourceId>"
    },
    "name": "get_data_quality_datasource_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
datasourceIdYes数据源ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. The verb '查询' implies a read-only operation, but the description says nothing about permissions, whether an invalid datasourceId errors or returns empty, whether results are paginated, or how tables and fields are returned.

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

Conciseness4/5

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

One short sentence with the resource and scope front-loaded and no filler. It is efficient, but its terseness leaves no room for the context an agent would need.

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

Completeness3/5

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

Low-complexity tool: one integer param, no nested objects, no output schema. The description conveys the general shape of what comes back (table/field options) but does not describe the return structure, so an agent cannot anticipate the response format.

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?

Single required parameter with 100% schema description coverage, so the schema already defines datasourceId as an integer. The description only restates that the lookup is keyed by datasource ID and adds no format or source hints beyond the schema.

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

Purpose4/5

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

States a concrete verb+resource: query the table/field options that data quality can use, keyed by datasource ID. It is distinguishable from generic datasource readers in the sibling list (e.g. list_datasource_table_columns), though the description doesn't explicitly say how it differs from them.

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

Usage Guidelines2/5

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

No explicit when-to-use or when-not-to-use guidance, and no alternatives named. Usage is only implied by the phrase '数据质量可用的' (available for data quality), which hints at rule-configuration workflows but never says so.

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