Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Create Projects Project Preference

create_projects_project_preference

Updates the state of a DolphinScheduler project preference using the project code, so agents can change preference settings through the REST API.

Instructions

update the state of the 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>",
      "state": "<state>"
    },
    "name": "create_projects_project_preference"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateYesthe state of the project preference
project_codeYes项目Code

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.1/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. It only signals that this mutates some "state"; it says nothing about valid state values, whether it creates or overwrites, permissions required, idempotency, or the response. The name/description mismatch (create vs update) further muddies the behavioral picture.

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?

It is a single short sentence with no wasted words, but its brevity comes from omission rather than precision. The content is under-specified for a mutation tool, so conciseness does not translate into usefulness here.

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 two-required-parameter mutation tool with no annotations and no output schema, the description should explain what changes, what state values mean, and when to prefer the sibling update/create variants. None of that is present, leaving the agent to guess.

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%, so both parameters (state, project_code) are already documented in the schema, and the description adds no syntax, allowed values, or format detail beyond restating "state of the project preference". Baseline 3 applies when the schema does the heavy lifting.

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 says "update the state of the project preference", but the tool name is create_projects_project_preference and a sibling is literally named update_projects_project_preference. That create-vs-update tension is never resolved, and "project preference" / "state" are never defined, so an agent cannot tell what this tool actually does relative to its near-identical sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance at all: no prerequisites, no conditions, no mention of update_projects_project_preference, write_enable_project_preference, or write_update_project_preference as alternatives. Given several siblings covering project preferences, the absence of routing guidance is a serious 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