Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

List Datasource Table Columns

list_datasource_table_columns

Fetch column names for a database table using its datasource ID, database, and table name to inspect schema details before configuring or validating workflows.

Instructions

获取数据源表列名

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": {
      "datasource_id": "<datasource_id>",
      "table_name": "<table_name>",
      "database": "<database>"
    },
    "name": "list_datasource_table_columns"
  }
}

Input Schema

NameRequiredDescriptionDefault
databaseYesDATABASE
table_nameYes表名
datasource_idYes数据源ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.5/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 burden, and it discloses almost nothing: it does not state that this is a read-only operation, whether results are paginated or capped, what happens if the table is missing, or what authentication/connection requirements apply. Only the verb '获取' weakly implies a read.

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

Conciseness3/5

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

The single short phrase is front-loaded and free of padding, which is good, but it is under-specified rather than genuinely concise. There is no structure beyond a bare noun phrase, so it neither wastes words nor delivers a usable instruction.

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

Completeness2/5

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

With three required parameters, no annotations, and no output schema, the description is the only place behavioral and return-shape context could live, and it says nothing. An agent cannot tell from this text what the call returns (a column list? types?) or how it behaves on error, which is inadequate for a lookup tool of this shape.

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% and all three parameters (datasource_id, table_name, database) are documented in the schema itself. The description adds no extra meaning such as identifier formats, case sensitivity of table_name, or whether database is required to disambiguate, so the baseline 3 applies.

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

Purpose3/5

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

The Chinese phrase '获取数据源表列名' does convey a verb (get) and a resource (datasource table column names), so the basic purpose is inferable. However, it is essentially a direct restatement of the tool name 'list_datasource_table_columns' and adds no scope qualifier that would distinguish it from nearby siblings such as list_datasources_tables or list_datasources_databases.

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?

There is no when-to-use guidance, no statement of prerequisites (e.g. the datasource and table must already exist), and no pointer to an alternative tool. The agent must infer entirely from the name when this call is appropriate versus the sibling table/database listing tools.

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