Skip to main content
Glama

kinde

Grant a user a permission in an organization

kinde_grant_user_permission_in_organization
Destructive

Give one user a permission within one organization. Reversible. Kinde: POST /api/v1/organizations/{org_code}/users/{user_id}/permissions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
user_idYesThe user's id.
org_codeYesThe organization's code.
permission_idYesThe permission's id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations only declare destructiveHint=true, so the description's 'Reversible.' is genuinely additive context about the mutability profile, and the raw endpoint adds a little. However, it omits idempotency (what happens on a repeat grant), whether the permission must already exist in the organization, and authorization requirements for a mutating call.

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?

Three short front-loaded statements: action, reversibility, endpoint. Nothing redundant and no filler.

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?

For a simple 3-parameter mutation with no output schema, the description covers the action, the reversibility profile, and the underlying endpoint. The remaining gap is failure/precondition behavior (nonexistent permission, duplicate grant), which is real but modest.

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 the schema already documents user_id, org_code, and permission_id. The description adds no format, ID-source, or lookup detail beyond the schema's own one-line descriptions, so baseline 3 is correct.

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/grant), resource (permission), and both scoping dimensions (one user, one organization). This cleanly distinguishes it from sibling kinde_grant_user_role_in_organization and from the read-side kinde_get_user_permissions_in_organization without opening either schema.

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

Usage Guidelines2/5

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

No when-to-use guidance and no alternatives named, despite near-identical siblings (kinde_grant_user_role_in_organization, kinde_add_users_to_organization) that an agent could easily confuse it with. The only usage-adjacent content is the 'one user / one organization' scoping constraint.

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.