Skip to main content
Glama

Make a role

colliedesk_role_create

Make a role: a name unique in the workspace, an optional description, and its permissions (resource:action, each one you hold yourself). Start from another role with start_from (its permissions are copied, then permissions are added). Give it to people with colliedesk_member_roles_set; delete it with colliedesk_role_delete while nobody holds it.

Needs: team:manage_roles, team:read.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
start_fromNoName or id of a role whose permissions to copy.
descriptionNo
permissionsNoPermissions of the role, on top of those of start_from.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / description
      Added value: +"Same shape as colliedesk_role_reset's output."
    • removedOutput schema / properties
      Removed value: -{
      -  "role": {
      -    "properties": {
      -      "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"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "name",
      -      "description",
      -      "system",
      -      "permissions",
      -      "editable",
      -      "deletable",
      -      "assignable",
      -      "members",
      -      "invites",
      -      "tokens"
      -    ],
      -    "type": "object"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "role"
      -]
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false), the description discloses non-obvious behavior: names must be unique in the workspace, copied permissions from start_from are additive rather than replaced, each permission must be one the caller already holds (a privilege-escalation guard), and the required scopes team:manage_roles and team:read. That is materially more than the structured fields convey.

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 the core purpose and packed into three dense sentences with no filler. The permissions/start_from sentence compresses several rules at once, which is efficient but slightly harder to parse on first read.

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 create tool with an output schema present, the description covers everything an agent needs: required auth scopes, uniqueness constraint, permission subset rule, start_from copy semantics, and the follow-up lifecycle (assign, then delete when unheld). Return values are rightly left to the output schema.

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

Parameters5/5

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

With only 50% schema description coverage, the description compensates well: it explains that name must be workspace-unique, description is optional, permissions use resource:action form and must be a subset of the caller's own permissions, and start_from copies then adds rather than replaces. These are behavioral constraints the schema cannot express, especially the subset rule.

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?

States a specific verb and resource ("Make a role") and enumerates what a role consists of: unique name, optional description, permissions. It also distinguishes itself from the siblings an agent might confuse it with, naming colliedesk_member_roles_set for assignment and colliedesk_role_delete for removal.

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?

Gives a clear workflow: create the role, then grant it with colliedesk_member_roles_set, and delete with colliedesk_role_delete only while nobody holds it. That is strong when-to-use context for the downstream steps, though it says nothing explicit about choosing between creating fresh versus starting from an existing role beyond the mechanical note about start_from.

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