Skip to main content
Glama
takleb3rry

Zitadel MCP

zitadel_create_project_role

Idempotent

Create a new role in a Zitadel project to define access permissions for users and applications. Specify role keys like 'admin' or 'app:finance' to control project-level authorization.

Instructions

Create a new role in a Zitadel project. Use key format "app:{slug}" for app-specific access roles.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdNoThe project ID (uses default project if omitted)
roleKeyYesRole key (e.g., "admin", "app:finance", "app:timesheets")
displayNameYesHuman-readable role name
groupNoOptional role group for organization
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations indicate this is a non-read-only, idempotent, non-destructive operation. The description adds value by specifying the key format for app-specific roles, which is behavioral context not covered by annotations. It doesn't contradict annotations, as 'create' aligns with readOnlyHint=false, but could provide more on permissions or response behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core purpose and includes a specific usage tip. There's no wasted text, and it's appropriately sized for the tool's complexity, making it easy to parse quickly.

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

Completeness4/5

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

Given the annotations cover safety and idempotency, and the schema fully describes parameters, the description is reasonably complete. However, without an output schema, it could benefit from hinting at the return value (e.g., the created role object), though the concise nature still supports effective use.

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 parameters are well-documented in the schema. The description adds minimal semantics by mentioning the key format for 'roleKey,' but doesn't elaborate on other parameters like 'projectId' or 'group.' This meets the baseline for high schema coverage without significant added value.

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

Purpose4/5

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

The description clearly states the action ('Create a new role') and resource ('in a Zitadel project'), making the purpose immediately understandable. However, it doesn't explicitly differentiate this tool from its sibling 'zitadel_list_project_roles' or other creation tools like 'zitadel_create_project', leaving room for improvement in sibling distinction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides some usage guidance by specifying 'Use key format "app:{slug}" for app-specific access roles,' which implies when to use this format. However, it lacks explicit guidance on when to use this tool versus alternatives like 'zitadel_list_project_roles' for viewing roles or other creation tools, and doesn't mention prerequisites or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/takleb3rry/zitadel-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server