Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Get Authorized Users

get_authorized_users

Retrieve users authorized for a specified DolphinScheduler project by providing its project code, enabling access verification and authorized-account identification.

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": {
      "project_code": "<project_code>"
    },
    "name": "get_authorized_users"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_codeYes项目Code

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden, yet it discloses almost nothing beyond the fact that it reads something. It does not say whether results include inherited/group-derived authorization, whether the caller needs admin rights, whether results are paginated, or how many users are returned. Only the implicit read-only nature of '查询' is conveyed.

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?

A single front-loaded clause with no filler or redundancy. It is efficient, though the brevity is a symptom of under-specification rather than disciplined compression, which is penalized in the other dimensions.

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?

For a tool with no annotations and no output schema, the description should at least indicate what a returned 'user' looks like (IDs, names, roles) and whether authorization is direct or inherited. Given the tool is simple (one required integer parameter), the gaps are narrow but real, leaving the agent unable to predict the response shape.

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 coverage is 100% and the single parameter project_code is already described as '项目Code', so the schema does the heavy lifting. The description confirms the parameter scopes the query to one project's authorized users, which is a marginal addition over the schema and consistent with the baseline 3 for high-coverage schemas.

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 gives a clear verb+resource in '查询...用户' (query users) scoped by project authorization, which distinguishes it in substance from siblings like get_authorized_datasources or get_authorized_k8s_namespaces that cover different resources. It stops short of explicitly naming those siblings as alternatives, so differentiation is implied by the resource noun rather than stated.

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 when-to-use or when-not-to-use guidance, and no mention of the closely related siblings (query_authorized_project, get_created_and_authorized_projects, get_projects_with_authorized_level) that an agent would need to disambiguate against. The agent must infer usage purely from the resource noun in the name.

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