Skip to main content
Glama

kinde

List a role's permissions

kinde_list_role_permissions
Read-only

List the permissions attached to one role. Kinde: GET /api/v1/roles/{role_id}/permissions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
role_idYesThe role's id.
page_sizeNoPage size, 1-100.
next_tokenNoCursor from the previous page's next_token. Omit for the first page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read, so the description's main addition is the API endpoint mapping (GET /api/v1/roles/{role_id}/permissions). It does not describe pagination behavior despite page_size/next_token params, nor return shape. Adequate given annotation coverage, but not rich.

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 short sentences with zero filler, purpose front-loaded before the endpoint reference. Every element earns its place.

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 read-only list tool with full schema coverage and no output schema, the description supplies enough to invoke correctly. The only missing piece is explicit pagination/return guidance, which the params largely cover.

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 role_id, page_size, and next_token are already documented in the schema (including the 1-100 bound and cursor semantics). The description adds nothing beyond the schema, so the baseline 3 is correct.

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 (list) and resource (permissions) and narrows scope to 'one role', which implicitly distinguishes it from kinde_list_permissions (all permissions) and kinde_list_roles. It is clear, though it never names the sibling endpoints an agent might confuse it with.

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, no exclusions, and no mention of the closely related kinde_list_permissions or kinde_get_user_permissions_in_organization alternatives. The agent must infer from the name alone which listing scope applies.

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.