Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Update Access Tokens

update_access_tokens

Updates a user's security access token, including expiry and optional token value, to manage API authentication credentials in DolphinScheduler.

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.5/5.0
Behavior2/5

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

Because no annotations are provided, the description carries the full burden of disclosure. "Update" implies a mutation, but the description does not say whether existing tokens are overwritten or invalidated, what happens if the token is omitted (the schema says auto-generation, which is important behavioral context the description omits), or what permissions or preconditions are required. It adds no behavioral context at all.

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

Conciseness3/5

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

The description is a single short sentence with no wasted words and is front-loaded. However, for a mutation tool with four parameters, it is under-specified rather than appropriately concise, so it earns only a middle score.

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 mutating tool with no annotations, no output schema, and no explanation of side effects or preconditions. Although the input schema is fully documented, the description leaves an agent without the context needed to call it safely: it does not say what a successful update changes, whether the old token is revoked, or what errors may occur.

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%, and all four parameters are documented in the schema, including that the token is auto-generated if not supplied. The description adds only the phrase "指定用户" (specified user), which merely restates the user_id parameter. Because the schema already does the work, the baseline of 3 is appropriate.

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

Purpose3/5

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

The description states a verb plus resource ("更新...安全令牌" / update security token) and adds the scope "指定用户" (specified user). However, it does not distinguish this tool from the many sibling names it shares (create_access_tokens, delete_access_tokens, write_update_token, get_access_tokens), so an agent cannot easily tell which one to choose. The purpose is stated, but too vaguely to be more than adequate.

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?

The description gives no guidance on when to use this tool, nor when not to use it. It never mentions alternatives such as create_access_tokens (for new tokens) or write_update_token (for other token updates), so an agent must infer the choice. The absence of any usage condition leaves a significant gap.

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