Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Write Grant Udf Func

write_grant_udf_func

Grants UDF function permissions to a specified user by user ID and comma-separated UDF IDs, supporting access control for DolphinScheduler UDF resources.

Instructions

grantUDFFunc

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": {
      "userId": "<userId>",
      "udfIds": "<udfIds>"
    },
    "name": "write_grant_udf_func"
  }
}

Input Schema

NameRequiredDescriptionDefault
udfIdsYesudf函数id列表(字符串格式,多个udf函数ID以","分割)
userIdYes用户ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

D1.5/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 grant replaces or adds to existing permissions, whether it requires admin privileges, whether it is reversible, or what happens on an invalid udfId.

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 short but not concise in any useful sense: it is an identifier, not a sentence, and there is no front-loaded explanation of action, scope, or effect. This is under-specification, not concision.

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?

This is a two-parameter write tool with no annotations and no output schema, so the description is the only place to explain preconditions and effects, and it explains neither. The fully documented schema is the sole reason this is not a 1.

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 both userId and udfIds are documented in the schema, including the comma-separated format for the ID list. The description adds no meaning beyond that, so the baseline of 3 applies.

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

Purpose1/5

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

The description is the string "grantUDFFunc", which only restates the tool name in camelCase. It gives no verb-plus-resource explanation of what granting a UDF function actually does, and it does nothing to distinguish this tool from siblings such as write_grant_project or write_grant_namespace.

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 guidance on when to use this tool, when not to, or what alternatives exist. An agent must guess that this grants some permission on a UDF function to a user, and must guess the relationship to write_create_udf_func, write_update_udf_func, and write_delete_udf_func.

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