get_roles
Retrieve all user roles to identify permissions and access levels. Use this data to assign roles or configure user rights effectively.
Instructions
List available user roles
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Retrieve all user roles to identify permissions and access levels. Use this data to assign roles or configure user rights effectively.
List available user roles
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Changes observed during successful MCP inspections.
v1.0.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden of behavioral disclosure. The verb 'List' conveys a read-only operation, but the description does not clarify auth requirements, ordering, whether the result depends on the current user, or any other runtime behavior. It is adequate for a trivial read tool 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.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is four words with no filler, fully front-loaded, and every word contributes to meaning.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a zero-parameter list operation, the description is mostly sufficient. However, there is no output schema and no annotations, so 'available' is ambiguous—it could mean all roles in the system or roles visible to the caller—and the response shape is not described.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool has zero parameters, so the empty input schema leaves nothing undocumented. The description's phrase 'user roles' adds a bit of domain context, and the zero-parameter baseline of 4 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a clear verb and resource: 'List' + 'available user roles'. It is distinguishable from sibling tools like get_users and get_priorities by naming the 'roles' resource, though it does not explicitly contrast itself with those alternatives.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is given on when to use this tool versus related tools such as get_priorities or get_statuses, and there is no mention of whether 'available' depends on the caller's permissions. The intended context is only implied by the tool name and terse description.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.