Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Get K8S Namespace

get_k8s_namespace

Fetches a paginated list of Kubernetes namespaces for DolphinScheduler, optionally filtered by a search value, to help agents inspect available namespaces.

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": {
      "pageSize": "<pageSize>",
      "pageNo": "<pageNo>"
    },
    "name": "get_k8s_namespace"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoYes页码号
pageSizeYes页大小
searchValNo搜索值

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/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, yet it only hints at a paged list. It does not disclose whether results are authorization-filtered, whether it is a pure read, how pagination beyond the schema parameters behaves, or anything about the response.

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?

At seven characters it is certainly short, but this is under-specification rather than concision. There is no front-loaded scope statement or routing information that would let an agent act on it confidently.

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 three parameters, two required, no annotations, and no output schema, the description should explain the read-only paged nature and how it relates to the many sibling namespace-list tools. It supplies none of that, leaving the definition inadequate for correct tool selection.

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% (pageNo, pageSize, searchVal all documented in Chinese), so the schema does the heavy lifting and baseline 3 applies. The description adds no additional meaning about paging defaults, search semantics, or what searchVal matches against.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"查询命名空间列表页面" names a verb (query) and a resource (namespace list), so the basic operation is inferable. However, it gives no scope or filter qualifiers and does not distinguish this tool from sibling readers such as get_authorized_k8s_namespaces, get_available_k8s_namespaces, or get_unauthorized_k8s_namespaces, leaving the agent unable to tell which list it actually returns.

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 mention of prerequisites or permissions, and no reference to any alternative tool. The agent must guess whether this is the paged all-namespace listing versus an authorization-scoped variant.

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