Skip to main content
Glama
DolphinScheduler MCP Server

DolphinScheduler MCP Server

by melody3240

Write Grant Namespace

write_grant_namespace

Grant a user access to one or more DolphinScheduler namespaces by providing the user ID and namespace IDs. Use it to assign namespace permissions in access-control workflows.

Instructions

grantNamespace

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": {
      "userId": "<userId>",
      "namespaceIds": "<namespaceIds>"
    },
    "name": "write_grant_namespace"
  }
}

Input Schema

NameRequiredDescriptionDefault
userIdYes用户ID
namespaceIdsYesNAMESPACE_IDS

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

D1.4/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 disclosure burden, and it discloses nothing. It does not say the operation mutates permissions, whether it is idempotent, what happens on duplicate grants, whether it requires admin rights, or what a success response contains.

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?

Brevity here is under-specification rather than conciseness: a lone camelCase token is not a sentence, has no front-loaded statement of intent, and conveys no information an agent could act on beyond the name already shown.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a write/mutation tool with no annotations, no output schema, and no explanatory prose. For a permission-granting operation that is one of at least five sibling grant tools, the definition leaves everything an agent needs in order to call it safely unstated.

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% for the two required parameters, so the baseline of 3 applies even though the description adds nothing. The schema's own text is thin ("NAMESPACE_IDS" merely restates the key), so the description could have clarified ID format or multi-value handling but does not.

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

Purpose1/5

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

The description is the single token "grantNamespace", which is just the tool name in camelCase. It does not state a verb+resource intent in prose, nor does it distinguish this tool from siblings such as write_grant_project or write_grant_data_source, which appear to follow the same per-resource grant pattern.

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, no mention of prerequisites such as the namespace existing, and no routing to or away from the many sibling grant tools. An agent has to guess this is the namespace-scoped counterpart of write_grant_project.

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