Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Write Delete Udf Func

write_delete_udf_func

Deletes a UDF function by ID in DolphinScheduler, enabling cleanup of unused or obsolete user-defined functions.

Instructions

deleteUdfFunc

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>"
    },
    "name": "write_delete_udf_func"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes路径参数 id

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 delivers none of it: it does not state that the operation is destructive or irreversible, whether delete is idempotent, what happens to dependent grants or references, or what error conditions exist. A one-word restatement is inadequate for a mutation tool with zero annotation coverage.

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?

The single token is technically concise but is under-specification rather than economy; there is no front-loaded statement of purpose, scope, or effect. Nothing is wasted because nothing substantive is present.

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 destructive deletion tool with no annotations and no output schema, an agent needs to know the target object type, irreversibility, and failure modes. None of that is present, so the definition is not sufficient to call the tool correctly beyond guessing from its name.

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% for the single required parameter (id), so the baseline of 3 applies even though the description adds no parameter meaning. The schema's own gloss ("路径参数 id") is thin, but the description still contributes nothing about identifier format or scope.

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?

"deleteUdfFunc" merely restates the tool name in camelCase; there is no verb-plus-resource explanation of what a UDF function is or what deleting it entails. An agent can infer a destructive UDF operation from the name alone, but the description itself contributes nothing beyond that label and does not differentiate this from sibling deletions such as write_delete_resource or write_update_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 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 mention of prerequisites such as ownership or permissions, and no reference to alternatives like write_update_udf_func or write_grant_udf_func. The agent receives zero routing information from the description.

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