Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Write Delete Environment

write_delete_environment

Delete a DolphinScheduler environment by its environment code to remove obsolete environment configurations and keep scheduling resources accurate.

Instructions

deleteEnvironmentByCode

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": {
      "environmentCode": "<environmentCode>"
    },
    "name": "write_delete_environment"
  }
}

Input Schema

NameRequiredDescriptionDefault
environmentCodeYes环境代码

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2/5.0
Behavior1/5

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

No annotations are supplied, so the description bears full behavioral burden, yet it discloses nothing beyond the name. It does not state that deletion is irreversible, whether dependent resources are cascaded or orphaned, what permissions are required, or what happens if the environment code does not exist.

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 single-string description is technically brief but is under-specification rather than conciseness; it reads as a raw internal method name with no front-loaded explanation of purpose or consequences.

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 has a simple one-parameter schema, but it is a destructive write operation with no annotations and no output schema, so the description should at minimum cover irreversibility and failure behavior. It provides none of that, leaving the agent without enough information to call it confidently.

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?

With one required parameter at 100% schema coverage, the schema already documents environmentCode (as '环境代码'/'environment code'). The description contributes no additional meaning about format, lookup behavior, or error conditions, so the baseline of 3 applies.

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 the camelCase method name "deleteEnvironmentByCode", which only restates the tool name rather than explaining what deleting an environment by code means or how it differs from siblings like write_delete_project or write_delete_cluster. It does convey a verb (delete) and a resource (environment), but adds nothing an agent could not infer from the name alone.

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 guidance on when to use this instead of alternatives such as write_update_environment, write_verify_environment, or check_environment_settings, and no preconditions stated. The only hint is the 'byCode' fragment, which is far from explicit routing guidance.

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