Skip to main content
Glama

role_assignments_list

List role assignments in Google Workspace. Optionally filter by user to see which roles they hold.

Instructions

List role assignments, optionally for a specific user.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userKeyNoFilter to assignments for this user id/email
Behavior3/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It correctly implies a read-only operation via 'List' and adds the optional-user-filter behavior. However, it does not mention pagination, sorting, or any access requirements, which are typical behavioral traits for list tools. This is a minimal but acceptable disclosure.

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, tightly worded sentence that immediately states the action and the key optional behavior. No filler or redundant information, ideal for quick scanning by an agent.

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 simple one-parameter list tool with no output schema, the description adequately covers the purpose and optional filter. It might have benefited from a note on how it differs from related list tools like 'roles_list', but given the low complexity, it is otherwise complete.

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 input schema covers 100% of the parameter documentation, providing a clear description for 'userKey'. The description's 'optionally for a specific user' reinforces the optional nature already indicated by the zero required parameters, but it does not add significant new meaning beyond the schema. Baseline 3 is appropriate.

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 a specific verb 'List' with the resource 'role assignments' clearly indicating the tool's purpose. It distinguishes from siblings like 'roles_list' (which lists roles themselves) and 'users_list' (which lists users), making the scope unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'optionally for a specific user' provides clear context on when to use the optional filter, effectively communicating that this tool can list all role assignments or those for a specific user. However, it does not explicitly name alternatives or exclude other tools, so it stops short of a 5.

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/antct11/gws-admin-mcp'

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