Skip to main content
Glama

kinde

Create a role

kinde_create_role
Destructive

Create a role that can then be granted to users. Kinde: POST /api/v1/roles.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesThe role's key, used in tokens.
nameYesThe role's display name.
descriptionNoWhat the role is for.
is_default_roleNoGrant this role to new users automatically.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior2/5

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

The description adds nothing beyond the name and the raw HTTP endpoint ('POST /api/v1/roles'). It does not mention uniqueness constraints on 'key', permissions required to create a role, whether re-creating an existing role errors, or what happens to existing users. The annotation only carries destructiveHint, so behavioral gaps remain.

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

Conciseness4/5

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

Two short sentences with the action front-loaded; every clause is readable at a glance. The trailing 'Kinde: POST /api/v1/roles' is mildly redundant but cheap and provides endpoint context.

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

Completeness3/5

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

With 100% schema coverage and no output schema, the description needs only to convey purpose and any behavioral caveats. Purpose is covered, but for a mutation tool with a destructive annotation and no return-value docs, the absence of any note on side effects or required scopes leaves it merely adequate.

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% – all four parameters (key, name, description, is_default_role) are documented in the schema itself, so baseline 3 applies. The description adds no param-level meaning beyond the schema, e.g. no note that 'key' must be unique or immutable.

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?

States a specific verb and resource ('Create a role') and clarifies the lifecycle purpose ('can then be granted to users'), which separates it from read/list siblings. It does not explicitly distinguish itself from kinde_create_permission or kinde_create_organization, so it lands at clear-but-undifferentiated.

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 phrase 'that can then be granted to users' implies the role's downstream use, but there is no guidance on when to create a role versus a permission, nor any prerequisites or preconditions. Usage is only implied.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.