Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Write Update Token

write_update_token

Update an existing security token's user, expiration time, or regenerate its value to control access in Apache DolphinScheduler.

Instructions

updateToken

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>",
      "userId": "<userId>",
      "expireTime": "<expireTime>"
    },
    "name": "write_update_token"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes路径参数 id
tokenNo安全令牌字符串,若未显式指定将会自动生成
userIdYes用户ID
expireTimeYes安全令牌的过期时间

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 provided, so the description carries the full burden, and it discloses nothing: not that this is a mutating operation, not whether it requires elevated auth, not that an unspecified token is auto-generated, and not what happens to an existing token's validity. The single word "updateToken" leaves every behavioral trait to inference.

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?

There is no wasted wording, but that is because there is essentially no wording at all — a single identifier token with no structure, no front-loaded scope, and no sentence to evaluate. This is under-specification rather than conciseness.

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?

This is a mutation tool with four parameters, three of them required, zero annotation coverage, and no output schema. For that complexity level the description supplies none of the needed context about effect, permissions, or idempotency, leaving the definition materially incomplete.

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 all four parameters (id, token, userId, expireTime) are already documented in the schema, including the auto-generation default for token. The description adds no meaning on top of that, which is the baseline expectation when the schema does the heavy lifting.

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?

"updateToken" is a camelCase restatement of the tool name and title, adding no verb-plus-resource detail beyond what the identifier already conveys. It does not distinguish this from siblings like write_create_token, write_generate_token, or update_access_tokens, nor does it say what an "update token" operation actually changes.

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?

The description gives no when-to-use guidance, no conditions, and no mention of the many sibling token and update tools that could be chosen instead. An agent has no basis for selecting this tool over write_create_token or write_generate_token from the definition alone.

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