Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Create Access Tokens

create_access_tokens

Creates a secure access token for a specified user with a required expiration time; auto-generates the token unless one is supplied.

Instructions

为指定用户创建安全令牌

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": {
      "user_id": "<user_id>",
      "expire_time": "<expire_time>"
    },
    "name": "create_access_tokens"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenNo安全令牌字符串,若未显式指定将会自动生成
user_idYes用户ID
expire_timeYes安全令牌的过期时间

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description bears the full behavioral burden, yet it discloses only that a token is created. It says nothing about whether the token is returned in plaintext, whether a 409/duplicate can occur, whether this invalidates existing tokens, or what privileges the caller needs — all material for a security-sensitive mutation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short sentence with the action front-loaded and no filler. It is efficient but so sparse that the brevity reflects under-specification rather than disciplined editing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Placeholder correction: for a mutation tool with no annotations, no output schema and three parameters, the description omits the return value (the generated token), permission requirements, and the effect on existing tokens. Those gaps matter for a security-token creation endpoint, so the definition is not complete enough to invoke confidently.

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%, including an explicit note that the token string is auto-generated when omitted, so the schema already carries parameter meaning. The description adds nothing beyond restating the user_id target, which is the baseline expectation at high coverage.

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

Purpose4/5

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

The description names a specific verb+resource combination (创建安全令牌 / create security token) and a target scope (指定用户 / the specified user), so the action is unambiguous. It does not distinguish this tool from the sibling create_access_tokens_generate, which by name appears to overlap, leaving the agent to guess which creation path applies.

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 guidance on when to use this tool versus create_access_tokens_generate or update_access_tokens, and no preconditions such as required permissions or whether the user must already exist. The only implied context is that a user_id is needed, which the schema already supplies.

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