Skip to main content
Glama

Kinde MCP by usefulapi

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. 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

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, so the safety profile is partly covered; the description adds the useful nuance that the grant is reversible and the exact backend endpoint. However, 'reversible' sits in tension with destructiveHint=true and is offered without explanation (no note on duplicate grants, idempotency, or required scopes), so the added behavioral context is thin rather than contradictory.

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?

Three short fragments, zero padding, with purpose leading and the endpoint mapping trailing. Minor deduction for the slight title/verb mismatch ('Give' vs 'Grant') and the terse 'Kinde:' prefix, which reads like an addressing artifact rather than prose.

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 three-parameter, no-output-schema mutation tool this is close to sufficient: purpose, reversibility, and endpoint are all present. What is missing is the failure/duplicate behavior and any permission prerequisites, which an agent would need before calling it in an edge case.

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 parameters carry descriptions, so the schema does the heavy lifting. The description restates the three inputs only through the endpoint template (org_code, user_id, permission_id) and adds no format, lookup, or constraint detail beyond that.

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 (give/grant) plus the exact resource pair (one user, one permission, one organization), and the REST endpoint mapping confirms the scope. It implicitly separates itself from kinde_grant_user_role_in_organization by naming 'permission' rather than 'role', but never names or contrasts that sibling explicitly.

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?

Usage is only implied: an agent can infer this is the write-side counterpart to kinde_get_user_permissions_in_organization, but the description never says when to grant a permission vs. a role, nor what prerequisites (scopes, role membership) must exist first. The word 'Reversible' hints at an undo path but does not name the revoke tool.

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.