Skip to main content
Glama

List roles

colliedesk_roles_list
Read-only

List the workspace's roles, Admin and Agent first, then by name: each with its permissions, who holds it, the agent tokens that follow it, and whether you may change, delete or give it. With deleted true, only the deleted roles, to restore one with colliedesk_role_restore.

Needs: team:read.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "colliedesk_roles_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
deletedNo

Output Schema

NameRequiredDescriptionDefault
rolesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / properties / roles / items / description
      Added value: +"Same shape as `role` in colliedesk_role_reset's output."
    • removedOutput schema / properties / roles / items / properties
      Removed value: -{
      -  "assignable": {
      -    "description": "You may give it to someone.",
      -    "type": "boolean"
      -  },
      -  "deletable": {
      -    "type": "boolean"
      -  },
      -  "deleted_at": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "description": {
      -    "type": "string"
      -  },
      -  "editable": {
      -    "description": "You may change it: not Admin, and you hold every permission it has.",
      -    "type": "boolean"
      -  },
      -  "id": {
      -    "type": "string"
      -  },
      -  "invites": {
      -    "description": "Pending invites that would give it.",
      -    "type": "integer"
      -  },
      -  "members": {
      -    "description": "Names of the team members who hold it (deactivated ones end with (deactivated)).",
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "name": {
      -    "type": "string"
      -  },
      -  "permissions": {
      -    "description": "resource:action; Admin lists every permission.",
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "system": {
      -    "description": "admin or agent for the two built-in roles; null for one the workspace made.",
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "tokens": {
      -    "description": "Live agent tokens that follow it, as label (owner).",
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "updated_at": {
      -    "type": "string"
      -  },
      -  "updated_by": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / roles / items / required
      Removed value: -[
      -  "id",
      -  "name",
      -  "description",
      -  "system",
      -  "permissions",
      -  "editable",
      -  "deletable",
      -  "assignable",
      -  "members",
      -  "invites",
      -  "tokens"
      -]
  2. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real context beyond that - the required scope (team:read) and the fact that each role carries permission flags indicating whether the caller may change, delete or assign it - but says nothing about pagination, result size, or what happens on permission failure. This is a good but not rich addition over the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose and ordering, then the deleted-mode caveat, then the permission requirement as a separate short line. Dense but every sentence carries information; no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read-only list tool with an output schema and full annotations, the description covers the required scope, the optional mode, the ordering, and the follow-up tool for restore. Nothing an agent needs to call it correctly is missing.

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

Parameters4/5

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

Schema description coverage is 0%, so the description carries the burden for the single `deleted` parameter, and it does: deleted=true returns only deleted roles and pairs with colliedesk_role_restore. The default (false) and the resulting active-only behavior are implied rather than stated, keeping it just short of full.

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?

Names the specific verb and resource (list the workspace's roles) and adds distinctive detail: the ordering (Admin and Agent first, then by name) and the enriched payload (permissions, holders, agent tokens, per-role edit/delete/assign rights). That is enough to distinguish it from the other list-style siblings without opening any schema.

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?

Explicitly explains the mode switch: 'With deleted true, only the deleted roles', and routes the follow-up action to colliedesk_role_restore. It doesn't spell out when-not to use this versus another roles/members tool, but the deleted-flag guidance and the named restore path give solid directional context.

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