Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Write Create Namespace

write_create_namespace

Creates a Kubernetes namespace in a specified cluster within DolphinScheduler, letting AI agents provision isolated namespaces for workflow execution and resource separation.

Instructions

createK8sNamespace

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": "write_create_namespace"
  }
}

Input Schema

NameRequiredDescriptionDefault
namespaceYes命名空间
clusterCodeYes集群代码

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?

With no annotations, the description carries the full burden of behavioral disclosure, yet it says nothing about side effects, whether it fails on an existing namespace, idempotency, or required permissions. For a write tool this is a complete absence of behavioral context rather than a partial one.

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 token is short but that brevity reflects under-specification rather than economy; there is no structure, no verb-object phrasing, and nothing front-loaded beyond a restated identifier.

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?

Tool complexity is low (two required scalar parameters) and the schema is fully documented, but for a mutation tool with zero annotations and no output schema, the description should at minimum convey side effects and failure modes. It conveys neither.

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 namespace and clusterCode are documented in the schema itself, which sets the baseline at 3. The description adds no additional meaning beyond those field labels, so it cannot rise above that baseline.

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?

"createK8sNamespace" is a camelCase restatement of the tool name and title, offering no elaboration of what creating a namespace entails. It does not distinguish this tool from the closely named sibling create_k8s_namespace or create_k8s_namespace_verify.

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 when-to-use guidance, no prerequisites, and no routing to alternatives such as create_k8s_namespace or create_k8s_namespace_verify. The agent must infer selection entirely from the tool name.

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