Skip to main content
Glama
KDunin

Logto MCP Server

by KDunin

list_roles

Retrieve Logto API roles with filters for type or search, and control pagination.

Instructions

List Logto API resource roles with optional filters and pagination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
typeNoFilter by role type
searchNoSearch query
page_sizeNo
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavioral traits. It only says 'List', which implies a read operation, but lacks details about idempotency, rate limits, ordering, or response format. Important behavioral context for a listing operation is missing.

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?

The description is a single, clear sentence with no wasted words. Every word adds value: it specifies the resource, the action, and the capability (filters and pagination).

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?

Given the tool has 4 parameters and no output schema, the description is relatively concise but leaves out important details like how pagination works (e.g., use of 'page' and 'page_size') and whether the response includes total count. It is adequate for a simple listing but incomplete for nuanced usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds only 'optional filters and pagination', which vaguely hints at the parameters. With 50% schema coverage (two of four parameters lack descriptions), the description does not compensate by explaining the 'page' and 'page_size' parameters. The 'search' and 'type' parameters have schema descriptions, but the overall semantic value from the description is minimal.

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?

The description explicitly states the action ('List') and the resource ('Logto API resource roles'), clearly distinguishing it from sibling tools like 'get_role' (single role) and 'list_user_roles' (user-specific roles). It's specific and immediately understandable.

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 description mentions 'optional filters and pagination', giving a sense of usage context. However, it does not provide explicit guidance on when to use this tool versus alternatives (e.g., 'get_role' for a single role) or any constraints on filter usage.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/KDunin/logto-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server