Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Get Unauthorized Datasources

get_unauthorized_datasources

Fetches data sources a given user lacks authorization to access by user ID, enabling permission audits and access-gap checks.

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_unauthorized_datasources"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idYes用户ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

D1.9/5.0
Behavior1/5

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

With no annotations supplied, the description carries the full burden of behavioral disclosure and provides none: it does not say whether this is a read-only query, whose authorization scope defines "unauthorized", whether it requires admin privileges, or whether results are paginated. The agent must guess at behavior entirely.

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?

At four characters, it is not verbose, but it is drastically under-specified rather than concise; there is no structure, no front-loaded purpose statement, and no sentence that actually earns its place by conveying information an agent could act on.

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 query tool whose semantics hinge on what "unauthorized" means in this system, the definition supplies none of the needed context: no explanation of the authorization model, no relation to the authorized/unauthorized k8s and project siblings, and no sense of the return shape. It is not callable with confidence from the description alone.

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% for the single required user_id parameter, so the schema already explains the only input and the description need not compensate. Baseline 3 applies because the description adds no meaning beyond it, but it also does not contradict or obscure the parameter.

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 is "未授权的数据源" (unauthorized datasources), which only restates the resource named in the tool title without adding a verb, scope, or distinguishing detail. It does not differentiate the tool from likely siblings such as get_authorized_datasources or list_datasources, so an agent learns nothing beyond the name.

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 guidance, no stated alternative, and no prerequisite or exclusion conditions. The nearby get_authorized_datasources sibling is an obvious complement, but nothing in the definition helps an agent choose between them.

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