Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Write Create Token

write_create_token

Creates a user security token with an expiration time, auto-generating the token string when omitted.

Instructions

createToken

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

Input Schema

NameRequiredDescriptionDefault
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 behavioral burden, and it discloses nothing: not whether the created token is returned, whether existing tokens are affected, what permissions are required, or what happens when expireTime passes. Two words convey zero behavioral context for what is clearly a security-sensitive write.

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?

It is short, but this is under-specification rather than conciseness; a single camelCase token is not a sentence and is not front-loaded with any actionable information. Length is not the problem – total absence of content is.

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 that mints a security token, with no annotations and no output schema, the description should at minimum state that a token is produced and returned and any auth prerequisites. None of that is present, so an agent cannot invoke it with confidence about the result.

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% – token (auto-generated if omitted), userId, and expireTime are all documented in the schema with Chinese descriptions – so the schema does the explanatory work and the description adds nothing. Baseline 3 for high coverage applies.

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?

"createToken" only restates the tool name write_create_token in camelCase; it supplies a verb and resource but no scope, no target system, and nothing that separates it from siblings such as write_generate_token or write_update_token. It is effectively a tautology rather than a purpose statement.

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 exclusion of alternatives, and no mention of the closely related siblings write_generate_token, write_update_token, or write_del_access_token_by_id. An agent has no basis for choosing this tool over those.

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