Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Create K8S Namespace

create_k8s_namespace

Creates a Kubernetes namespace in a specified cluster using a namespace name and cluster code, enabling isolated environments for DolphinScheduler 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": {
      "namespace": "<namespace>",
      "clusterCode": "<clusterCode>"
    },
    "name": "create_k8s_namespace"
  }
}

Input Schema

NameRequiredDescriptionDefault
namespaceYes命名空间
clusterCodeYes集群代码

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

D1.8/5.0
Behavior1/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 it discloses nothing. It says nothing about required permissions, whether the operation is idempotent, what happens if the namespace already exists, or what a success/failure result looks like.

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 text is short but this is under-specification rather than conciseness: a single four-character phrase carries no front-loaded information about behavior or usage. There is nothing extraneous, but almost nothing useful either.

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 mutation tool with zero annotations and no output schema, the description should at minimum cover side effects, preconditions, and post-creation steps. The complete input schema partially compensates for the parameter side, but the behavioral side is entirely absent.

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% with only two required parameters (namespace, clusterCode), so the schema already documents both fields. The description adds no format, constraint, or naming-rule detail beyond the schema, which is the expected baseline when the schema does the work.

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?

"创建命名空间" merely restates the tool name and title in another language; it adds no verb nuance, scope, or resource distinction. It does not differentiate this tool from close siblings such as create_k8s_namespace_verify or write_create_namespace.

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, when-not-to-use, or prerequisite guidance at all. An agent cannot tell from the description whether a namespace must be verified afterward with create_k8s_namespace_verify, or how this differs from write_create_namespace.

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