Skip to main content
Glama

list_roles

List roles defined for your account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
owner_keyNoOptional. If omitted, defaults to the owner_key resolved from the connection's `Authorization: Bearer <owner_key>` header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden for behavioral disclosure. Beyond the word 'List' implying a read operation, it discloses no details about pagination, ordering, response shape, or any access requirements.

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 front-loaded sentence with no filler. It efficiently conveys the essential purpose without redundancy.

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 low-complexity list tool with one fully documented optional parameter, the description and schema together are largely sufficient. Minor gaps remain because no output shape or behavioral expectations are mentioned, but these are minor given the tool's simplicity.

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?

The single optional parameter owner_key is fully documented in the schema with its defaulting behavior and relationship to the Authorization header. Since schema description coverage is 100%, the description itself adds no additional parameter meaning, matching the baseline.

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 uses the specific verb 'List' with the resource 'roles' and scopes it to 'defined for your account,' which clearly identifies the tool's purpose. This distinguishes it from sibling tools like create_role, update_role, and delete_role, and from list_access_keys or list_profiles.

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?

The description states what the tool does but gives no explicit guidance on when to use it versus alternatives like list_access_keys or list_profiles. There are no when-to-use criteria, exclusions, or comparisons provided.

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.

Resources