Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Get Authorized Datasources

get_authorized_datasources

Retrieves data sources authorized for a given user ID, enabling AI agents to enforce access controls and query only permitted resources.

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

Input Schema

NameRequiredDescriptionDefault
user_idYes用户ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure and does not meet it. It conveys only that results are scoped to authorization, saying nothing about return shape, whether the result is a list, pagination, permission requirements, or what an empty result means.

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?

The description is a single four-character noun phrase with no waste, but this is under-specification rather than conciseness. Nothing is front-loaded because nothing informative is present.

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?

The tool is simple (one integer parameter, no output schema, no nested objects), which lowers the bar, but the description still omits what the tool returns and how it behaves. An agent would have to guess at the return type and the meaning of the authorization scope.

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?

There is a single parameter (user_id) with 100% schema description coverage, so the schema already documents it and the baseline of 3 applies. The description adds no meaning about whose authorization is consulted or whether user_id may reference another user than the caller.

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?

The description "授权的数据源" (authorized datasources) simply restates the tool name and title rather than stating an action. It does not clarify whether the tool lists, checks, or returns datasource objects, nor does it distinguish itself from siblings such as get_unauthorized_datasources or list_datasources. Only the name supplies the verb.

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?

No when-to-use guidance, prerequisites, or alternatives are given. The word "authorized" hints at the scope (filtering to datasources a user may access), which faintly distinguishes it from get_unauthorized_datasources, but nothing tells an agent when to choose this over list_datasources or get_datasource_by_id.

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