Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Write Update Udf Func

write_update_udf_func

Update an existing DolphinScheduler UDF function by ID with type, function name, class, and full name to modify reusable custom functions for workflows.

Instructions

updateUdfFunc

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": {
      "id": "<id>",
      "type": "<type>",
      "funcName": "<funcName>",
      "className": "<className>",
      "fullName": "<fullName>"
    },
    "name": "write_update_udf_func"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes路径参数 id
typeYesUDF类型
argTypesNo参数
databaseNo数据库名
fullNameYes
funcNameYes函数名称
classNameYes包名类名
descriptionNoudf描述,使用说明

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

D1.9/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 burden of behavioral disclosure and it discloses nothing. It does not say whether the operation is destructive, whether omitted fields are cleared or preserved, what permissions are needed, or whether the change is reversible — all critical for a mutation tool with 8 parameters.

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?

A single identifier is not conciseness but under-specification; there is no front-loaded verb-plus-resource sentence, no structure, and nothing for the agent to anchor on. Brevity here costs information rather than saving it.

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 with 8 parameters, 5 of them required, no annotations, and no output schema, the description is completely inadequate. An agent cannot tell what gets modified, what the required "type" and "fullName" values should be, or what a successful response looks like.

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 88%, so the input schema already documents most parameters (id, type, funcName, className, description), meaning the schema does the heavy lifting. The description adds no meaning beyond it, and the required "fullName" parameter has no schema description at all — baseline 3 applies given the high coverage.

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?

The description is the bare token "updateUdfFunc", which merely restates the tool name in camelCase. It implies an update of a UDF function but adds no resource scope, no statement of what part of the UDF is updated, and nothing to separate it from write_create_udf_func, write_delete_udf_func, or write_grant_udf_func.

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 prerequisites, and no mention of alternatives. The only signal is the "update" prefix in the name, which an agent must infer means modifying an existing UDF rather than creating or deleting one.

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