Skip to main content
Glama

Kinde MCP by usefulapi

Grant a user a role in an organization

kinde_grant_user_role_in_organization
Destructive

Give one user a role within one organization. Reversible with kinde_revoke_user_role_in_organization. Kinde: POST /api/v1/organizations/{org_code}/users/{user_id}/roles.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
role_idYesThe role's id.
user_idYesThe user's id.
org_codeYesThe organization's code.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, so the bar is lower, and the description earns credit by disclosing reversibility and the underlying endpoint (POST .../roles). It still omits whether the call is idempotent if the role is already granted and whether org membership or permissions are required.

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?

Two tight sentences: the purpose and scope come first, the undo path second, the raw endpoint last. Nothing is redundant.

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?

With no output schema and annotations carrying the safety profile, the description covers what an agent needs to invoke it: purpose, singular scope, and rollback path. Minor gaps are the absence of prerequisite/org-membership conditions and collision behavior.

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% and all three required ids are documented in the schema, so the baseline is 3. The description adds no format, lookup, or validation detail for org_code/user_id/role_id beyond the schema.

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

Purpose5/5

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

States a specific verb ('Give') plus resource ('a role') plus explicit scope ('one user ... one organization'), which cleanly separates it from kinde_grant_user_permission_in_organization and from the bulk kinde_add_users_to_organization. An agent can pick this without opening any schema.

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

Usage Guidelines4/5

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

Names the exact inverse operation (kinde_revoke_user_role_in_organization), which tells the agent how to undo the call, and the singular scope signals when this is preferred over the plural add-users sibling. It stops short of explicit when-not-to-use or prerequisite conditions.

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.