createRole

创建角色 信息包含:角色名称、描述、权限信息

Server MCP Mingdao mingdaocloud/mcp-mingdao
Category Write
Risk class Medium
Parameters 00 required

What createRole does on MCP Mingdao

AI agents use createRole to create or update resources in MCP Mingdao — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your MCP Mingdao environment.

Why createRole needs a policy

This tool creates new roles with permission assignments, which is a reversible write operation that modifies system configuration. While it has administrative implications (permissions grant access), it is not destructive (roles can be deleted or modified), not financial, and not code execution. The blast radius is medium because misconfigured roles could grant unintended access, but the action itself is reversible.

From the tool's definition Tool name 'createRole' and description '创建角色 信息包含:角色名称、描述、权限信息' (Create role with information including: role name, description, permission information) indicates the tool creates new role records with associated permissions.

Questions about createRole

What does the createRole tool do? +

创建角色 信息包含:角色名称、描述、权限信息. It is categorised as a Write tool in the MCP Mingdao MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

How do I enforce a policy on createRole? +

Register the MCP Mingdao MCP server in PolicyLayer and add a rule for createRole: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches MCP Mingdao. Nothing to install.

What risk level is createRole? +

createRole is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit createRole? +

Yes. Add a rate_limit block to the createRole rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block createRole completely? +

Set action: deny in the PolicyLayer policy for createRole. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides createRole? +

createRole is provided by the MCP Mingdao MCP server (mingdaocloud/mcp-mingdao). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.