Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Get Project Preference

get_project_preference

Fetches the preference configuration for a specified DolphinScheduler project code, enabling AI agents to inspect project-level settings before performing operations.

Instructions

query project preference

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

Input Schema

NameRequiredDescriptionDefault
project_codeYes项目Code

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 provided, so the description carries the full burden, yet it discloses almost nothing beyond an implied read. It does not say whether a missing preference errors or returns empty, what fields the preference contains, or whether permissions are required.

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 three-word phrase is short but under-specified rather than concise; there is no structure, no front-loaded scope, and no information that earns its place. Brevity here comes at the cost of usability.

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?

With no annotations and no output schema, the description must explain behavior and results, and it does neither. An agent cannot tell what a 'project preference' record contains or how this differs from the numerous sibling get_/query_ tools.

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 parameter (project_code, '项目Code'), so the schema already documents it. The description adds no meaning about format, valid ranges, or lookup behavior, making the baseline 3 appropriate.

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?

"query project preference" restates the tool name and title almost verbatim, adding no specificity about what a 'preference' is or what is being retrieved. It does imply a read operation, but against siblings named create_/update_/write_ it never clarifies the distinguishing scope.

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 exclusions, and no mention of alternatives such as get_project_by_code or get_project_parameter. The agent must infer from the name alone that this is the read counterpart to the create/update preference tools.

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